psypi
A standalone, evidence-grounded social-science research agent — a conversation-driven agent that bundles the Pi runtime with psypi's research contracts, evidence gates, and workflows
This report shows the evidence for psypi@0.3.2. 1 of 2 known versions is blocked or flagged. The newest version, 0.4.1, is flagged. See all versions.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThe package has a concrete unconsented postinstall chain that rewrites a foreign AI-agent dependency. That meets the install-control-surface block boundary.
Decision evidence
public snapshot- postinstall automatically runs the rebranding script.
- The postinstall script resolves and rewrites the bundled Pi coding-agent package.
- It also patches Pi's interactive-mode source without user confirmation.
- The lifecycle script imports only local filesystem/path/URL modules; no exfiltration endpoint is present.
- Observed mutations are branding and piConfig changes, not credential harvesting or payload download.
Source & flagged code
3 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references dynamic require/import behavior.
dist/src/setup.jsView on unpkg · L160Findings
Affected versions and remediation
This report applies to psypi@0.3.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing psypi@0.3.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.