JavaScript AST analysis. This package has been created to export the NodeSecure AST Analysis to enable better code evolution and allow better access to developers and researchers.
The goal is to quickly identify dangerous code and patterns for developers and Security researchers. Interpreting the results of this tool will still require you to have a set of security notions.
The objective of the project is to successfully detect all potentially suspicious JavaScript codes.. The target is obviously codes that are added or injected for malicious purposes..
Most of the time these hackers will try to hide the behaviour of their codes as much as possible to avoid being spotted or easily understood… The work of the library is to understand and analyze these patterns that will allow us to detect malicious code..
This package is available in the Node Package Repository and can be easily installed with npm or yarn.
$ npm i @nodesecure/js-x-ray
# or
$ yarn add @nodesecure/js-x-ray
Create a local .js
file with the following content:
try {
require("http");
}
catch (err) {
// do nothing
}
const lib = "crypto";
require(lib);
require("util");
require(Buffer.from("6673", "hex").toString());
For more information click here.
AgentTesla is a sophisticated and persistent malware that has been a significant cybersecurity threat since…
The ability to execute commands silently using cmd.exe while redirecting both standard output (STDOUT) and…
The Process Inject Kit is a specialized toolkit designed to enhance and customize process injection…
OneScan is an innovative Burp Suite plugin designed to enhance vulnerability detection in deeply nested…
Commander is a command and control framework (C2) written in Python, Flask and SQLite. It comes…
zizmor is a static analysis tool for GitHub Actions. It can find many common security…