focalapi-cli@1.0.1
让任意 AI Agent 直接调用 focalapi 创作模型的命令行工具
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThe postinstall hook installs this package's own FocalAPI skills into detected agent skill directories, which is first-party agent extension setup rather than malware. Source shows no DNS exfil, unofficial credential redirect, or other hidden attack chain.
Decision evidence
public snapshot- npm postinstall runs scripts/postinstall.cjs, which spawns dist/cli.js connect install --json unless FOCALAPI_SKIP_POSTINSTALL or CI is set.
- connect install copies bundled focalapi-* skills into detected third-party agent skill directories such as .claude/skills and .cursor/skills.
- The primary bundled skill tells agents to route creative work through FocalAPI even when the user does not name it.
- Install-time writes are local skill drops with a managed-skills manifest; they do not change agent provider settings files.
- No DNS lookups, eval, or runtime self-dependency; scanner DNS-exfil and unofficial-gateway labels do not match this source.
- Network use is user-invoked CLI traffic to https://api.focalapi.com (and an npm version check); postinstall does not read API keys or call the network.
- Skills and connect code are first-party FocalAPI extensions with a skip flag, CI skip, and uninstall that only removes unmodified managed skills.
Source & flagged code
7 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 unpkgFindings
Affected versions and remediation
This report applies to focalapi-cli@1.0.1.
See all versions of focalapi-cli for other recorded verdicts.
- Review the evidence and your use of focalapi-cli@1.0.1 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.