Static Scan Results
scanned 5d ago · by rust-scannerStatic 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 snapshotBehavioral surface
ChildProcessEnvironmentVarsFilesystemShell
HighEntropyStringsUrlStrings
Source & flagged code
4 flagged · loading sourcepackage.jsonView file
•scripts.postinstall = node scripts/install-browser.mjs
High
Install Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkgdist/cli/index.jsView file
20import pc3 from 'picocolors';
L21: import { execSync } from 'child_process';
L22:
High
1321spinner = ora("Installing Chromium dependencies...").start();
L1322: execSync("npx playwright install chromium", { stdio: "inherit" });
L1323: if (process.platform === "linux") {
High
Runtime Package Install
Package source invokes a package manager install command at runtime.
dist/cli/index.jsView on unpkg · L1321dist/index.jsView file
317const context = {
L318: platform: process.platform,
L319: ...contextBase
...
L583: :root {
L584: --md2pdf-font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
L585: --md2pdf-font-family-heading: inherit;
...
L902: <!-- TODO(v0.6.0): Bundle fonts locally instead of CDN to support offline/air-gapped environments -->
L903: <link rel="preconnect" href="https://fonts.googleapis.com">
L904: <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
...
L932: if (url.startsWith("file://")) {
L933: const allowedDir = "file://" + process.cwd().replace(/\\/g, "/");
L934: if (!url.startsWith(allowedDir)) {
High
Cloud Metadata Access
Source reaches cloud instance metadata or link-local credential endpoints.
dist/index.jsView on unpkg · L317Findings
5 High2 Medium5 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processdist/cli/index.js
HighShell
HighCloud Metadata Accessdist/index.js
HighRuntime Package Installdist/cli/index.js
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings