Malicious code in @funny-booth/agent-core (npm)
The npm package @funny-booth/agent-core contains heavily obfuscated code that enables remote arbitrary code execution. It fetches commands from a hardcoded external portal and executes them with the installer's privileges. The package also auto-updates silently and injects decrypted local secrets into child processes running attacker-controlled packages. Additionally, it provides a prompt-injection channel into a local Claude agent session. This behavior is consistent with intentional malicious backdoors.
AI Analysis
Technical Summary
The @funny-booth/agent-core npm package includes obfuscated runtime files that expose a malicious control point (MCP) server. This server fetches JSON data from a hardcoded portal (prompt-injection-tool-portal.vercel.app) and executes the 'install_command' field directly via child_process.exec(), allowing arbitrary shell command execution with the installer's privileges. The launcher component fetches additional MCP entries from the same portal and runs attacker-named npm packages with injected decrypted vault secrets in the environment, enabling secret exfiltration and further compromise. It also silently self-updates by globally installing the latest package version on every run. Furthermore, it spawns a local Claude CLI with portal-supplied prompts, creating a prompt-injection vector into the user's Claude agent session. The obfuscation and hardcoded endpoints indicate deliberate concealment of these remote execution and secret exfiltration channels.
Potential Impact
An attacker controlling the portal can execute arbitrary shell commands on any system installing or running this package, with the privileges of the user running the installer or launcher. They can also execute arbitrary npm packages with access to decrypted local secrets, potentially leading to full system compromise and secret leakage. The silent auto-update mechanism allows the attacker to push new malicious code at any time. The prompt-injection channel into the Claude agent may allow manipulation of local AI interactions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should immediately stop using the @funny-booth/agent-core package and remove it from their environments. Avoid running or installing this package, and audit systems for any presence of it. Monitor for any unexpected network connections to the hardcoded portal and suspicious npm package executions. Consider rebuilding affected environments after removal to ensure no persistent backdoors remain.
Malicious code in @funny-booth/agent-core (npm)
Description
The npm package @funny-booth/agent-core contains heavily obfuscated code that enables remote arbitrary code execution. It fetches commands from a hardcoded external portal and executes them with the installer's privileges. The package also auto-updates silently and injects decrypted local secrets into child processes running attacker-controlled packages. Additionally, it provides a prompt-injection channel into a local Claude agent session. This behavior is consistent with intentional malicious backdoors.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The @funny-booth/agent-core npm package includes obfuscated runtime files that expose a malicious control point (MCP) server. This server fetches JSON data from a hardcoded portal (prompt-injection-tool-portal.vercel.app) and executes the 'install_command' field directly via child_process.exec(), allowing arbitrary shell command execution with the installer's privileges. The launcher component fetches additional MCP entries from the same portal and runs attacker-named npm packages with injected decrypted vault secrets in the environment, enabling secret exfiltration and further compromise. It also silently self-updates by globally installing the latest package version on every run. Furthermore, it spawns a local Claude CLI with portal-supplied prompts, creating a prompt-injection vector into the user's Claude agent session. The obfuscation and hardcoded endpoints indicate deliberate concealment of these remote execution and secret exfiltration channels.
Potential Impact
An attacker controlling the portal can execute arbitrary shell commands on any system installing or running this package, with the privileges of the user running the installer or launcher. They can also execute arbitrary npm packages with access to decrypted local secrets, potentially leading to full system compromise and secret leakage. The silent auto-update mechanism allows the attacker to push new malicious code at any time. The prompt-injection channel into the Claude agent may allow manipulation of local AI interactions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should immediately stop using the @funny-booth/agent-core package and remove it from their environments. Avoid running or installing this package, and audit systems for any presence of it. Monitor for any unexpected network connections to the hardcoded portal and suspicious npm package executions. Consider rebuilding affected environments after removal to ensure no persistent backdoors remain.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10711
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7ff5f6bf8831d53988005a
Added to database: 08/15/2026, 05:15:34 UTC
Last enriched: 08/15/2026, 05:42:46 UTC
Last updated: 08/15/2026, 07:52:42 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.