registry  /  add-coder  /  0.1.7

add-coder@0.1.7

[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), 176 KB of source

Source & flagged code

6 flagged · loading source
templates/core/scripts/mcp-server.tsView file
1112patternName = generic_password severity = medium line = 1112 matchedText = password...al",
Medium
Secret Pattern

Package contains a possible secret pattern.

templates/core/scripts/mcp-server.tsView on unpkg · L1112
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 { execSync } from "child_process" L29: import { PrismaClient, Prisma } from "@prisma/client" ... L128: if (scope === "all" || scope === "package") { L129: const pkg = await readFileSafe(join(PROJECT_ROOT, "package.json")) L130: if (pkg) {
Medium
Install Persistence

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

templates/core/scripts/mcp-server.tsView on unpkg · L5
dist/index.jsView file
327// src/caijuehub/strategies/prisma.strategy.ts L328: import { spawnSync } from "child_process"; L329: import { copyFileSync, existsSync as existsSync4, readFileSync as readFileSync6, unlinkSync, writeFileSync as writeFileSync2 } from "fs";
High
Child Process

Package source references child process execution.

dist/index.jsView on unpkg · L327
353console.log("\u6267\u884C npx prisma init ..."); L354: spawnSync("npx", ["prisma", "init", "--datasource-provider", "postgresql"], { cwd: projectRoot, stdio: "inherit", shell: false }); L355: const envPath = resolve(projectRoot, ".env");
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

dist/index.jsView on unpkg · L353
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/shared/hooks-lib/common.shView file
path = templates/shared/hooks-lib/common.sh kind = build_helper sizeBytes = 581 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

templates/shared/hooks-lib/common.shView on unpkg

Findings

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