AI Security Review
scanned 2d ago · by lpm-firewall-aiNo confirmed malicious attack surface in this package source. The only executable code is a user-invoked bin launcher for a package-aligned platform binary supplied through optionalDependencies.
Static reason
One or more suspicious static signals were detected.
Trigger
User runs the mastercoder CLI bin
Impact
Executes the resolved mastercoder platform optional-dependency binary with user-supplied CLI arguments
Mechanism
platform binary delegation via spawnSync
Rationale
Static inspection found a package-aligned CLI launcher with no lifecycle execution, persistence, credential access, network behavior, or AI-agent control-surface mutation in this package. The scanner's child_process/runtime install hints are explained by user-invoked platform binary delegation and an error message suggesting npm install, not runtime package installation.
Evidence
package.jsonbin/mastercoder.mjsREADME.md
Decision evidence
public snapshotAI called this Clean at 88.0% confidence as Benign with low false-positive risk.
Evidence for block
- bin/mastercoder.mjs is a CLI wrapper that spawnSyncs a platform optional-dependency executable when user runs the bin
- README.md contains OpenCode install URLs, but they are documentation only and not executed by package code
Evidence against
- package.json has no preinstall/install/postinstall or other lifecycle scripts
- bin/mastercoder.mjs only resolves mastercoder-${platform}-${arch}/bin/mastercoder and passes through argv/stdio
- No source writes files, modifies agent configs, persists hooks/services, harvests env/files, or performs network I/O
- Package contents are limited to package.json, README.md, and bin/mastercoder.mjs
Behavioral surface
ChildProcessShell
UrlStrings
Source & flagged code
2 flagged · loading sourcebin/mastercoder.mjsView file
3// optional dependency) and execs it with full stdio passthrough.
L4: import { spawnSync } from "node:child_process"
L5: import { createRequire } from "node:module"
High
Child Process
Package source references child process execution.
bin/mastercoder.mjsView on unpkg · L33// optional dependency) and execs it with full stdio passthrough.
L4: import { spawnSync } from "node:child_process"
L5: import { createRequire } from "node:module"
...
L14: console.error(`MasterCoder: 이 플랫폼(${os.platform()}-${os.arch()})용 실행 파일을 찾지 못했어요.`)
L15: console.error(`해결: npm install -g mastercoder --force · 안내: https://mastercoder.ai/cli/`)
L16: process.exit(1)
High
Runtime Package Install
Package source invokes a package manager install command at runtime.
bin/mastercoder.mjsView on unpkg · L3Findings
3 High1 Low
HighChild Processbin/mastercoder.mjs
HighShell
HighRuntime Package Installbin/mastercoder.mjs
LowUrl Strings