AI Security Review
scanned 2h ago · by lpm-firewall-aiNo confirmed malicious attack surface in this wrapper package. Runtime behavior is a user-invoked CLI shim that delegates to package-named optional dependency binaries.
Static reason
One or more suspicious static signals were detected.
Trigger
User runs the mastercoder CLI
Impact
Executes the platform-specific MasterCoder binary if installed; wrapper itself does not exfiltrate, persist, or mutate files
Mechanism
platform optional-dependency binary resolution and spawnSync delegation
Rationale
Static inspection shows a narrow CLI launcher with no install-time execution and no concrete malicious behavior in this package. The child_process finding is package-aligned runtime delegation to an optional dependency, while the install command finding is non-executed help text.
Evidence
package.jsonbin/mastercoder.mjsREADME.md
Network endpoints3
mastercoder.aigithub.com/latemonk/mastercoder-cli.gitopencode.ai
Decision evidence
public snapshotAI called this Clean at 90.0% confidence as Benign with low false-positive risk.
Evidence for block
- bin/mastercoder.mjs uses spawnSync to execute a platform-specific optional dependency binary
- README.md appears copied from OpenCode and references opencode.ai rather than mastercoder
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 user CLI args through
- No credential/env harvesting, file enumeration, persistence, destructive logic, eval/vm/Function, or network calls found
- Scanner runtime_package_install is only an error message suggesting npm install -g mastercoder --force, not executed code
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