twitter-search
Audited by Socket on Feb 15, 2026
1 alert found:
Obfuscated FileNo explicit malware or backdoor found in this script. However, unsafe coding practices create moderate security risk: eval of grep output from shell rc files (arbitrary code execution if rc files are tampered), passing API keys on the command line (credential leakage via process listings), and auto-installing packages (unexpected network installs and local package modification). Recommend: remove eval and extract TWITTER_API_KEY safely (e.g., parse RHS with sed/awk or source in a restricted subshell after validation), avoid passing secrets as CLI args (use environment variable or file descriptor), and do not auto-install packages — instead fail with a clear dependency error or instruct the user to install dependencies in a venv. With these fixes the script would be low risk for typical use.