copilot-framework@1.6.1
Contract-first Copilot scaffolding and workspace bootstrap scripts for Edenred repositories.
AI Security Review
scanned 6d ago · by lpm-firewall-aiThe package performs unconsented, install-triggered changes to the consumer repository's AI-agent configuration, including instructions and an MCP server registration. This is a concrete control-surface change and supports blocking publication.
Decision evidence
public snapshot- package.json runs scripts/postinstall.js automatically after installation.
- The hook proceeds for repository roots; it skips only development mode, CI, and production, with no user consent check.
- During postinstall, it copies package-authored agent instructions and workspace guidance into the consumer repository.
- It creates or merges .vscode/mcp.json with a package MCP server, activating package-provided tooling in the consumer's Copilot workspace.
- The copied instructions establish default behavior for the consumer's Copilot sessions.
- The MCP configuration registers a copilot-context server that runs the package's dist/index.js with the workspace folder as its COPILOT_REPO.
- The hook skips when CI is true or NODE_ENV is production.
- Existing agent instruction files are preserved, and existing MCP server entries are merged.
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 unpkgFindings
Affected versions and remediation
This report applies to copilot-framework@1.6.1.
See all versions of copilot-framework for other recorded verdicts.
- Avoid installing copilot-framework@1.6.1. 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.