scaffold-cli
Warn
Audited by Socket on Nov 10, 2026
1 alert found:
AnomalyAnomalyevals/fixtures/cache-scripts-to-cli/base/scripts/purge-cache.sh
LOWAnomalyLOW
evals/fixtures/cache-scripts-to-cli/base/scripts/purge-cache.sh
This is an interactive cache-purge script, not evidence of malware. Its main security risk is that an unvalidated bucket argument can contain path traversal and cause rm -rf to delete a location outside CACHE_ROOT after confirmation; validate the bucket and verify the resolved target is within the cache root. Severity is moderate because deletion is destructive but requires interactive confirmation. The sourced helper's behavior cannot be assessed from this fragment.
Confidence: 98%Severity: 62%
Audit Metadata