AI Security Review
scanned 11d ago · by lpm-firewall-aiNo confirmed malicious attack surface was established. The package is a high-privilege developer automation CLI with user-invoked installers, credential configuration, docs fetching, and uninstall cleanup.
Decision evidence
public snapshot- scripts/cli.ts exposes user-invoked commands that run execSync for doctor/update/uninstall, including global self-update and cache deletion.
- extensions/autodev/installer/tools.ts can bootstrap Homebrew via curl|bash and install system tools, but only from installer/doctor flows.
- extensions/autodev/installer/config-module.ts prompts for API tokens and writes them to agent .env/auth files; key validation sends tokens only to matching provider endpoints.
- extensions/autodev/docs/seeding.ts fetches or git-clones configured docs sources into a docs corpus.
- extensions/autodev/installer/uninstall-module.ts removes ~/.AutoDev, ~/.pi, ~/.autodev and shell rc env lines when `autodev uninstall` is invoked.
- package.json has no preinstall/install/postinstall lifecycle hooks; execution is via bin `autodev`.
- scripts/cli.ts loads local agent .env but does not exfiltrate it; networked operations are explicit config/update/docs commands.
- extensions/autodev/embeddings.ts sends document/query text to VoyageAI only when VOYAGE_API_KEY is set, aligned with embeddings feature.
- extensions/autodev/debug/__tests__/debug.test.ts contains fake test secret strings used to verify redaction, not live credentials.
- No import-time persistence or unconsented AI-agent control-surface mutation found in inspected entrypoints.
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