@tekmidian/pai@0.66.0
PAI Knowledge OS — Personal AI Infrastructure with federated memory and project management
AI Security Review
scanned 11d ago · by lpm-firewall-aiThe inspected risk is an explicit user-invoked agent configuration change, which warrants a warning under the agent capability policy. The manifest and reviewed source do not establish an automatic install-time attack or credential exfiltration.
Decision evidence
public snapshot- The explicit `pai worker fallback on` command changes Claude Code settings for future processes.
- The fallback uses the configured provider endpoint and token, then writes them into Claude Code settings.
- The notification hook sends only its message to ntfy.sh when NTFY_TOPIC is configured; no credential forwarding is shown.
- The manifest has no install, preinstall, or postinstall hook; its prepublishOnly command is a build and worker command.
- The flagged settings mutation is exposed through an explicit CLI command with matching off and status actions.
Source & flagged code
13 flagged · loading sourcePackage source references child process execution.
dist/server-DgmAHyFK.mjsView on unpkg · L5Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/program-DSETzrWg.mjsView on unpkgManifest-trigger-reachable source writes behavior-bearing configuration into a user or project AI-agent control surface.
dist/program-DSETzrWg.mjsView on unpkgSource spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/program-DSETzrWg.mjsView on unpkg · L33A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/program-DSETzrWg.mjsView on unpkg · L33Source writes installer persistence such as shell profile or service configuration.
dist/program-DSETzrWg.mjsView on unpkg · L33Package source references dynamic require/import behavior.
scripts/build-docs.mjsView on unpkg · L335Source 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.
dist/server-DgmAHyFK.mjs#virtual:normalized:round1View on unpkgFindings
Affected versions and remediation
This report applies to @tekmidian/pai@0.66.0.
See all versions of @tekmidian/pai for other recorded verdicts.
- Review the evidence and your use of @tekmidian/pai@0.66.0 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.