socket@1.1.154
CLI for Socket.dev
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe flagged primitives implement an explicitly invoked Socket security CLI, including normal authenticated API requests and an npm risk-check wrapper. No lifecycle execution, credential harvesting to an unrelated endpoint, stealth persistence, or remote payload chain was found.
Decision evidence
public snapshot- User-invoked CLI sends package metadata to Socket API for security alerts.
- `socket-npm` injects a guarded Arborist wrapper when explicitly run.
- `package.json` has no preinstall/install/postinstall hooks.
- `bin/cli.js` only launches the bundled CLI after a user invokes a bin command.
- `dist/shadow-npm-bin2.js` activates npm wrapping only through explicit socket-npm/npx commands.
- `dist/shadow-npm-inject.js` performs alert checks before delegating to npm; no hidden payload execution found.
- API token persistence occurs only in explicit `socket login`/config flows.
Source & flagged code
14 flaggedPackage source references dynamic code evaluation.
external/blessed/lib/tput.jsView on unpkg · L1152Findings
Affected versions and remediation
This report applies to socket@1.1.154.
See all versions of socket for other recorded verdicts.
- Review the evidence and your use of socket@1.1.154 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.