domma-js@0.39.2
Dynamic Object Manipulation & Modeling API - A complete front-end toolkit.
AI Security Review
scanned 11d ago · by lpm-firewall-aiThe source confirms install-time mutation of the consumer project's Claude Code files, with a prompt whose blank response accepts the default. Because the setup copies first-party package files and skips existing destinations, this is an agent extension lifecycle risk rather than a confirmed malicious attack.
Decision evidence
public snapshot- The npm postinstall hook runs bin/postinstall.js during installation.
- The hook prompts whether to copy AI assistance files, but treats a blank answer as acceptance because only “n” or “no” cancels.
- After acceptance, the hook copies package-provided Claude files into the consumer project, including a .claude directory when none exists.
- The CLI also exposes an explicit setup-ai command that prompts before copying those files.
- The postinstall exits in CI and unless the working directory is under node_modules; it also skips when no project root or template is found.
- The copy operation skips destinations that already exist, and the CLI setup requires an explicit command.
- The flagged view template is a generated view scaffold with example hooks, not evidence of the flagged attack behavior.
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 domma-js@0.39.2.
See all versions of domma-js for other recorded verdicts.
- Review the evidence and your use of domma-js@0.39.2 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.