Static Scan Results
scanned 3h ago · by rust-scannerStatic analysis flagged 8 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
HighEntropyStrings
Source & flagged code
3 flagged · loading sourcepackage.jsonView file
•scripts.postinstall = node scripts/postinstall.cjs
High
Install Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg•scripts.postinstall = node scripts/postinstall.cjs
Medium
Ambiguous Install Lifecycle Script
Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgdist/index.jsView file
8exports.run = run;
L9: const node_child_process_1 = require("node:child_process");
L10: const node_fs_1 = require("node:fs");
...
L28: };
L29: function installDefaultAlias(env = process.env, stdout = process.stdout) {
L30: if (env.CCWESTWARD_SKIP_ALIAS) {
...
L33: const installed = installAlias(env, "claude", "ccwestward claude");
L34: stdout.write(`cc-westward installed claude shortcut in ${installed.file}\n`);
L35: }
...
L285: function shellConfig(env) {
L286: const home = env.USERPROFILE ?? env.HOME ?? node_os_1.default.homedir();
L287: if (env.OS === "Windows_NT") {
Medium
Install Persistence
Source writes installer persistence such as shell profile or service configuration.
dist/index.jsView on unpkg · L8Findings
1 High4 Medium3 Low
HighInstall Time Lifecycle Scriptspackage.json
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumEnvironment Vars
MediumInstall Persistencedist/index.js
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings