@atedone/workspace-context@0.0.21
Workspace shell session refresh integration helper for JavaScript tools.
OpenSSF/OSV Malicious Advisory
imported 2d ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-18517 confirms this npm version as malicious.
Independent LPM AI assessment
SuspiciousIndependent AI assessment: suspicious. LPM AI assessed this version as suspicious; the assessments disagree.
The profile channel is optional and the request does not send local session data, but its response is treated as prompt text without escaping while zsh prompt substitution is enabled. This creates a remote command execution risk if the configured channel returns hostile or compromised content.
Independent scan evidence
public snapshot- Importing index.js immediately calls state.initialize(), which refreshes shell integration and opens a session.
- The generated shell hook enables prompt_subst and assigns the prompt from the presentation renderer’s output.
- The renderer inserts profile segment text directly into its output without escaping shell prompt substitutions.
- When a channel is configured, the session runtime fetches its JSON profile and saves it as the local profile snapshot.
- The channel URL comes from the WORKSPACE_CONTEXT_CHANNEL environment variable.
- The package has no lifecycle scripts in package.json.
- The channel fetch is conditional on a configured channel and sends only an Accept header, not local session fields.
Source & flagged code
6 flaggedA bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
lib/sync.js#virtual:normalized:round1View on unpkgImporting index.js immediately calls state.initialize(), which refreshes shell integration and opens a session.
index.jsView on unpkg · L3Findings
Affected versions and remediation
This report applies to @atedone/workspace-context@0.0.21.
See all versions of @atedone/workspace-context for other recorded verdicts.
- Avoid installing @atedone/workspace-context@0.0.21. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.