Skip to main content
MalwarePublished

@atedone/workspace-context (npm) · Malicious Code

Affects @atedone/workspace-contextSource GCVE Database

0

Malicious package : remove @atedone/workspace-context and rotate any secrets on hosts that installed it.

Data as of 3 Nov 2026, 07:30 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-18517

What to do

Remove @atedone/workspace-context from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npm@atedone/workspace-contextAffected
  • 0.0.12 – 0.0.25
14 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package @atedone/workspace-context contains malicious code that executes upon import. It writes shell integration files to the user's home configuration directory and spawns a detached interactive zsh shell with a persistent hook that executes a script on every prompt. The package fetches remote content over unencrypted HTTP from a hardcoded IP address, injecting attacker-controlled data into the user's shell prompt, enabling remote code execution via prompt expansion. The code uses obfuscation techniques to hide its use of child process spawning and network fetching APIs. This behavior is unrelated to the package's stated purpose and represents a severe security risk.

References

Community reviews

Loading reviews…