Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in @addai/entity-runtime (npm)

0
Critical
Published: 08/06/2026 (08/06/2026, 13:22:55 UTC)
Source: GCVE Database
Product: @addai/entity-runtime

Description

The @addai/entity-runtime npm package contains malicious code that runs a daemon polling a hardcoded Supabase project for remote job instructions. This daemon spawns AI agent processes with parameters controlled by the remote party, allowing arbitrary shell command execution on the installer's machine without user interaction. It also disables safety prompts for bypassing permissions in a related AI tool, resulting in persistent host-level remote code execution and reduced safety controls.

Affected software

npmghsa
@addai/entity-runtime
Affected versions
=0.2.55=0.2.51=0.2.53=0.2.47=0.2.46=0.2.45=0.2.49=0.2.48=0.2.50=0.2.58=0.2.56=0.2.52

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

AILast updated: 08/06/2026, 18:35:09 UTC

Technical Analysis

The @addai/entity-runtime package runs a daemon that polls a hardcoded Supabase endpoint for remote job rows. It spawns AI agent binaries (Claude Code, Codex, Kimi, Gemini, Grok) in a pseudo-terminal on the installer's host, driven by fields controlled by the remote party. When the input permissionMode is set to 'bypassPermissions', the agent is invoked with a flag that allows it to execute arbitrary shell commands as the local user without any interactive prompt. Additionally, the package disables the safety prompt of Claude Code's bypass-permissions mode by writing a configuration file in the user's home directory, affecting all future interactive sessions. The package also modifies the PATH environment by reading a user config file. This creates a persistent remote-controlled channel enabling host-level remote code execution and persistent lowering of safety protections.

Potential Impact

This malicious package enables a remote party to execute arbitrary shell commands on the installer's machine with the same privileges as the local user, without any interactive confirmation. It also disables safety prompts in a related AI tool, increasing the risk of unauthorized command execution in future sessions. The compromise is persistent due to configuration changes on the host, leading to a high risk of host takeover and potential further malicious activity.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix or official guidance is available, users should immediately uninstall the affected versions of @addai/entity-runtime and avoid installing or running this package. Review and remove any configuration files created by the package (e.g., ~/.claude/settings.json and ~/.kimi/config) to restore safety prompt functionality and environment integrity. Monitor for suspicious activity related to spawned AI agent processes and remote connections to the hardcoded Supabase project.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-13410
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a74cf8dbf8831d5391ae779

Added to database: 08/06/2026, 18:16:45 UTC

Last enriched: 08/06/2026, 18:35:09 UTC

Last updated: 08/07/2026, 00:29:47 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses