Static Scan Results
scanned 7d ago · by rust-scannerStatic 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 snapshotBehavioral surface
ChildProcessEnvironmentVarsFilesystemNetwork
HighEntropyStringsUrlStrings
Source & flagged code
3 flagged · loading sourcepackage.jsonView file
•scripts.postinstall = node install.js
High
Install Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg•scripts.postinstall = node install.js
Medium
Ambiguous Install Lifecycle Script
Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkginstall.jsView file
4const { join } = require("path");
L5: const { execSync } = require("child_process");
L6:
...
L8:
L9: const VERSION = require("./package.json").version;
L10: const REPO = "cc-claws/cc-code";
L11: const BASE_URL = `https://github.com/${REPO}/releases/download/npm-v${VERSION}`;
L12:
...
L21: function getPlatformKey() {
L22: const key = `${process.platform}-${process.arch}`;
L23: if (!PLATFORMS[key]) {
...
L30: // Check common proxy environment variables
High
Install Named Payload File
Install-named source file stages remote content through filesystem writes and execution.
install.jsView on unpkg · L4Findings
2 High4 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
HighInstall Named Payload Fileinstall.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings