registry  /  add-coder  /  0.1.9

add-coder@0.1.9

[codein2027](https://github.com/xiaomingming92/codein2027) 快速构建 ADD 编程范式的完整脚手架——AI 代码治理的落地方案。以「审计即基础设施」为核心,彻底打破编程过程黑盒与跨轮失忆,让编程范式进化为可审计、可追溯、可收敛的新时代。npx 即用,人人可体验。

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 13 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
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemShell
Supply chain
HighEntropyStrings
Manifest
CopyleftLicense
scanned 3 file(s), 193 KB of source

Source & flagged code

6 flagged · loading source
dist/index.jsView file
340// src/caijuehub/strategies/prisma.strategy.ts L341: import { spawnSync } from "child_process"; L342: import { copyFileSync, existsSync as existsSync5, readFileSync as readFileSync6, unlinkSync, writeFileSync as writeFileSync2, mkdirSync as mkdirSync2 } from "fs";
High
Child Process

Package source references child process execution.

dist/index.jsView on unpkg · L340
619patternName = generic_password severity = medium line = 619 matchedText = const d ..." };
Medium
Secret Pattern

Package contains a possible secret pattern.

dist/index.jsView on unpkg · L619
100try { L101: const userConfig = await import(configPath); L102: config = { ...config, ...userConfig.default };
Medium
Dynamic Require

Package source references dynamic require/import behavior.

dist/index.jsView on unpkg · L100
templates/core/scripts/mcp-server.tsView file
3290const { spawnSync } = await import("child_process") L3291: const tsc = spawnSync("npx", ["tsc", "--noEmit"], { L3292: cwd: PROJECT_ROOT,
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

templates/core/scripts/mcp-server.tsView on unpkg · L3290
5const __filename = fileURLToPath(import.meta.url) L6: const __dirname = dirname(__filename) L7: const PROJECT_ROOT = resolve(__dirname, "..", "..") ... L16: L17: const DATABASE_URL = process.env.DATABASE_URL L18: if (!DATABASE_URL) { ... L27: import { existsSync } from "fs" L28: import { spawnSync } from "child_process" L29: ... L80: }) L81: const guard = spawnSync("/bin/bash", [guardScript], { L82: input: guardInput,
Medium
Install Persistence

Source writes installer persistence such as shell profile or service configuration.

templates/core/scripts/mcp-server.tsView on unpkg · L5
templates/core/scripts/db-ensure.shView file
path = templates/core/scripts/db-ensure.sh kind = build_helper sizeBytes = 2567 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

templates/core/scripts/db-ensure.shView on unpkg

Findings

3 High6 Medium4 Low
HighChild Processdist/index.js
HighShell
HighRuntime Package Installtemplates/core/scripts/mcp-server.ts
MediumSecret Patterndist/index.js
MediumDynamic Requiredist/index.js
MediumEnvironment Vars
MediumInstall Persistencetemplates/core/scripts/mcp-server.ts
MediumShips Build Helpertemplates/core/scripts/db-ensure.sh
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowCopyleft License