code-security

Warn

Audited by Socket on Sep 13, 2026

1 alert found:

Security
SecurityMEDIUM
rules/path-traversal.md

The provided fragment contains a clear, directly demonstrated path traversal risk: attacker-controlled $_GET['file'] is concatenated into a filesystem path passed to unlink(), enabling arbitrary file deletion within/possibly outside the intended /storage/ directory. No explicit malware/backdoor/persistence behavior is evident from the snippet, but the destructive impact makes this a high security concern. RFI concerns are referenced but not verifiable from the truncated inclusion context shown.

Confidence: 55%Severity: 72%
Audit Metadata
Analyzed At
Sep 13, 2026, 07:51 PM
Package URL
pkg:socket/skills-sh/onfire7777%2Funiversal-ai-skills-library%2Fcode-security%2F@2db5d9c142c81f161943753ba5298e8cfb20af3d1816701b76c4e2c6ce898069