Static Scan Results
scanned 5d ago · by rust-scannerStatic analysis flagged 15 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
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
HighEntropyStringsUrlStrings
NoLicense
Source & flagged code
5 flagged · loading sourcepackage.jsonView file
•scripts.postinstall = node scripts/postinstall.mjs
High
Install Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg•scripts.postinstall = node scripts/postinstall.mjs
Medium
Ambiguous Install Lifecycle Script
Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgdist/setup.jsView file
4import { fileURLToPath } from 'url';
L5: import { execSync } from 'child_process';
L6: const __filename = fileURLToPath(import.meta.url);
High
99});
L100: const codexCommand = isSourceMode ? `npx tsx "${SRC_ENTRY}"` : `node "${DIST_ENTRY}"`;
L101: if (detect('codex')) {
L102: try {
L103: execSync(`codex mcp add ai-cognition -- ${codexCommand}`, { stdio: 'ignore', timeout: 5000 });
L104: results.push({ name: 'Codex CLI', configured: true, message: '已通过 codex mcp add 配置' });
High
Runtime Package Install
Package source invokes a package manager install command at runtime.
dist/setup.jsView on unpkg · L99dist/import.jsView file
137else {
L138: items = parseJsonItems(JSON.parse(text));
L139: }
Low
Weak Crypto
Package source references weak cryptographic algorithms.
dist/import.jsView on unpkg · L137Findings
4 High4 Medium7 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processdist/setup.js
HighShell
HighRuntime Package Installdist/setup.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowWeak Cryptodist/import.js
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
LowNo License