VDB
GCVE-110-OSM-2026-14570
GCVE-110-OSM-2026-14570
Advisory PublishedCVSS 8.8/10
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.
ENTRY
index.js (main: index.js)
PERSISTENCE
- Startup Persistence in index.js: ".profile"
- Startup Persistence in lib/session-worker.js: ".profile"
- Startup Persistence in lib/state.js: ".bashrc"
- Startup Persistence in lib/sync.js: ".profile"
EXFIL
- Data Encoding for Exfiltration in lib/state.js: "encodeURIComponent(identity)}` : source"
ADDITIONAL FINDINGS
- Silent Process Execution in lib/state.js: "stdio: 'ignore'"
- Publisher Has Other Malicious Packages
- Publisher Shows Burner-Account Pattern
PAYLOAD FILES
lib/state.js
Weaknesses (CWE)
CWE-506Embedded Malicious Code
Risk Scores
CVSS 3.1
8.8/10
High · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Products
| Vendor | Product | Versions | Platforms |
|---|---|---|---|
| unknown | @atedone/workspace-context | all (affected) | — |
Aliases
Browse GCVE Records
1,063 records in the GCVE database · Updated November 5, 2026
No matching records found.
Explore Further
Investigate this vulnerability in the interactive console or download the raw GCVE record.