Static Scan Results
scanned 16h ago · by rust-scannerStatic analysis flagged 9 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
ChildProcessEnvironmentVarsFilesystem
UrlStrings
NoLicense
Source & flagged code
3 flagged · loading sourcepackage.jsonView file
•scripts.postinstall = node install.cjs
High
Install Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkgcli-wrapper.cjsView file
1#!/usr/bin/env node
L2: const { spawnSync } = require('node:child_process')
L3: const { arch, constants } = require('node:os')
...
L5:
L6: const WRAPPER_NAME = require('./package.json').name
L7: const PLATFORMS = {
...
L15: function printHelp() {
L16: console.error(' For help, visit https://ampcode.com/manual or email amp-devs@ampcode.com.')
L17: }
...
L19: function detectMusl() {
L20: if (process.platform !== 'linux') {
L21: return false
High
Sandbox Evasion Gated Capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
cli-wrapper.cjsView on unpkg · L1bin/amp.exeView file
•path = bin/amp.exe
kind = native_binary
sizeBytes = 141
magicHex = [redacted]
Medium
Findings
2 High3 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
HighSandbox Evasion Gated Capabilitycli-wrapper.cjs
MediumEnvironment Vars
MediumShips Native Binarybin/amp.exe
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowUrl Strings
LowNo License