registry  /  camstack  /  1.1.10

camstack@1.1.10

CLI tool for managing and running CamStack server

Static Scan Results

scanned 8d ago · by rust-scanner

Static analysis flagged 14 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
ChildProcessEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsTelemetryUrlStrings
Manifest
WildcardDependency
scanned 5 file(s), 1.20 MB of source, external domains: docs.npmjs.com, huggingface.co, json-schema.org, registry.npmjs.org

Source & flagged code

4 flagged · loading source
dist/cli.jsView file
83// src/commands/setup.ts L84: import { execFileSync } from "child_process"; L85: import * as path from "path";
High
Child Process

Package source references child process execution.

dist/cli.jsView on unpkg · L83
962]; L963: process.stderr.write(lines.join("\n")); L964: } ... L971: function runNpmInstall(spec) { L972: return new Promise((resolve4, reject) => { L973: const proc = spawn("npm", ["install", "-g", spec], { stdio: "inherit" }); L974: proc.on("exit", (code) => {
High
Command Output Exfiltration

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

dist/cli.jsView on unpkg · L962
28Cross-file remote execution chain: dist/cli.js spawns dist/chunk-WS27TKQ6.js; helper contains network access plus dynamic code execution. L28: port: { type: "string", short: "p" }, L29: data: { type: "string", short: "d" } L30: }, ... L37: }; L38: Object.assign(process.env, buildServeEnv(opts)); L39: await import("@camstack/server/main.js"); ... L46: const hubPort = opts.port ?? "4443"; L47: const agentName = opts.name ?? `${os.hostname()}-${os.arch()}`; L48: return { ... L83: // src/commands/setup.ts L84: import { execFileSync } from "child_process"; L85: import * as path from "path";
High
Cross File Remote Execution Context

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

dist/cli.jsView on unpkg · L28
972return new Promise((resolve4, reject) => { L973: const proc = spawn("npm", ["install", "-g", spec], { stdio: "inherit" }); L974: proc.on("exit", (code) => { L975: if (code === 0) resolve4(); L976: else reject(new Error(`npm install -g ${spec} exited with code ${code}`)); L977: });
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

dist/cli.jsView on unpkg · L972

Findings

5 High4 Medium5 Low
HighChild Processdist/cli.js
HighShell
HighCommand Output Exfiltrationdist/cli.js
HighCross File Remote Execution Contextdist/cli.js
HighRuntime Package Installdist/cli.js
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
MediumWildcard Dependency
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowTelemetry
LowUrl Strings