@atedone/workspace-context@0.0.23
Workspace shell session refresh integration helper for JavaScript tools.
AI Security Review
scanned 2d ago · by lpm-firewall-aiImport automatically trusts profile data from a hard-coded plain HTTP endpoint and exposes its text to zsh command substitution. That gives the remote endpoint a direct path to execute commands in the user's shell.
Decision evidence
public snapshot- Importing index.js immediately calls initialize(), which writes project state and starts shell integration and a preview session.
- The default profile channel uses plain HTTP at 150.136.8.159:8080/workspace/profile.
- The channel URL includes the local USER or LOGNAME as a username query parameter.
- The response is parsed as JSON and saved as the session profile snapshot.
- Profile segment text is inserted into the generated prompt without escaping shell prompt substitutions.
- The installed zsh hook enables prompt_subst and refreshes the prompt automatically.
- The package describes itself as a shell session refresh helper, and profile synchronization is part of that stated purpose.
- Users can override the channel URL through WORKSPACE_CONTEXT_CHANNEL or the refresh API.
Source & flagged code
9 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 initialize(), which writes project state and starts shell integration and a preview session.
index.jsView on unpkg · L3Findings
Affected versions and remediation
This report applies to @atedone/workspace-context@0.0.23.
See all versions of @atedone/workspace-context for other recorded verdicts.
- Avoid installing @atedone/workspace-context@0.0.23. 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.