registry  /  @hupan56/wlkj  /  3.3.1

@hupan56/wlkj@3.3.1

AI Product R&D Workflow - PRD/Prototype/Search/Task/Report

Static Scan Results

scanned 2h 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
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 6 file(s), 133 KB of source, external domains: 127.0.0.1, example.com, git-scm.com, mirrors.aliyun.com, mirrors.cloud.tencent.com, nodejs.org, pypi.tuna.tsinghua.edu.cn, python.org

Source & flagged code

8 flagged · loading source
templates/qoder/config.yamlView file
74patternName = generic_password severity = medium line = 74 matchedText = password...ore"
Medium
Secret Pattern

Package contains a possible secret pattern.

templates/qoder/config.yamlView on unpkg · L74
bin/cli.jsView file
5const fs = require("fs"); L6: const { execSync } = require("child_process"); L7:
High
Child Process

Package source references child process execution.

bin/cli.jsView on unpkg · L5
1294try { L1295: // 用 setx 会截断超长 PATH,改用 PowerShell 读 User PATH 追加 L1296: const ps = `powershell -NoProfile -Command "$p=[Environment]::GetEnvironmentVariable('Path','User'); if($p -notlike '*{dir}*'){[Environment]::SetEnvironmentVariable('Path',$p.TrimE...
High
Shell

Package source references shell execution.

bin/cli.jsView on unpkg · L1294
100// 镜像兜底逻辑在 JS 侧复刻同一策略 (默认源→清华→阿里→腾讯), 行为与 Python 版一致。 L101: const { spawnSync } = require("child_process"); L102: const MIRRORS = [ L103: ["清华", "https://pypi.tuna.tsinghua.edu.cn/simple"], L104: ["阿里", "https://mirrors.aliyun.com/pypi/simple/"], ... L106: ]; L107: const installEnv = { ...process.env, PYTHONIOENCODING: "utf-8", PYTHONUTF8: "1" }; L108:
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/cli.jsView on unpkg · L100
55const wlkj = path.join(process.cwd(), ".qoder", "scripts", "orchestration", "wlkj.py"); L56: if (!fs.existsSync(wlkj)) { console.log("请先运行: npx wlkj init"); process.exit(1); } L57: const pyCmd = detectPyCmd(); ... L61: const cmdName = script.replace(/\.py$/, "").replace(/\//g, "-"); L62: return execSync(`${pyCmd} "${wlkj}" ${cmdName} ${args.map(a => `"${a}"`).join(" ")}`, { cwd: process.cwd(), encoding: "utf-8", timeout: 15000, env: { ...process.env, PYTHONIOENCODI... L63: } catch (e) { return (e.stdout || e.message); }
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

bin/cli.jsView on unpkg · L55
bin/install-env.pyView file
path = bin/install-env.py kind = build_helper sizeBytes = 9868 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

bin/install-env.pyView on unpkg
templates/qoder/scripts/validation/test/autotest_data.pyView file
path = [redacted]autotest_data.py kind = payload_in_excluded_dir sizeBytes = 27812 magicHex = [redacted]
High
Payload In Excluded Dir

Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.

templates/qoder/scripts/validation/test/autotest_data.pyView on unpkg
templates/qoder/scripts/domain/kg/sync_repowiki.pyView file
26patternName = generic_password severity = medium line = 26 matchedText = PG = dic...kj")
Medium
Secret Pattern

Hardcoded password in templates/qoder/scripts/domain/kg/sync_repowiki.py

templates/qoder/scripts/domain/kg/sync_repowiki.pyView on unpkg · L26

Findings

5 High6 Medium3 Low
HighChild Processbin/cli.js
HighShellbin/cli.js
HighSame File Env Network Executionbin/cli.js
HighRuntime Package Installbin/cli.js
HighPayload In Excluded Dirtemplates/qoder/scripts/validation/test/autotest_data.py
MediumSecret Patterntemplates/qoder/config.yaml
MediumNetwork
MediumEnvironment Vars
MediumShips Build Helperbin/install-env.py
MediumStructural Risk Force Deep Review
MediumSecret Patterntemplates/qoder/scripts/domain/kg/sync_repowiki.py
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings