literature

Warn

Audited by Socket on Aug 5, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/literature_cli.py

No direct malicious payload is visible in this snippet (no subprocesses, eval/exec, destructive operations, or explicit exfiltration). However, the fragment introduces a significant supply-chain/import-hijacking risk: it conditionally locates `ane_package` in environment-controlled and broad local filesystem locations, prepends the chosen directory to `sys.path`, and then imports it—meaning that if an attacker can place/modify an `ane_package` directory in any candidate location, arbitrary code execution during import becomes possible. The security risk is therefore primarily about integrity of local dependency sources rather than overt malware behavior in this file.

Confidence: 70%Severity: 65%
Audit Metadata
Analyzed At
Aug 5, 2026, 05:08 PM
Package URL
pkg:socket/skills-sh/gasserane%2Fpersonal-skills%2Fliterature%2F@8b838b28d932b4bbfd2bb43452f79f01cb26bfe1762ac4664f11d736860fb7c4
Security Audit — socket — literature