browser-automation
Warn
Audited by Socket on Nov 12, 2026
1 alert found:
AnomalyAnomalyscripts/scraping_toolkit.py
LOWAnomalyLOW
scripts/scraping_toolkit.py
This code generates and optionally writes a web-scraping script; it does not execute that script during generation. A crafted --url can inject Python code into the generated file because it is embedded in source without escaping, so executing a file generated from an untrusted URL is a security risk. The generated script makes requests only to its configured target and optional robots.txt endpoint and writes page metadata locally; no credential theft, unrelated data exfiltration, or malware behavior is evident. Severity is moderate and depends on whether generated scripts are run with untrusted URLs.
Confidence: 98%Severity: 55%
Audit Metadata