@tangjianfang/cc-statusline
Custom status line for Claude Code: shows model, output TPS, token/cost totals, git branch, context usage and prompt-cache health, plus a pricing updater
This report shows the evidence for @tangjianfang/cc-statusline@2.0.0, the only known version.
AI Security Review
scanned 22d ago · by lpm-firewall-aiThe source proves automatic install-time mutation of global Claude Code command settings with consent prompts bypassed. This meets the supplied blocking policy for a foreign AI-agent control surface.
Decision evidence
public snapshot- package.json automatically executes scripts/postinstall.js after installation.
- The postinstall script invokes statusline.js setup with --install and --yes.
- The --yes option makes overwrite prompts resolve to approval without user input.
- Setup writes command registrations for both status displays into the user's global Claude Code settings.json.
- Postinstall also filters Stop hook registrations and saves the modified global settings.
- The installed commands implement the package's status display functionality.
- The pricing updater fetches pricing data and writes a pricing cache; inspected code does not establish credential exfiltration.
Source & flagged code
8 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgFindings
Affected versions and remediation
This report applies to @tangjianfang/cc-statusline@2.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing @tangjianfang/cc-statusline@2.0.0. 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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.