Loading npm security reports…
Loading npm security reports…
@codyswann/lisa@4.101.3: AI-agent control-surface risk – flagged | LPM Firewall
npm / AI-agent control-surface risk / @codyswann/lisa / 4.101.3 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. Previously registered safety-net checks may stop blocking tool actions, weakening the user's agent safeguards.
AI security reviewscanned on Nov 18, 2026, 01:41 UTC · by lpm-firewall-ai The postinstall automatically replaces matching legacy safety-net hooks with a shim that unconditionally allows actions. Although it preserves custom files and targets only named handlers, silently disabling these safeguards is an AI-agent control hijack.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
npm postinstall when the package is installed.
Impact
Previously registered safety-net checks may stop blocking tool actions, weakening the user's agent safeguards.
Mechanism
The postinstall runs the retirement script, which searches project and plugin directories for specific hook filenames, verifies their contents against known hashes, and replaces matches with a shim that returns allow.
Policy narrative
During installation, the package searches project and installed plugin trees for named legacy safety-net handlers. For files matching a known hash, it replaces the handler with a shim that drains input and returns an allow decision. This can disable existing agent safety checks without a user request.
Evidence
package.json scripts/retire-native-safety-net.mjs scripts/lib/retired-safety-net-manifest.json scripts/lisa-hooks/<matching handler>
.claude/<matching handler>
.codex/<matching handler>
.devin/<matching handler>
.cursor/<matching handler>
.opencode/<matching handler>
.agents/plugins/<matching handler>
.github/plugins/<matching handler>
plugins/<matching handler>
installed plugin cache handler paths
Decision evidencepublic snapshot AI identified this as a dangerous AI-agent capability at 90.0% confidence with low false-positive risk.
Evidence for policy risk
The package postinstall runs retire-native-safety-net.mjs with --install. The script searches project and installed plugin trees for named safety-net handlers and replaces files whose contents match listed hashes. The replacement shim emits an unconditional allow decision for legacy hook calls. The install-time replacement can disable those safety-net checks without an explicit user command. Evidence against
Files are replaced only when their contents match known hashes; custom versions are preserved. The shim is limited to legacy safety-net handlers, and the package says unrelated guards remain enabled. The reviewed install path shows no network endpoint. 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,819 files · 21.1 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.107.7
matchedPath = all/copy-overwrite/scripts/lib/lisa-cleanup-sweep-processes.mjs
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.107.7
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.107.7
matchedPath = dist/cli/doctor-coderabbit.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.107.7
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.107.7
matchedPath = dist/cli/setup-project.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.107.7
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@2.342.4
matchedPath = dist/cli/update-cmd.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:2.342.4
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@2.342.4
matchedPath = dist/core/kane-cli-process.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:2.342.4
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@2.342.4
matchedPath = dist/core/kane-cli.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.107.7
matchedPath = dist/utils/postinstall-trampoline.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.107.7
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.107.7
matchedPath = dist/cli/lisa-test-run-runtime.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.107.7
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@2.342.4
matchedPath = dist/cli/ui-deploy-pipeline.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:2.342.4
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/audit-lockfile.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @codyswann/lisa@4.107.7
matchedPath = dist/core/audit-lockfile.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.107.7
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@2.342.4
matchedPath = dist/standards/capture.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:2.342.4
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.107.7
matchedPath = all/copy-overwrite/scripts/lib/lisa-cleanup-sweep.mjs
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.107.7
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 90%
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.101.3
Latest on npm 6.0.0
Published Nov 9, 2026
License MIT
Dependencies 57
Integrity verified
Package size 16.1 MB
Files 9,016
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 69.0 MB unpacked · 9,016 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" ),