AI Security Review
scanned 2h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. No confirmed malicious install-time or import-time behavior was found. The remaining risk is explicit user-command mutation of a Cursor agent rule plus project migration/bootstrap actions.
Decision evidence
public snapshot- scripts/migrate/phase-scaffold.ts writes .cursor/rules/migration-tooling-policy.mdc during explicit migration.
- scripts/migrate/templates/cursor-rules.ts generates an alwaysApply Cursor rule pointing agents to upstream policy links.
- scripts/migrate.ts bootstrap runs bun install and codegen commands in the target project after user-invoked migration.
- scripts/sync-blocks-to-kv.ts reads CF_* env vars and writes project decofile snapshots to Cloudflare KV when --write is passed.
- package.json has no preinstall/install/postinstall lifecycle hooks.
- Main/bin entries are CLI/codegen/migration tools, activated by user commands rather than install/import side effects.
- Cloudflare API and purge fetches are package-aligned operational endpoints, using user-provided CF/PURGE credentials.
- generate-blocks.ts only reads .deco/blocks JSON and writes .deco/blocks.gen.{json,ts}.
- Test-only child_process/dynamic require findings are not runtime package behavior.
Source & flagged code
5 flagged · loading sourcePackage source references child process execution.
scripts/audit-observability-config.test.tsView on unpkg · L309Package source references dynamic require/import behavior.
scripts/audit-observability-config.test.tsView on unpkg · L309A single source file combines environment access, network access, and code or shell execution; review context before blocking.
scripts/sync-blocks-to-kv.tsView on unpkg · L55Package source invokes a package manager install command at runtime.
scripts/migrate-to-cf-observability.test.tsView on unpkg · L14This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
scripts/generate-schema.test.tsView on unpkg