solo-reddit
Warn
Audited by Socket on Oct 9, 2026
1 alert found:
SecuritySecurityscripts/search-posts.sh
MEDIUMSecurityMEDIUM
scripts/search-posts.sh
The script has a clear command-injection vulnerability: a malicious SUBREDDIT argument can inject and execute Python code because it is interpolated unescaped into python3 -c source. The network request otherwise targets Reddit, and response fields are printed rather than evaluated. Treat arguments as untrusted and pass data to Python separately or safely encode it.
Confidence: 99%Severity: 82%
Audit Metadata