npm / playwright / 1.65.0-alpha-1792021904000
playwright 1.65.0-alpha-1792021904000
- Source
- https://github.com/microsoft/playwright
- Commit scanned
d96199f58b23- Directory
packages/playwright- Compared with
cfe490d941f9(0 signals introduced since)- Files
- 133 scanned, 13 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 12 info
- Scan time
- 6.4 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 10 of 10 warn and critical signals; 10 demoted to info.
- Disclude version
- 4.0.0
- Scanned (UTC)
- 2026-10-15 14:11
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
info
warn→ info by reviewdynamic-executionpackages/playwright/src/isomorphic/teleReceiver.ts:462:90privatelikely benign Base64 decoding of test stdout chunks in a Playwright-style test receiver.Reasoning
atob is used as a fallback to decode base64 stdio chunks from a test-runner protocol message; the result is just data passed into a chunk buffer, not fetched or evaluated.
-
; ; : stringlikely benign Loads the package's own package.json via a computed path.Reasoning
require of a path.join result pointing at the package's own package.json is a fixed, local, legitimate pattern for reading version metadata.
-
const ; const libCoverage = ; const libReport = ; const reports = ;likely benign Requires istanbul libraries resolved from the config directory.Reasoning
Resolves istanbul modules relative to a configured directory and requires them; this is standard plugin/dependency resolution for a coverage reporter.
-
const libCoverage = ; const libReport = ; const reports = ; const context = libReport.likely benign Requires istanbul-lib-report resolved from config directory.Reasoning
Same resolveFrom-based require of a known coverage dependency; legitimate dependency loading.
-
const libReport = ; const reports = ; const context = libReport.likely benign Requires istanbul-reports resolved from config directory.Reasoning
Same resolved require of istanbul-reports, a well-known reporting dependency; no sign of malicious intent.
-
...plugins, ...pluginsEpilogue., ], compact: false,likely benign Requires Babel plugins by name from a plugin list.Reasoning
Requires Babel plugin names from a configured list to build the transform pipeline; a normal plugin-loading pattern, with names coming from internal code.
-
const : = ; const babelResult = ;likely benign Requires the internal babelBundle module for transforms.Reasoning
Loads the bundled babelBundle module via libPath with fixed segments; an internal module load, not attacker-controlled input.
-
info
critical→ info by reviewdynamic-executionpackages/playwright/src/transform/transform.ts:296:29const fileName = url.; const ; // For ESM imports handled by the asynchronous loader, issue a preflight to populatelikely benign Uses eval to issue a dynamic ESM import of a test file.Reasoning
eval is used to build a dynamic import of a file URL, a known workaround to keep ESM import() from being transpiled to require in CJS. The argument is JSON.stringify of a path produced by the runner, so it is not injected external input, though eval is an unusual choice.
-
info
critical→ info by reviewdynamic-executionpackages/playwright/src/transform/transform.ts:303:13likely benign Uses eval to dynamically import an ESM preflight file.Reasoning
Same eval-based dynamic import trick for a preflight module, with the path JSON-stringified from internal file names; a deliberate loader workaround rather than malicious evaluation.
-
} const result = ; const depsCollector = cc.;likely benign Requires the test file being loaded for transformation.Reasoning
require of the test file being loaded by the runner is the normal way to load test modules in this transform path.
-
interface TsConfig -
video: VideoMode | /** deprecated */ 'retry-with-video' |
Reproduce This Scan
Run disclude locally to verify. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.
&&