Warn by default; block when configured. This changes AI-agent instructions and available commands outside the package directory, affecting later agent sessions.
AI security review
scanned · by lpm-firewall-ai
The postinstall hook silently writes package-provided skills and commands into user-level AI-agent directories. The package-specific content appears functional, but the unconsented install-time mutation of agent instructions meets the control-hijack rule.
This changes AI-agent instructions and available commands outside the package directory, affecting later agent sessions.
Mechanism
The hook recursively copies package skills and commands to user-level agent directories, replacing matching files.
Policy narrative
On package installation, the postinstall hook silently copies package-provided skills and commands into user-level agent directories. This creates an AI-agent control surface outside the package directory without the user explicitly requesting setup.
AI identified this as a dangerous AI-agent capability at 99.0% confidence with low false-positive risk.
Evidence for policy risk
The package defines a postinstall hook that runs scripts/postinstall-skills.js.
The hook automatically copies skills into ~/.agents/skills and, when present, ~/.claude/skills; it also copies commands into ~/.claude/commands and ~/.codex/prompts.
The copy routine recursively creates target directories and copies package files into them, overwriting existing files with matching names.
The installed skills are instructions for using the mplus CLI and its authenticated services.
Evidence against
The copied skills and commands appear related to this package’s CLI purpose.
The hook does not make network requests in the inspected source.
Behavioral surface
SourceChild process · Dynamic require · Filesystem · Network
Avoid installing @miracleplus/mplus@0.6.16. 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, check your AI agents' configuration and instruction files (the files this report lists) for changes you did not make, and remove them. This finding does not by itself establish malware intent.