next-best-improvement
Warn
Audited by Socket on Sep 1, 2026
1 alert found:
SecuritySecurityscripts/proof_builder.py
MEDIUMSecurityMEDIUM
scripts/proof_builder.py
No clear malicious payload indicators (no network activity, persistence, or secret theft) are evident in this snippet. However, the module is security-sensitive because it executes an attacker-controlled shell command (argv[2]) via subprocess.run with shell=True and writes to a potentially attacker-influenced path (argv[1]) without sanitization. If used in any automated or untrusted input context, it can be leveraged for arbitrary command execution and/or unsafe file writes, making it a meaningful supply-chain/tooling risk despite the apparent documentation-generation purpose.
Confidence: 80%Severity: 72%
Audit Metadata