exhaustive-code-slimmer
Warn
Audited by Socket on Sep 12, 2026
1 alert found:
AnomalyAnomalyscripts/exhaustive_shrink.py
LOWAnomalyLOW
scripts/exhaustive_shrink.py
No evidence of hidden malware (no network/exfiltration, no persistence, no credential theft, no obfuscated payloads) is present in this module. However, it is security-sensitive by design: it executes a caller-provided oracle command using subprocess.run with shell=True (arbitrary command execution) and it applies destructive, attacker-influenced candidate edits (delete/unlink and rewrite files) within a repo copy and optionally the real repo when --apply is used. If --oracle and/or the candidates JSONL are not fully trusted, this module can enable sabotage or arbitrary code execution under the user’s privileges.
Confidence: 70%Severity: 65%
Audit Metadata