AI Security Review
scanned 2d ago · by lpm-firewall-aiNo confirmed malicious behavior is present in this package source. The only executable code is a user-invoked CLI shim for platform-specific optional dependency binaries.
Static reason
One or more suspicious static signals were detected.
Trigger
User runs the mastercoder CLI
Impact
Executes the package-aligned optional dependency binary with inherited stdio; no install-time or import-time action found in this package.
Mechanism
platform binary launcher via spawnSync
Rationale
The scanner findings map to a normal CLI launcher pattern and there is no lifecycle hook, persistence, exfiltration, agent-control mutation, or network behavior in the inspected package files. The README/branding mismatch is suspicious packaging hygiene but not concrete attack behavior by itself.
Evidence
package.jsonbin/mastercoder.mjsREADME.mdnode_modules/mastercoder-${platform}-${arch}/bin/mastercoder
Decision evidence
public snapshotAI called this Clean at 86.0% confidence as Benign with low false-positive risk.
Evidence for block
- README.md appears copied from OpenCode while package metadata brands MasterCoder.
- bin/mastercoder.mjs executes a platform optional dependency binary when user runs the CLI.
Evidence against
- package.json has no lifecycle scripts, so no install-time execution.
- bin/mastercoder.mjs only resolves mastercoder-${platform}-${arch}/bin/mastercoder and spawnSyncs it with user CLI args.
- No source writes files, mutates agent control surfaces, reads credentials/env, or performs network requests.
- 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