AI Security Review
scanned 3h ago · by lpm-firewall-aiNo confirmed malicious or automatic attack surface was established. Dynamic evaluation is confined to the interactive AMIS schema-preview feature, and package-manager actions require an explicit CLI command.
Decision evidence
public snapshot- `src/amis/components/utils/evalScope.ts` evaluates editor-provided scope strings with `new Function` and exposes `axios` in the browser context.
- `src/scripts/index.js` runs `pnpm install`/`pnpm update` only through explicit `hr install` and `hr update-pkg` commands.
- `package.json` has no `preinstall`, `install`, `postinstall`, or `prepare` lifecycle hook.
- The sole bin entry is the user-invoked `hr` CLI at `src/scripts/index.js`.
- CLI child processes are limited to Vite, Node helper scripts, and explicit pnpm dependency commands.
- No source references AI-agent configuration paths, credential stores, tokens, or exfiltration endpoints.
- The large SDK assets are bundled AMIS/Monaco frontend dependencies; no source-backed staged payload behavior was found.
Source & flagged code
10 flagged · loading sourceA single source file combines environment access, network access, and code or shell execution; review context before blocking.
src/assets/amis/sdk/sdk.jsView on unpkg · L1023Package contains a possible secret pattern.
src/assets/amis/sdk/sdk.jsView on unpkg · L2685Package source references dynamic require/import behavior.
src/assets/amis/sdk/sdk.jsView on unpkg · L633This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
src/scripts/index.jsView on unpkgPackage source references child process execution.
src/scripts/index.jsView on unpkg · L5Package source invokes a package manager install command at runtime.
src/scripts/index.jsView on unpkg · L76Package source references a known benign dynamic code generation pattern.
src/amis/components/utils/evalScope.tsView on unpkg · L44Package ships high-entropy non-source blobs.
src/assets/amis/sdk/iconfont.woffView on unpkgPackage contains source files above the static scanner size ceiling.
src/assets/amis/sdk/rest.jsView on unpkg