@maxiaochao/pi-toolkit@0.11.22
Personal pi coding agent toolkit: scheduler, /btw, /cache_export, apply_patch, browser automation, and bundled theme/skills.
AI Security Review
scanned 8d ago · by lpm-firewall-aiThe automatically triggered write modifies a global AI-agent control file and can overwrite user instructions without consent. This is an unconsented postinstall change to a broad agent configuration surface, so the package should be blocked.
Decision evidence
public snapshot- package.json runs scripts/install-agents.mjs automatically in postinstall.
- The postinstall script targets the global ~/.pi/agent/AGENTS.md file.
- If that file is missing or differs from the bundled copy, the script overwrites it without asking or checking a saved preference.
- The package supplies its own global AGENTS.md as agent instructions.
- The bundled instructions describe coding guidance and say project-specific instructions override them; the inspected chain showed no network transfer.
Source & flagged code
15 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references dynamic require/import behavior.
packages/worktree/tests/extension.test.mjsView on unpkg · L57Findings
Affected versions and remediation
This report applies to @maxiaochao/pi-toolkit@0.11.22.
See all versions of @maxiaochao/pi-toolkit for other recorded verdicts.
- Avoid installing @maxiaochao/pi-toolkit@0.11.22. 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.