Static Scan Results
scanned 18h 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
ChildProcessCryptoEnvironmentVarsFilesystemNetwork
HighEntropyStringsUrlStrings
Source & flagged code
3 flagged · loading sourcepackage.jsonView file
•scripts.postinstall = node ./scripts/postinstall.js
High
Install Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg•scripts.postinstall = node ./scripts/postinstall.js
Medium
Ambiguous Install Lifecycle Script
Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkglib/install.jsView file
2const fs = require("fs");
L3: const http = require("http");
L4: const https = require("https");
...
L6: const path = require("path");
L7: const { execFileSync } = require("child_process");
L8: const { URL } = require("url");
...
L11: const REPO = "ggcode";
L12: const BINARY = process.platform === "win32" ? "ggcode.exe" : "ggcode";
L13: const MARKER_START = "# >>> ggcode PATH >>>";
...
L58: function preferredInstallDirs() {
L59: const home = os.homedir();
L60: if (process.platform === "win32") {
Medium
Install Persistence
Source writes installer persistence such as shell profile or service configuration.
lib/install.jsView on unpkg · L2Findings
1 High5 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumInstall Persistencelib/install.js
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings