@chemx/starter-kit@26.9.20-369
Chemical X Protocol: Private drop-in architecture starter kit and capsule generator
AI Security Review
scanned 11d ago · by lpm-firewall-aiThe automatic postinstall mutation of project-local agent configuration is a real lifecycle risk. Because it registers this package’s own MCP server and no separate concrete attack behavior was established, classify it as suspicious and warn rather than block.
Decision evidence
public snapshot- package.json defines a postinstall hook that runs cli/postinstall.js.
- The hook targets the installing project and calls installAllMcpConfigs without a consent check.
- The MCP installer writes a package-owned server entry into the project’s Cursor MCP configuration.
- The installer also writes the server entry into the project’s VS Code MCP configuration.
- When no local starter-kit executable is found, the configured server command is npx -y chemx mcp.
- The source also contains separate project setup behavior: a scaffold copies AGENTS.md only when the destination does not already exist.
- The registered MCP server is the package’s own Chemical X service; the inspected code does not show credential collection, exfiltration, destructive behavior, or a remote payload being fetched and executed by the postinstall hook.
- The package’s separate interactive installer presents MCP setup as a selectable option, but that prompt does not guard the postinstall path.
Source & flagged code
11 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 unpkgPackage contains a critical-looking secret pattern.
cli/errors/errors.spec.jsView on unpkg · L27Findings
Affected versions and remediation
This report applies to @chemx/starter-kit@26.9.20-369.
See all versions of @chemx/starter-kit for other recorded verdicts.
- Review the evidence and your use of @chemx/starter-kit@26.9.20-369 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.