AI Security Review
scanned 3h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. The CLI can install a remotely resolved `skills@latest` package and Convex agent skills into a user project. It also writes managed AI-assistant guidance files when the user accepts interactive setup or invokes AI-file commands.
Decision evidence
public snapshot- `src/cli/lib/aiFiles/skills.ts` runs `npx --yes skills@latest add get-convex/agent-skills --copy`.
- Default skill targets include `claude-code` and `codex`, which can modify AI-agent instruction surfaces.
- `src/cli/lib/aiFiles/index.ts` installs skills and writes managed `AGENTS.md`, `CLAUDE.md`, and `.convex/ai` files.
- Interactive project setup prompts for AI files with a default-yes response, then performs installation.
- `package.json` has no `preinstall`, `install`, `postinstall`, or `prepare` lifecycle hook.
- AI setup is limited to an interactive configuration flow or explicit `convex ai-files` commands.
- Reviewed login traffic is Convex authentication/version API use; no credential harvesting or unrelated exfiltration was found.
- Removal targets Convex-managed sections/skills and is exposed through an explicit `ai-files remove` command.
Source & flagged code
9 flagged · loading sourcePackage source references child process execution.
dist/esm/cli/deploymentCreate.jsView on unpkg · L1Package source references dynamic require/import behavior.
dist/esm/cli/lib/utils/utils.jsView on unpkg · L311A single source file combines environment access, network access, and code or shell execution with blocking evidence.
src/cli/lib/login.tsView on unpkg · L26Source appears to send environment or credential material to an external endpoint.
dist/esm/cli/lib/login.jsView on unpkg · L11Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/esm/cli/lib/login.jsView on unpkg · L11Package source invokes a package manager install command at runtime.
dist/esm/cli/lib/aiFiles/skills.jsView on unpkg · L96Package contains source files above the static scanner size ceiling.
dist/cli.bundle.cjsView on unpkgRSA private key in src/cli/lib/formatEnvValueForDotfile.test.ts
src/cli/lib/formatEnvValueForDotfile.test.tsView on unpkg · L116