code-hidden-failures
Warn
Audited by Socket on Jul 31, 2026
1 alert found:
AnomalyAnomalyfixtures/sample.sh
LOWAnomalyLOW
fixtures/sample.sh
This script is best characterized as a scanner regression/test fixture that intentionally demonstrates error-swallowing and output-suppression patterns (`|| true`, `/dev/null`, `set +e`) rather than covert malicious behavior. It does not show clear malware techniques (no exfiltration, backdoor, or eval/dynamic execution), but it contains high-impact operational actions—especially `rm -rf /var/app/state`, plus `npm publish` and `git push` with suppressed output—that could cause real damage or unintended releases if executed outside a controlled test context.
Confidence: 72%Severity: 63%
Audit Metadata