@routerhub/agent-rules
Shared Copilot agent rules and guidelines for RouterHub projects
This report shows the evidence for @routerhub/agent-rules@1.5.247. 63 of 90 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 23d ago · by lpm-firewall-aiThe inspected lifecycle chain performs unconsented install-time mutation of a broad AI-agent control surface, meeting the supplied blocking policy. The personal-file whitelist does not guard the confirmed Copilot write.
Decision evidence
public snapshot- package.json automatically runs postinstall.js after installation.
- postinstall.js locates the consumer project and launches merge.js init there without a consent prompt.
- merge.js initialization calls mergeAgents, which writes consumer Copilot instructions outside the personal-file whitelist gate.
- postinstall.js also appends package-manager settings to the consumer project's .npmrc.
- Personal AGENTS.md and CLAUDE.md generation is gated by a local identity whitelist or environment override; this does not gate Copilot instructions.
Source & flagged code
9 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 file is highly similar to a previously finalized malicious package; route for source-aware review.
postinstall.jsFindings
Affected versions and remediation
This report applies to @routerhub/agent-rules@1.5.247.
The versions list below shows the verdict for each recorded version.
- Avoid installing @routerhub/agent-rules@1.5.247. 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.