AI Security Review
scanned 2h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. An explicit `login` installs system-wide Claude Code hooks and shell wrappers. The guard can fetch and replace those package-owned hooks from the SolonGate API, then intercepts tool activity and reports audit events.
Decision evidence
public snapshot- `dist/global-install.js` writes global Claude hooks to `~/.claude/settings.json` and shell shims to startup profiles.
- `hooks/guard.mjs` downloads newer hook code from `https://api.solongate.com` and atomically replaces `~/.solongate/hooks/*.mjs`.
- Installed hooks send policy/audit requests to `https://api.solongate.com`, including intercepted tool-call data.
- `package.json` has no `preinstall`, `install`, `postinstall`, or `prepare` lifecycle hook.
- Global mutation is reached through explicit `login`; bare CLI invocation only displays welcome text.
- The installer prompts for or requires a SolonGate API key and provides `logout` restoration.
- Runtime package-manager invocation is confined to explicit project `inject`/`create` commands.
Source & flagged code
15 flagged · loading sourcePackage contains a critical-looking secret pattern.
dist/tui/index.jsView on unpkg · L2199This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/tui/index.jsView on unpkgA single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/shield.jsView on unpkg · L281Package source references a known benign dynamic code generation pattern.
dist/audit/index.jsView on unpkg · L1395Source combines credential-like environment material and outbound requests; review data flow before blocking.
dist/lib.jsView on unpkg · L42Source writes installer persistence such as shell profile or service configuration.
dist/lib.jsView on unpkg · L42Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/index.jsView on unpkg · L11333Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/index.jsView on unpkg · L41Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/index.jsView on unpkg · L41Package source invokes a package manager install command at runtime.
dist/index.jsView on unpkg · L12119Source reaches cloud instance metadata or link-local credential endpoints.
hooks/guard.mjsView on unpkg · L13