@tekmidian/pai@0.66.5
PAI Knowledge OS — Personal AI Infrastructure with federated memory and project management
AI Security Review
scanned 11d ago · by lpm-firewall-aiThe package exposes agent configuration and session-file handling capabilities that merit a warning, but inspected source does not establish an unconsented install-time action or a concrete attack. The manifest's only lifecycle script is `prepublishOnly`.
Decision evidence
public snapshot- package.json defines a `prepublishOnly` script; it shows no npm install hook.
- Agent integration code references Claude configuration and project paths, and hook files resolve a PAI home directory.
- The CLI contains hook-merging logic that adds command hooks to a settings object.
- The cleanup hook archives session transcript files into a `sessions` directory.
- The context hook sends a notification to ntfy.sh only when `NTFY_TOPIC` is set.
- The test describes a command hook that may pass commands through without rewriting them.
- The inspected manifest does not establish an install-time trigger for agent configuration changes.
- The inspected source does not establish credential forwarding to an unrelated recipient or an active attack chain.
Source & flagged code
13 flagged · loading sourcePackage source references child process execution.
dist/main-resolver-SfGGg1DB.mjsView on unpkg · L8Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/program-DB-hoyfW.mjsView on unpkgManifest-trigger-reachable source writes behavior-bearing configuration into a user or project AI-agent control surface.
dist/program-DB-hoyfW.mjsView on unpkgPackage source references dynamic require/import behavior.
scripts/build-docs.mjsView on unpkg · L335Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/context-handover-cache-BbCYQUGo.mjsView on unpkg · L14A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/context-handover-cache-BbCYQUGo.mjsView on unpkg · L14Source writes installer persistence such as shell profile or service configuration.
dist/context-handover-cache-BbCYQUGo.mjsView on unpkg · L14Source appears to send environment or credential material to an external endpoint.
dist/hooks/load-project-context.mjsView on unpkg · L3Runtime or CLI source writes behavior-bearing configuration into a user or project AI-agent control surface.
dist/hooks/cleanup-session-files.mjsView on unpkgPackage ships non-JavaScript build or shell helper files.
tab-color-command.shView on unpkgA bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
src/hooks/ztk-auto.test.ts#virtual:normalized:round1View on unpkgFindings
Affected versions and remediation
This report applies to @tekmidian/pai@0.66.5.
See all versions of @tekmidian/pai for other recorded verdicts.
- Review the evidence and your use of @tekmidian/pai@0.66.5 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.