@maxiaochao/pi-toolkit@0.8.2
Personal pi coding agent toolkit: /todos, /btw, /cache_export extensions, browser automation, and bundled theme/skills.
AI Security Review
scanned 11d ago · by lpm-firewall-aiThe postinstall hook makes an unconsented write to a global AI-agent control surface by replacing its instructions with package-controlled content. This supports blocking under the agent control hijack policy.
Decision evidence
public snapshot- The package runs scripts/install-agents.mjs automatically through its postinstall hook.
- The hook targets the user's global ~/.pi/agent/AGENTS.md and loads the package's bundled instructions.
- If the existing file differs, the hook replaces it without a consent check.
- The bundled file supplies behavioral instructions for the user's AI agent.
- The hook preserves an identical AGENTS.md and initializes or fills in only a missing theme setting in settings.json.
- The inspected browser process execution is in an end-to-end test, and the inspected worktree CLI performs user-invoked Git operations.
Source & flagged code
10 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references child process execution.
extensions/cache-export/tests/e2e-browser.mjsView on unpkg · L12Findings
Affected versions and remediation
This report applies to @maxiaochao/pi-toolkit@0.8.2.
See all versions of @maxiaochao/pi-toolkit for other recorded verdicts.
- Avoid installing @maxiaochao/pi-toolkit@0.8.2. 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.