@empiricalrun/playwright-utils@0.63.1
Playwright utils for test code repos of our customers
AI Security Review
scanned 20d ago · by lpm-firewall-aiThe cache replay creates a real, conditional code-execution capability: code influenced by page content is compiled and run in Node during later overlay handling. No install hook or direct credential exfiltration was established, so the appropriate verdict is suspicious rather than malicious.
Decision evidence
public snapshot- The manifest exports runtime modules and defines no install lifecycle hook.
- When a Playwright click encounters an overlay, the handler invokes dismissal and saves the agent result.
- The overlay text is included in the agent task, and the returned code is stored as a cache candidate.
- The cache is written under the project directory and replayed when overlay markup and text match.
- Replay compiles cached code with Node's AsyncFunction constructor and executes it.
- The agent uses the Empirical LLM proxy, whose default host is api.empirical.run.
- Execution is conditional on a failed click or hover caused by an overlay and a later matching cache entry.
- The inspected sources show no install-time execution or direct transfer of credentials by this code path.
Source & flagged code
8 flaggedPackage source references child process execution.
dist/reporter/local-test.jsView on unpkg · L6Package source invokes a package manager install command at runtime.
dist/reporter/local-test.jsView on unpkg · L13Findings
Affected versions and remediation
This report applies to @empiricalrun/playwright-utils@0.63.1.
See all versions of @empiricalrun/playwright-utils for other recorded verdicts.
- Review the evidence and your use of @empiricalrun/playwright-utils@0.63.1 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.