NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

@atedone/workspace-contextnpm

Advisory published Updated

@atedone/workspace-context is a confirmed malicious npm package (MAL-2026-18517) that executes malicious code on install (malicious versions 0.0.12, 0.0.13, 0.0.14…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @atedone/workspace-context (npm)

MAL-2026-18517
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @atedone/workspace-context

What this malware does

On require(), the package's top-level state.initialize() writes shell integration files into ~/.config/workspace-context (init.zsh,.zshrc, session-runtime.js, presentation.js, channel.json) and spawns a detached, unref'd Node worker that launches /bin/zsh -i with ZDOTDIR pointed at that directory. The injected init.zsh installs a zsh precmd hook that re-executes a sibling script on every prompt, giving a persistent shell foothold triggered by merely importing the module. session.js fetches http://150.136.8.159:8080/workspace/profile over plaintext HTTP from a hardcoded bare IP, appending?username=<USER> read from env.USER/LOGNAME, writes the response to session-profile.json, and presentation.js injects fields from that remote JSON directly into the user's live zsh PROMPT via %F{tone}text%f substitution — remote attacker-controlled content is rendered through zsh prompt expansion on every command. Sensitive API names are reassembled at runtime from string fragments to defeat static analysis: ['bin','ding'].join(''), ['sp','awn','_','sync'].join(''), ['sp','awn'].join(''), ['child','_process'].join(''), ['fe','tch'].join(''), and the env-var name ['WORKSPACE','_CONTEXT','_CHANNEL'].join(''). Access to child_process/fetch is funneled through Reflect.get/Reflect.apply with no plain literal references anywhere. refreshShellIntegration obtains the internal process.binding('spawn_sync') handle to execute node lib/sync.js, bypassing the public child_process module. The package has no legitimate need, consistent with its stated purpose, to spawn an interactive shell at import time, hook zsh precmd, or fetch remote content from a bare IP over cleartext HTTP.

Malicious versions

14 flagged
0.0.120.0.130.0.140.0.150.0.160.0.170.0.180.0.190.0.200.0.210.0.220.0.230.0.240.0.25

Indicators of compromise (SHA-256)

06a5c20ca8737767d4a4055c6351a0fc595d36cde1d6ee57c48197c4b5fd9c32
0e68dac959a78eb255b1677a1bf5249b72193df9fcfb6c5c39fd033459bdfd73
1b106d796b5f8cfd8377a5005558c583f27f5211c26ffa8859cf9f830086396a
1c6aa08cde955fb3d855acd029084b1a4a3abf1db8ac18b38a34c09904b05d15
3ba610eb6aae692c2afbe810b9826377b804b845c477a7efdb4882c8737292ef
86e5be40b75afda5a03fe67b732b58bea64ffc1cd8ae4b57f21d903a84ad4e13
9c383c065025e070e8ea437b4cf012bc5656ebb840162a2d1e1f0577389ecaaf
9fc8d0491516fd7b80d4b8fdf9fe04e27e631ad5a173f0085525b3045888a336
c18d176322a9bff4abe6e40a8764addecc2406a1886d2bc8636fe41180a1e5cd
14b3d55c48466fcafc6ee9e77b0d919a15220d18c0611ab9ab80e90d5e137220
81f301a8047b722c690b1a1e543bddb7abc5ba9654f349a2f507bf0d5b64b884
831ecc7c41217227ee159b85e4510e3d58c956be016bd7582e94fefb011565fe
d89bc8fdfd1b2d5976773504bdd72fa4a2edf30861629c39d157359ec91ae2ab
f858d766ef2b672a0f9faac70bd7709a0a3a337cdb65a05862d81dd027d221ef

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for @atedone/workspace-context (14 malicious versions).

  2. If you installed it — respond

    Remove @atedone/workspace-context from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If @atedone/workspace-context was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. @atedone/workspace-context on npm has been identified as a malicious package (versions 0.0.12, 0.0.13, 0.0.14, 0.0.15, 0.0.16, 0.0.17, 0.0.18, 0.0.19, and 6 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-022516IN-MAL-2026-022523IN-MAL-2026-022515IN-MAL-2026-022519IN-MAL-2026-022522IN-MAL-2026-022524IN-MAL-2026-022526IN-MAL-2026-022528IN-MAL-2026-022527IN-MAL-2026-022521IN-MAL-2026-022520IN-MAL-2026-022517IN-MAL-2026-022525IN-MAL-2026-022518

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @atedone/workspace-context-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

@atedone/workspace-context (npm) malicious package — MAL-2026-18517 | O3 Security