reddit-skill
Audited by Socket on Sep 17, 2026
2 alerts found:
Anomalyx2The code appears to be a legitimate Reddit profile retrieval and caching script, with no clear malware indicators. However, the unvalidated username is used to construct a filesystem path, creating a plausible path traversal risk that may permit writes or reads outside the intended cache directory. Review and constrain common.sh/reddit_get, validate usernames against an allowlist such as [A-Za-z0-9_-], and verify the resolved output path remains under the cache directory.
The script appears to be a benign Reddit metadata and caching utility. It contains a moderate path traversal risk because the --subreddit value is used directly in a cache filename without validating or safely encoding it. No clear malware, credential theft, exfiltration, obfuscation, or command injection is present in the supplied code. Review common.sh and reddit_get separately before deployment.