@chemx/create-chemx@26.9.21-227
Chemical X Protocol: Private drop-in architecture starter kit and capsule generator
AI Security Review
scanned 11d ago · by lpm-firewall-aiSource confirms that an npm postinstall automatically writes MCP server configuration into project and user-level AI-agent control surfaces without a consent check. This is concrete install-time control-surface mutation, so the package should be blocked.
Decision evidence
public snapshot- package.json runs cli/postinstall.js during postinstall.
- The postinstall targets the consumer directory and calls installAllMcpConfigs without a consent check.
- The installer writes MCP configuration into project-level Cursor and VS Code files, and also registers Antigravity configuration when its global config directory exists.
- The configured MCP server can fall back to running npx chemx mcp.
- The wizard’s AGENTS.md and .cursorrules writes occur in its explicit wizard flow; they are separate from the postinstall MCP mutation.
- The installer merges a named Chemical X MCP server entry into existing configuration, which is consistent with registering this package’s own tool.
- The installer spec checks that the Chemical X server entry is written to Cursor configuration.
Source & flagged code
10 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/create-chemx@26.9.21-227.
See all versions of @chemx/create-chemx for other recorded verdicts.
- Avoid installing @chemx/create-chemx@26.9.21-227. 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.