registry  /  @stripe/cli  /  1.43.6

@stripe/cli@1.43.6

The Stripe CLI

Static Scan Results

scanned 7d ago · by rust-scanner

Static analysis flagged 10 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
ChildProcessCryptoEnvironmentVarsFilesystemNetwork
Supply chain
UrlStrings
ManifestNo manifest risk signals triggered.
scanned 2 file(s), 4.97 KB of source, external domains: docs.stripe.com, github.com

Source & flagged code

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

Package defines install-time lifecycle scripts.

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

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

package.jsonView on unpkg
bin/shim.jsView file
2'use strict'; L3: const { spawnSync } = require('child_process'); L4: const path = require('path'); ... L7: L8: const key = `${process.platform}-${process.arch}`; L9: const platform = PLATFORMS[key]; L10: if (!platform) { L11: console.error(`@stripe/cli: unsupported platform "${key}". See https://docs.stripe.com/stripe-cli`); L12: process.exit(1); ... L16: try { L17: const pkgDir = path.dirname(require.resolve(`${platform.pkg}/package.json`)); L18: binPath = path.join(pkgDir, 'bin', platform.bin);
High
Sandbox Evasion Gated Capability

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

bin/shim.jsView on unpkg · L2
scripts/postinstall.jsView file
1'use strict'; L2: const https = require('https'); L3: const fs = require('fs'); ... L5: const crypto = require('crypto'); L6: const { execFileSync } = require('child_process'); L7: L8: const PKG = require('../package.json'); L9: const PLATFORMS = require('../platforms.json'); ... L12: L13: const key = `${process.platform}-${process.arch}`; L14: const platform = PLATFORMS[key]; ... L28: const checksumFile = platform.checksums;
High
Install Named Payload File

Install-named source file stages remote content through filesystem writes and execution.

scripts/postinstall.jsView on unpkg · L1

Findings

3 High4 Medium3 Low
HighInstall Time Lifecycle Scriptspackage.json
HighSandbox Evasion Gated Capabilitybin/shim.js
HighInstall Named Payload Filescripts/postinstall.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowUrl Strings