registry  /  selenium-pw-migrator  /  0.0.0-preview.8

selenium-pw-migrator@0.0.0-preview.8

Node/npm wrapper for the Selenium Playwright Migrator standalone CLI.

Static Scan Results

scanned 8d ago · by rust-scanner

Static analysis flagged 12 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNetwork
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 2 file(s), 9.46 KB of source, external domains: github.com

Source & flagged code

5 flagged · loading source
package.jsonView file
scripts.postinstall = node scripts/install.js
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = node scripts/install.js
Medium
Ambiguous Install Lifecycle Script

Install-time lifecycle script is not statically allowlisted and needs review.

package.jsonView on unpkg
bin/selenium-pw-migrator.jsView file
3L4: const childProcess = require('child_process'); L5: const fs = require('fs');
High
Child Process

Package source references child process execution.

bin/selenium-pw-migrator.jsView on unpkg · L3
3L4: const childProcess = require('child_process'); L5: const fs = require('fs');
Medium
Dynamic Require

Package source references dynamic require/import behavior.

bin/selenium-pw-migrator.jsView on unpkg · L3
scripts/install.jsView file
3L4: const childProcess = require('child_process'); L5: const crypto = require('crypto'); L6: const fs = require('fs'); L7: const http = require('http'); L8: const https = require('https'); ... L15: L16: const env = process.env; L17: const skipDownload = env.SELENIUM_PW_MIGRATOR_SKIP_DOWNLOAD === '1' || env.SELENIUM_PW_MIGRATOR_SKIP_DOWNLOAD === 'true';
High
Same File Env Network Execution

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

scripts/install.jsView on unpkg · L3

Findings

3 High5 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processbin/selenium-pw-migrator.js
HighSame File Env Network Executionscripts/install.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumDynamic Requirebin/selenium-pw-migrator.js
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings