focalapi-cli
让任意 AI Agent 直接调用 focalapi 创作模型的命令行工具
This report shows the evidence for focalapi-cli@1.1.4. 14 of 28 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 23d ago · by lpm-firewall-aiThe inspected lifecycle chain performs unconsented postinstall mutation across foreign AI-agent control surfaces, which meets the supplied blocking policy. Transactional writes and package-owned skill content do not remove that automatic broad integration behavior.
Decision evidence
public snapshot- package.json automatically runs scripts/postinstall.cjs after installation.
- The postinstall script invokes connect install without requesting consent.
- The CLI targets foreign agent skill directories, including Claude Code, and selects all detected agents by default.
- The installer copies bundled skills into those directories and replaces existing matching skill directories.
- The installed routing skill directs agents to use FocalAPI even when users do not mention it.
- Installed skill names are restricted to the focalapi prefix, and replacement uses transactional backups.
- The hook can be disabled through environment settings; the inspected integration performs local filesystem operations.
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 appears to send environment or credential material through DNS lookups.
dist/cli.jsView on unpkg · L41A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/cli.jsView on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/cli.jsView on unpkgManifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/cli.jsView on unpkgFindings
Affected versions and remediation
This report applies to focalapi-cli@1.1.4.
The versions list below shows the verdict for each recorded version.
- Avoid installing focalapi-cli@1.1.4. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.