AI Security Review
scanned 11d ago · by lpm-firewall-aiNo confirmed malicious attack surface is established by source inspection. The package is an autonomous developer-tool CLI with powerful user-invoked setup, update, docs, and agent-management features.
Decision evidence
public snapshot- scripts/cli.ts loads agent .env and exposes user-invoked update/doctor commands using execSync.
- install.sh is a documented curl|bash bootstrap that installs Bun/autodev-ai and appends PI_CODING_AGENT_DIR to shell rc files.
- extensions/autodev/installer/tools.ts can install system tools/package managers when invoked by install/doctor flows.
- extensions/autodev/docs/seeding.ts fetches configured docs URLs or git repos and writes them to the docs corpus.
- extensions/autodev/installer/uninstall-module.ts removes ~/.AutoDev, ~/.pi, ~/.autodev and project state only under explicit uninstall.
- package.json has no preinstall/postinstall lifecycle scripts; bin is a CLI entrypoint only.
- Network calls are package-aligned: LLM/key validation, embeddings, docs seeding, Context7/Grep.app tools, and npm self-update.
- Secrets are prompted/configured locally in extensions/autodev/installer/config-module.ts and validated against their own providers, not sent to unrelated hosts.
- Scanner secret hit in extensions/autodev/debug/__tests__/debug.test.ts is test data used to verify redaction.
- AI-agent/project control files are written during explicit autodev init/config/install actions, not unconsented install-time mutation.
- No evidence of credential harvesting, hidden exfiltration, persistence beyond documented config, or import-time execution.
Source & flagged code
10 flagged · loading sourcePackage contains a critical-looking secret pattern.
extensions/autodev/debug/__tests__/debug.test.tsView on unpkg · L247GitHub personal access token in extensions/autodev/debug/__tests__/debug.test.ts
extensions/autodev/debug/__tests__/debug.test.tsView on unpkg · L247Google API key in extensions/autodev/debug/__tests__/debug.test.ts
extensions/autodev/debug/__tests__/debug.test.tsView on unpkg · L246Package source references child process execution.
extensions/autodev/background/manager.tsView on unpkg · L150Package source references shell execution.
extensions/autodev/docs/seeding.tsView on unpkg · L194Package source invokes a package manager install command at runtime.
extensions/autodev/installer/uninstall-module.tsView on unpkg · L181Source writes installer persistence such as shell profile or service configuration.
extensions/autodev/installer/uninstall-module.tsView on unpkg · L23Source combines credential-like environment material and outbound requests; review data flow before blocking.
extensions/autodev/embeddings.tsView on unpkg · L37Source downloads or fetches remote code and executes it.
extensions/autodev/installer/tools.tsView on unpkg · L1