repo-tidy
Warn
Audited by Socket on Sep 14, 2026
1 alert found:
AnomalyAnomalytests/test_repo_tidy.sh
LOWAnomalyLOW
tests/test_repo_tidy.sh
The code is a legitimate local Git cleanup integration-test script and contains no clear malware. However, it has a real shell-safety flaw: user-controlled T can reach eval through dynamically constructed test commands, potentially enabling arbitrary command execution. Its rm -rf behavior is intentionally destructive and insufficiently constrained for an untrusted path. Risk is moderate in contexts where the script argument or execution directory can be attacker-controlled; low for trusted, disposable test usage.
Confidence: 98%Severity: 62%
Audit Metadata