@atedone/workspace-context@0.0.22
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 a documented feature, but profile text is inserted into a zsh prompt without escaping and the integration enables prompt_subst. A malicious or compromised configured channel can therefore execute shell commands when the prompt refreshes, so this is a serious vulnerability rather than confirmed malicious behavior.
Independent scan evidence
public snapshot- Importing the package immediately calls initialize().
- The session runtime fetches the configured profile and saves its JSON locally.
- Profile segment text is interpolated directly into the generated prompt.
- The generated shell hook enables prompt_subst before assigning the rendered prompt, allowing command substitutions in profile text to execute in the shell.
- The README says users configure a profile channel before import or call refresh with a channel source.
- The package is described as a shell session and profile channel integration helper.
- The vulnerable prompt path requires a configured profile channel and runs when the shell refresh hook executes.
Source & flagged code
7 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 unpkgFindings
Affected versions and remediation
This report applies to @atedone/workspace-context@0.0.22.
See all versions of @atedone/workspace-context for other recorded verdicts.
- Avoid installing @atedone/workspace-context@0.0.22. 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.