AI Security Review
scanned 2h ago · by lpm-firewall-aiDefault-on telemetry records normal CLI sessions, then a later ordinary CLI invocation silently starts a detached analyzer. The analyzer finds local Codex/Claude transcripts and launches the authenticated `claude` CLI with instructions to read those transcripts and the workspace.
Decision evidence
public snapshot- `src/telemetry/settings.ts` enables telemetry by default when no config exists.
- `dist/astrale.js` calls `beginInvocation` and `maybeTriggerAnalysis` on ordinary non-session CLI starts.
- `src/telemetry/analyze.ts` discovers overlapping Codex/Claude transcripts and directs `claude -p` to inspect them and the workspace.
- `src/telemetry/analyze.ts` permits Claude `Read`, `Glob`, `Grep`, `LS`, and `Bash(astrale:*)`, then logs its output locally.
- `.check-workspace.cjs` is a non-mutating workspace-install guard.
- No preinstall code writes agent configuration or launches network/process payloads.
- The separate `.claude/skills` symlink is only reached through explicit `astrale setup` and avoids clobbering existing paths.
Source & flagged code
9 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references child process execution.
studio/server/agent/claude.tsView on unpkg · L11Package source references a known benign dynamic code generation pattern.
viewer/dist/main.jsView on unpkg · L1Package source references dynamic require/import behavior.
studio/server/introspect/core-extractor.tsView on unpkg · L75A single source file combines environment access, network access, and code or shell execution; review context before blocking.
studio/server/view-dev-server.tsView on unpkg · L150Source combines credential-like environment material and outbound requests; review data flow before blocking.
src/lib/idp.tsView on unpkg · L210Package contains source files above the static scanner size ceiling.
studio/client/dist/assets/index-CyN5G8IA.jsView on unpkgPackage contains an oversized executable-looking CLI entrypoint.
dist/astrale.jsView on unpkg