repo-tidy

Warn

Audited by Socket on Sep 14, 2026

1 alert found:

Anomaly
AnomalyLOW
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
Analyzed At
Sep 14, 2026, 10:08 AM
Package URL
pkg:socket/skills-sh/hanzhangzzz%2Fagent-skills-zh%2Frepo-tidy%2F@4d18af6b0b50f967aee6c882a0359a104476fc87879ba4367a6396752286a213