registry  /  @ggcode-cli/ggcode  /  1.3.104

@ggcode-cli/ggcode@1.3.104

Thin npm wrapper that installs the ggcode GitHub Release binary

Static Scan Results

scanned 1d ago · by rust-scanner

Static 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 snapshot
Behavioral surface
Source
ChildProcessCryptoEnvironmentVarsFilesystemNetwork
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 3 file(s), 20.6 KB of source, external domains: github.com

Source & flagged code

3 flagged · loading source
package.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 unpkg
lib/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 · L2

Findings

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