Summary
kv-secrets v0.2.1 was classified as CRITICAL RISK with a risk score of 488. Sigil detected 33 findings across 51 files, covering phases including provenance, obfuscation, install hooks, code patterns, network exfiltration. Review the findings below before installing this package.
Package description: Encrypted secrets management for developers and AI agents
v0.2.1
28 March 2026, 08:02 UTC
by Sigil Bot
Risk Score
488
Findings
33
Files Scanned
51
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
kv_secrets-0.2.1/docs/security-analysis.md:196
**Mitigations**:
- QR code for TOTP setup (scan instead of copying text — secret never enters a copyable format)
- User education: never paste `kv setup-2fa` output into AI agent conversationsWhy 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.
install-pip-setup-exec
CRITICALsetup.py executes code at install time
kv_secrets-0.2.1/tests/test_audit.py:14
def setUp(self):
self._orig_dir = audit.AUDIT_DIRWhy 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/FBF1D706-53B2-4DC8-907C-8F3C85EA5599)HTML
<a href="https://sigilsec.ai/scans/FBF1D706-53B2-4DC8-907C-8F3C85EA5599"><img src="https://sigilsec.ai/badge/pypi/kv-secrets" 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.