Loading npm security reports…
Loading npm security reports…
@codyswann/lisa@4.96.1: AI-agent control-surface risk – flagged | LPM Firewall
npm / AI-agent control-surface risk / @codyswann/lisa / 4.96.1 Governance-as-code for AI coding agents: turns a repository into agent-operated software factories with guardrails, guidance and automated enforcement for Claude Code, Codex, Cursor, OpenCode, Antigravity, Copilot and Devin
Soft block: AI-agent control surface
Warn by default; block when configured. A safety-net hook that previously blocked actions can be made to allow them by default, weakening agent safeguards without a user request.
AI security reviewscanned on Nov 18, 2026, 02:21 UTC · by lpm-firewall-ai The reachable postinstall hook modifies agent/plugin handler files and can replace safety-net guards with an unconditional allow response. Hash matching limits the targets to known files, but the weakening occurs automatically during installation and changes agent control behavior.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
Package installation runs the postinstall script with --install.
Impact
A safety-net hook that previously blocked actions can be made to allow them by default, weakening agent safeguards without a user request.
Mechanism
The script searches project agent/plugin locations and installed plugin caches, then atomically replaces target files whose hashes match its retirement manifest. A replacement handler drains input and returns an allow decision.
Policy narrative
During postinstall, the package scans project and installed agent plugin locations for safety-net handler files. When a file matches a manifest hash, it replaces the handler with a shim that drains the input and returns an allow decision. This silently disables the matching guard on installation.
Evidence
package.json scripts/retire-native-safety-net.mjs scripts/lib/retired-safety-net-manifest.json
project scripts/lisa-hooks and agent/plugin directories (.claude, .codex, .devin, .cursor, .opencode, .agents/plugins, .github/plugins, plugins)
installed agent plugin caches under ~/.claude, ~/.codex, ~/.cursor, ~/.gemini, ~/.copilot, and ~/.config/devin
Decision evidencepublic snapshot AI identified this as a dangerous AI-agent capability at 97.0% confidence with low false-positive risk.
Evidence for policy risk
The postinstall lifecycle runs scripts/retire-native-safety-net.mjs with --install. The script scans project agent and plugin directories, plus installed plugin caches, for named safety-net handlers and replaces matching files when their hashes appear in its manifest. A replacement safety-net handler consumes input and returns an unconditional allow decision, disabling that guard without a user command. Evidence against
Replacement is limited to regular files whose contents match a hash in the package manifest; custom or changed files are preserved. The script documents that it retires Lisa safety-net handlers and leaves unrelated guards enabled. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell
Supply chain High entropy strings · URL strings
Manifest No manifest risk signals triggered.
Scanned 1,764 files · 20.6 MB of source
28 external domains referenced
127.0.0.1 agents.md antigravity.google api.atlassian.com api.expo.dev api.figma.com api.github.com api.linear.app awscli.amazonaws.com chatgpt.com claude.ai cli.doppler.com cursor.com deb.nodesource.com download.docker.com github.com in-toto.io invalid.invalid lisa.dev mcp.figma.com opencode.ai other.example raw.githubusercontent.com registry.npmjs.org sentry.io storage.googleapis.com token.actions.githubusercontent.com www.coderabbit.ai Findings1 critical · 15 high · 14 medium · 6 low Source & flagged code27 flagged High Install time lifecycle scripts
Package defines install-time lifecycle scripts.
package.json View on unpkg Medium Ambiguous install lifecycle script
Install-time lifecycle script is not statically allowlisted and needs review.
package.json View on unpkg Shared scanner record · 2 findings · 1 line scripts.postinstall = node ./scripts/retire-native-safety-net.mjs --install || exit $?; npm[redacted]=postinstall bash ./scripts/install-claude-plugins.sh || true; node ./scripts/install-generated...
harper-fabric/create-only/.github/workflows/deploy.yml View file Medium Secret pattern
Package contains a possible secret pattern.
harper-fabric/create-only/.github/workflows/deploy.yml View on unpkg · L202 Code excerpt · 3 lines 202 patternName = generic_password
severity = medium
line = 202
harper-fabric/copy-overwrite/eslint.config.ts View file Medium Dynamic require
Package source references dynamic require/import behavior.
harper-fabric/copy-overwrite/eslint.config.ts View on unpkg · L32 Code excerpt · 2 lines 33 const require = createRequire (import .meta.url);
34 const __filename = fileURLToPath (import .meta.url);
Medium Unsafe vm context
Package source executes code through a VM context API.
scripts/check-ui-demo-data.mjs View on unpkg · L89 Code excerpt · 3 lines 89 });
90 process.stdout.write (
91 `[ui-demo-data] PASS: inspected ${inspection.audit.inspected} rendered values across ${inspection.audit.sections} sections\n`
scripts/retire-native-safety-net.mjs View file Critical AI agent control hijack
Source creates an unconsented AI-agent control surface through install-time mutation or a default unauthenticated remote skill channel.
scripts/retire-native-safety-net.mjs View on unpkg · L18 Code excerpt · 12 lines 18 unlinkSync,
19 writeFileSync,
20 } from "node:fs" ;
⋯
44 path.join (
45 env.CLAUDE_CODE_PLUGIN_CACHE_DIR ||
46 path.join (
47 env.CLAUDE_CONFIG_DIR || path.join (home, ".claude" ),
48 "plugins"
⋯
51 ),
52 path.join (env.CODEX_HOME || path.join (home, ), ),
harper-fabric/create-only/scripts/zap-baseline.sh View file Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
harper-fabric/create-only/scripts/zap-baseline.sh View on unpkg Scanner record · 4 lines path = harper-fabric/create-only/scripts/zap-baseline.sh
kind = build_helper
sizeBytes = 5104
magicHex = [redacted]
plugins/lisa-expo/.codex-plugin/skills/container-view-pattern/scripts/validate_component.py View file High Payload in excluded dir
Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.
plugins/lisa-expo/.codex-plugin/skills/container-view-pattern/scripts/validate_component.py View on unpkg Scanner record · 4 lines path = plugins/lisa-expo/.codex-plugin/skills/container-view-pattern/scripts/validate_component.py
kind = payload_in_excluded_dir
sizeBytes = 13103
magicHex = [redacted]
all/copy-overwrite/scripts/lib/automation-provenance-contract.mjs View file High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
all/copy-overwrite/scripts/lib/automation-provenance-contract.mjs View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_trace_path_limit_exceeded; limitedFiles = 10
all/copy-overwrite/scripts/lib/lisa-cleanup-sweep-processes.mjs View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
all/copy-overwrite/scripts/lib/lisa-cleanup-sweep-processes.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @codyswann/lisa@4.97.3
matchedPath = all/copy-overwrite/scripts/lib/lisa-cleanup-sweep-processes.mjs
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.97.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli/doctor-coderabbit.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @codyswann/lisa@4.97.3
matchedPath = dist/cli/doctor-coderabbit.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.97.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli/setup-project.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @codyswann/lisa@4.97.3
matchedPath = dist/cli/setup-project.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.97.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli/update-cmd.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @codyswann/lisa@4.97.3
matchedPath = dist/cli/update-cmd.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.97.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/kane-cli-process.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @codyswann/lisa@4.97.3
matchedPath = dist/core/kane-cli-process.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.97.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/kane-cli.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @codyswann/lisa@4.97.3
matchedPath = dist/core/kane-cli.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.97.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/standards/git-state.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @codyswann/lisa@2.342.4
matchedPath = dist/standards/git-state.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:2.342.4
similarity = 1.000
summary = normalized source hash matched finalized malicious source
dist/utils/postinstall-trampoline.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/utils/postinstall-trampoline.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @codyswann/lisa@4.97.3
matchedPath = dist/utils/postinstall-trampoline.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.97.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli/lisa-test-run-runtime.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @codyswann/lisa@4.97.3
matchedPath = dist/cli/lisa-test-run-runtime.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.97.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli/ui-deploy-pipeline.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @codyswann/lisa@4.97.3
matchedPath = dist/cli/ui-deploy-pipeline.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.97.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/standards/capture.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @codyswann/lisa@4.97.3
matchedPath = dist/standards/capture.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.97.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
all/copy-overwrite/scripts/lib/lisa-cleanup-sweep.mjs View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
all/copy-overwrite/scripts/lib/lisa-cleanup-sweep.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @codyswann/lisa@4.97.3
matchedPath = all/copy-overwrite/scripts/lib/lisa-cleanup-sweep.mjs
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.97.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
plugins/lisa-wiki-copilot/scripts/wiki-safety.mjs View file Medium Secret pattern
Hardcoded password in plugins/lisa-wiki-copilot/scripts/wiki-safety.mjs
plugins/lisa-wiki-copilot/scripts/wiki-safety.mjs View on unpkg · L14 Code excerpt · 3 lines 14 patternName = generic_password
severity = medium
line = 14
plugins/lisa-wiki/scripts/wiki-safety.mjs View file Medium Secret pattern
Hardcoded password in plugins/lisa-wiki/scripts/wiki-safety.mjs
plugins/lisa-wiki/scripts/wiki-safety.mjs View on unpkg · L14 Code excerpt · 3 lines 14 patternName = generic_password
severity = medium
line = 14
plugins/lisa-wiki-agy/scripts/wiki-safety.mjs View file Medium Secret pattern
Hardcoded password in plugins/lisa-wiki-agy/scripts/wiki-safety.mjs
plugins/lisa-wiki-agy/scripts/wiki-safety.mjs View on unpkg · L14 Code excerpt · 3 lines 14 patternName = generic_password
severity = medium
line = 14
plugins/lisa-wiki-cursor/scripts/wiki-safety.mjs View file Medium Secret pattern
Hardcoded password in plugins/lisa-wiki-cursor/scripts/wiki-safety.mjs
plugins/lisa-wiki-cursor/scripts/wiki-safety.mjs View on unpkg · L14 Code excerpt · 3 lines 14 patternName = generic_password
severity = medium
line = 14
plugins/lisa-wiki-devin/scripts/wiki-safety.mjs View file Medium Secret pattern
Hardcoded password in plugins/lisa-wiki-devin/scripts/wiki-safety.mjs
plugins/lisa-wiki-devin/scripts/wiki-safety.mjs View on unpkg · L14 Code excerpt · 3 lines 14 patternName = generic_password
severity = medium
line = 14
plugins/src/wiki/scripts/wiki-safety.mjs View file Medium Secret pattern
Hardcoded password in plugins/src/wiki/scripts/wiki-safety.mjs
plugins/src/wiki/scripts/wiki-safety.mjs View on unpkg · L14 Code excerpt · 3 lines 14 patternName = generic_password
severity = medium
line = 14
AI assessment confidence 97%
Certainty of the AI review, not severity.
Verdict details False-positive risk, Review stage, Firewall policy This finding concerns changes to an AI agent's instructions or configuration without explicit user action. It does not by itself establish malware intent. The CLI warns by default and blocks when configured for this policy.
Package metadata npm Author Cody Swann
Version 4.96.1
Latest on npm 6.0.0
Published Nov 8, 2026
License MIT
Dependencies 56
Integrity verified
Package size 15.8 MB
Files 8,890
Keywords claude claude-code governance linting configuration
Runtime surface package.json Entrypoints main → dist/index.js types → ./dist/index.d.ts exports map bin → lisa, lisa-test-run, setup-deploy-key
Runtime bun 1.4.4 npm please-use-bun node 24.21.0 pnpm please-use-bun yarn please-use-bun
Artifact 67.9 MB unpacked · 8,890 files 2 signatures · provenance
Install lifecycle postinstall prepare prepublishOnly
On this report AI security review Decision evidence Findings36 Flagged code27 Remediation Code↓
Package metadata 9 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
".codex"
"plugins/cache"
53 path.join (home, ".cursor/plugins/cache" ),