registry  /  selenium-pw-migrator  /  0.0.2-preview.1

selenium-pw-migrator@0.0.2-preview.1

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

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 13 finding(s) at 93.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.; previous stored version diff introduced dangerous source

Decision evidence

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

Source & flagged code

6 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 = isTruthy(readOption('SELENIUM_PW_MIGRATOR_SKIP_DOWNLOAD', 'selenium-pw-migrator-skip-download'));
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
matchType = previous_version_dangerous_delta matchedPackage = selenium-pw-migrator@0.0.0-preview.8 matchedIdentity = npm:c2VsZW5pdW0tcHctbWlncmF0b3I:0.0.0-preview.8 similarity = 0.500 summary = stored previous version shares package body but lacks this dangerous source file
High
Previous Version Dangerous Delta

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

scripts/install.jsView on unpkg

Findings

4 High5 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processbin/selenium-pw-migrator.js
HighSame File Env Network Executionscripts/install.js
HighPrevious Version Dangerous Deltascripts/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