registry  /  @fieldwangai/agentflow  /  0.1.55

@fieldwangai/agentflow@0.1.55

Orchestration system for long-running complex agent tasks using Cursor, OpenCode, or Claude Code as execution backends

Static Scan Results

scanned 5d ago · by rust-scanner

Static analysis flagged 15 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
ChildProcessCryptoDynamicRequireEnvironmentVarsEvalFilesystemNetworkShell
Supply chain
HighEntropyStringsMinifiedObfuscatedUrlStrings
ManifestNo manifest risk signals triggered.
scanned 89 file(s), 3.48 MB of source, external domains: 127.0.0.1, agentflow-hub.com, api.anthropic.com, api.openai.com, docs.agentflow-hub.com, github.com, hvgnpjuiumxtymksqgki.supabase.co, pro.reactflow.dev, reactflow.dev, reactjs.org, skillhub.bigo.sg, www.w3.org

Source & flagged code

7 flagged · loading source
package.jsonView file
scripts.postinstall = node bin/ensure-workspace-reference.mjs
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
bin/pipeline/post-process-node.mjsView file
12L13: import { spawnSync } from "child_process"; L14: import fs from "fs";
High
Child Process

Package source references child process execution.

bin/pipeline/post-process-node.mjsView on unpkg · L12
bin/pipeline/run-tool-nodejs.mjsView file
52cwd: workspaceRoot, L53: shell: true, L54: stdio: ["inherit", "pipe", "pipe"],
High
Shell

Package source references shell execution.

bin/pipeline/run-tool-nodejs.mjsView on unpkg · L52
builtin/web-ui/dist/assets/index-DgQRkS4v.jsView file
39`+g.message)}var n=new it;n.add(a),n.isGeoSVGGraphicRoot=!0;var i=e.width,o=e.height,s=e.viewBoxRect,l=this._boundingRect;if(!l){var u=void 0,f=void 0,v=void 0,h=void 0;if(i!=null?... L40: `+i.message)}return l8(e,n),A(n,function(i){var o=i.name;f8(e,i),h8(e,i);var s=this._specialAreas&&this._specialAreas[o];s&&i.transformTo(s.left,s.top,s.width,s.height)},this),n},r... L41: `))}),t.join(`
Low
Eval

Package source references a known benign dynamic code generation pattern.

builtin/web-ui/dist/assets/index-DgQRkS4v.jsView on unpkg · L39
bin/agentflow.mjsView file
16const __dirname = path.dirname(fileURLToPath(import.meta.url)); L17: const require = createRequire(import.meta.url); L18:
Medium
Dynamic Require

Package source references dynamic require/import behavior.

bin/agentflow.mjsView on unpkg · L16
bin/pipeline/compute-cache-md5.mjsView file
33try { L34: const o = JSON.parse(fs.readFileSync(p, "utf-8")); L35: return o.cacheMd5 != null ? String(o.cacheMd5) : "";
Low
Weak Crypto

Package source references weak cryptographic algorithms.

bin/pipeline/compute-cache-md5.mjsView on unpkg · L33
bin/lib/api-runner.mjsView file
9* OPENAI_API_KEY — OpenAI 或兼容端点的 API key L10: * OPENAI_BASE_URL — 兼容端点基础 URL(默认 https://api.openai.com/v1) L11: * ANTHROPIC_API_KEY — Anthropic API key ... L17: import path from "path"; L18: import { spawnSync } from "child_process"; L19: ... L24: const DEFAULT_OPENAI_BASE = "https://api.openai.com/v1"; L25: const MAX_TOOL_ROUNDS = parseInt(process.env.AGENTFLOW_API_MAX_ROUNDS ?? "30", 10) || 30; L26: const MAX_TOKENS = parseInt(process.env.AGENTFLOW_API_MAX_TOKENS ?? "8192", 10) || 8192;
High
Same File Env Network Execution

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

bin/lib/api-runner.mjsView on unpkg · L9

Findings

4 High4 Medium7 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processbin/pipeline/post-process-node.mjs
HighShellbin/pipeline/run-tool-nodejs.mjs
HighSame File Env Network Executionbin/lib/api-runner.mjs
MediumDynamic Requirebin/agentflow.mjs
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowEvalbuiltin/web-ui/dist/assets/index-DgQRkS4v.js
LowWeak Cryptobin/pipeline/compute-cache-md5.mjs
LowFilesystem
LowObfuscated
LowHigh Entropy Strings
LowUrl Strings