AI Security Review
scanned 3h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. The package performs install-time AI-agent extension setup by writing a package-owned skill into Codex, Claude, and cc-switch skill directories. This creates lifecycle risk, but source inspection did not show exfiltration, stealth persistence, or remote code execution beyond user/agent-invoked CLI and npm install behavior.
Decision evidence
public snapshot- package.json defines postinstall: node install.mjs.
- install.mjs copies skills/lj-awb into ~/.codex/skills/lj-awb, ~/.claude/skills/lj-awb, and ~/.cc-switch/skills/lj-awb by default.
- install.mjs removes existing target skill dirs with rmSync before copying package files.
- skills/lj-awb/SKILL.md instructs agents to run scripts/resolve-lj-awb-cmd.sh; that script can run npm install -g @lingjingai/lj-awb-cli@<version>.
- packages/awb-core/src/api.js sends authenticated API requests with X-Access-Key to animeworkbench-pre.lingjingai.cn when user invokes CLI commands.
- No credential harvesting beyond package-specific LINGJING_AWB_ACCESS_KEY/auth.json use was found in inspected auth/common/api code.
- Network endpoints are aligned with the Lingjing AWB CLI purpose and are used by explicit CLI commands.
- packages/awb-cli/bin/lj-awb.js only re-execs itself with NODE_EXTRA_CA_CERTS and then runs the local standalone CLI.
- The installed skill is package-owned first-party lj-awb guidance, not a hidden foreign prompt payload.
- No eval/vm, remote payload loading, destructive project deletion, or broad file exfiltration was identified.
Source & flagged code
6 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgSource writes installer persistence such as shell profile or service configuration.
packages/awb-core/src/common.jsView on unpkg · L6Package source references weak cryptographic algorithms.
packages/awb-core/src/common.jsView on unpkg · L6Install-time source drops package-supplied AI-agent/MCP control files or instructions.
install.mjsView on unpkg · L1Package ships non-JavaScript build or shell helper files.
skills/lj-awb/scripts/resolve-lj-awb-cmd.shView on unpkg