Summary
spent v0.3.0 was classified as CRITICAL RISK with a risk score of 77. Sigil detected 3 findings across 33 files, covering phases including provenance, install hooks, code patterns. Review the findings below before installing this package.
Package description: Claude Code session cost tracker. Efficiency score, productive vs wasted breakdown, live terminal dashboard.
v0.3.0
30 March 2026, 08:36 UTC
by Sigil Bot
Risk Score
77
Findings
3
Files Scanned
33
Provenance
Findings by Phase
Phase Ordering
Phases are ordered by criticality, with the most dangerous at the top. Click any phase header to expand or collapse its findings. Critical phases are expanded by default.
install-pip-setup-exec
CRITICALsetup.py executes code at install time
spent-0.3.0/spent/cli.py:169
@cc.command("setup")
def cc_setup() -> None:
"""Configure Claude Code hooks for automatic tracking."""Why was this flagged?
This setup.py calls subprocess, os.system, exec, or eval during package installation. Legitimate packages rarely need to execute arbitrary commands at install time. This pattern is commonly used by malicious packages to download and run payloads, exfiltrate environment variables, or establish persistence. Rated CRITICAL because it runs with the installer's full permissions.
Badge
Markdown
[](https://sigilsec.ai/scans/8520AF17-AECB-4512-9B33-EB9CDF874C16)HTML
<a href="https://sigilsec.ai/scans/8520AF17-AECB-4512-9B33-EB9CDF874C16"><img src="https://sigilsec.ai/badge/pypi/spent" alt="Sigil Scan"></a>Run This Scan Yourself
Scan your own packages
Run Sigil locally to audit any package before it touches your codebase.
Early Access
Get cloud scanning, threat intel, and CI/CD integration.
Join 150+ developers on the waitlist.
Get threat intelligence and product updates
Security research, new threat signatures, and product updates. No spam.
Other pypi scans
Believe this result is incorrect? Request a review or see our Terms of Service and Methodology.