playwright
Warn
Audited by Socket on Feb 23, 2026
1 alert found:
AnomalyAnomalyscripts/evaluate.py
LOWAnomalyLOW
scripts/evaluate.py
The code provides a straightforward JavaScript evaluation utility in a browser context using Playwright. The primary security concern arises from page.evaluate executing untrusted code, which could access sensitive page data. There is a concrete runtime bug (undefined epilog) that must be fixed for reliable operation. No hidden malware detected; focus should be on input sanitization, sandboxing, and explicit user consent when evaluating untrusted scripts.
Confidence: 59%Severity: 58%
Audit Metadata