focalapi-cli@1.0.5
让任意 AI Agent 直接调用 focalapi 创作模型的命令行工具
AI Security Review
scanned 1mo ago · by lpm-firewall-ainpm postinstall automatically installs this package's own FocalAPI skills into detected third-party agent skill directories, which is first-party extension setup rather than provider hijack or secret theft. Scanner DNS and credential-redirect labels do not match the source: the dummy host is a path allowlist, and API keys go to api.focalapi.com only on explicit login.
Decision evidence
public snapshot- package.json postinstall runs node scripts/postinstall.cjs on npm install.
- postinstall spawns dist/cli.js connect install --json with no user command.
- connect install copies bundled focalapi skill folders into every detected third-party agent skills directory.
- The catalog targets many foreign agents, including Claude Code, Cursor, Codex, and GitHub Copilot.
- Bundled skills tell agents to use FocalAPI for creative work even when the user does not name it.
- Writes only first-party focalapi skill folders and a managed-skills manifest; it does not edit MCP, settings.json, or provider configs.
- Default API host is https://api.focalapi.com; the key is sent only on explicit auth login.
- https://focalapi.invalid is a dummy URL base used to reject off-site request paths, not DNS exfiltration.
- Postinstall is skipped when FOCALAPI_SKIP_POSTINSTALL or CI is set, and a failed connect does not fail npm install.
- No eval, obfuscation, runtime self-dependency, or harvesting of unrelated environment secrets.
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.5.
See all versions of focalapi-cli for other recorded verdicts.
- Review the evidence and your use of focalapi-cli@1.0.5 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.