pentest
Warn
Audited by Socket on Aug 17, 2026
1 alert found:
AnomalyAnomalyscripts/pentest_policy.py
LOWAnomalyLOW
scripts/pentest_policy.py
No direct malicious code (no networking, subprocess execution, eval/exec, or credential theft) is evident in the provided fragment. However, it is a security-sensitive supply-chain/policy component: it reads local JSON policy/templates and generates npx command strings that, if executed downstream, can install external GitHub “skills” based on potentially tampered identifiers/config. The primary risk is indirect—unsafe downstream command execution and/or compromised JSON configuration/template integrity—rather than overt malware present in this module. Confidence is limited because the snippet is truncated and downstream execution/escaping is not shown.
Confidence: 62%Severity: 57%
Audit Metadata