@spuentesp/lain-mcp
Wird - Architectural code intelligence for AI coding agents
This report shows the evidence for @spuentesp/lain-mcp@0.5.0. 1 of 9 known versions is blocked or flagged. The newest version, 0.11.0, is allowed. See all versions.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThe lifecycle hook performs an unconsented postinstall mutation path across foreign AI-agent control surfaces, delegated to an unverified downloaded executable. That meets the firewall block boundary regardless of the package-aligned release host.
Decision evidence
public snapshot- `postinstall` runs `scripts/install.js` automatically during npm installation.
- Installer downloads an unsigned executable release via curl/PowerShell into `~/.lain/bin/lain`.
- When any of six foreign AI-agent config directories exists, installer executes downloaded binary as `lain init --agent auto -y` without consent.
- Auto-init targets Claude, Gemini, Cursor, Windsurf, Cline, and Kimi control surfaces.
- No package-source credential harvesting or explicit exfiltration was found.
- The declared download repository is package-aligned, but the downloaded binary is not present or integrity-checked.
Source & flagged code
3 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 unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
scripts/install.jsFindings
Affected versions and remediation
This report applies to @spuentesp/lain-mcp@0.5.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing @spuentesp/lain-mcp@0.5.0. 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.