Static Scan Results
scanned 7h ago · by rust-scannerStatic analysis flagged 11 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
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNetworkShell
UrlStrings
Source & flagged code
3 flagged · loading sourcebin/ocg.cjsView file
11L12: const { spawn } = require("child_process");
L13: const path = require("path");
High
11L12: const { spawn } = require("child_process");
L13: const path = require("path");
Medium
Dynamic Require
Package source references dynamic require/import behavior.
bin/ocg.cjsView on unpkg · L11dist/cli.jsView file
620try {
L621: execSync(`npm install ${pkg}`, { cwd, stdio: "inherit" });
L622: console.log(`[ocg] ${pkg} installed.`);
High
Runtime Package Install
Package source invokes a package manager install command at runtime.
dist/cli.jsView on unpkg · L620Findings
3 High4 Medium4 Low
HighChild Processbin/ocg.cjs
HighShell
HighRuntime Package Installdist/cli.js
MediumDynamic Requirebin/ocg.cjs
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowUrl Strings