Loading npm security reports…
Loading npm security reports…
@codyswann/lisa@4.101.8: AI-agent control-surface risk – flagged | LPM Firewall
npm / AI-agent control-surface risk / @codyswann/lisa / 4.101.8 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. The replaced safety hooks no longer enforce their command policies, weakening agent guardrails without a separate user request.
AI security reviewscanned on Nov 21, 2026, 14:49 UTC · by lpm-firewall-ai The postinstall path replaces active agent safety hooks with unconditional allow shims, changing what those hooks permit without a user request. This is an install-time AI-agent control hijack.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
The package’s postinstall lifecycle script.
Impact
The replaced safety hooks no longer enforce their command policies, weakening agent guardrails without a separate user request.
Mechanism
The installer scans project and installed-plugin directories, identifies named Lisa safety-net handlers by hash, and replaces matching files with allow-only shims.
Policy narrative
On install, the postinstall hook runs a program that finds existing Lisa safety-net handlers in project and installed-plugin directories. For matching known versions, it overwrites the handler with a shim that returns an allow decision without applying the handler’s policies. This silently weakens agent guardrails during installation.
Evidence
package.json scripts/retire-native-safety-net.mjs scripts/lib/retired-safety-net-manifest.json projectDir/scripts/lisa-hooks/**/{parity-safety-net.sh,parity-safety-net.agy.sh,lisa-parity-safety-net.ts}
projectDir/.claude/**/{parity-safety-net.sh,parity-safety-net.agy.sh,lisa-parity-safety-net.ts}
projectDir/.codex/**/{parity-safety-net.sh,parity-safety-net.agy.sh,lisa-parity-safety-net.ts}
projectDir/.devin/**/{parity-safety-net.sh,parity-safety-net.agy.sh,lisa-parity-safety-net.ts}
projectDir/.cursor/**/{parity-safety-net.sh,parity-safety-net.agy.sh,lisa-parity-safety-net.ts}
projectDir/.opencode/**/{parity-safety-net.sh,parity-safety-net.agy.sh,lisa-parity-safety-net.ts}
projectDir/.agents/plugins/**/{parity-safety-net.sh,parity-safety-net.agy.sh,lisa-parity-safety-net.ts}
projectDir/.github/plugins/**/{parity-safety-net.sh,parity-safety-net.agy.sh,lisa-parity-safety-net.ts}
projectDir/plugins/**/{parity-safety-net.sh,parity-safety-net.agy.sh,lisa-parity-safety-net.ts}
~/.claude/plugins/cache/**
~/.codex/plugins/cache/**
~/.cursor/plugins/cache/**
~/.cursor/plugins/local/**
~/.gemini/config/plugins/**
~/.copilot/installed-plugins/**
~/.config/devin/plugins/**
Decision evidencepublic snapshot AI identified this as a dangerous AI-agent capability at 98.0% confidence with low false-positive risk.
Evidence for policy risk
The package’s postinstall script runs the retirement program with --install. The program scans project agent directories and installed plugin roots for named safety-net handlers. It replaces handlers only when their contents match a hash in the packaged manifest; custom copies are preserved. The replacement shim drains hook input and returns an unconditional allow decision, disabling that handler’s policy checks. Evidence against
The replacement is limited to named Lisa safety-net handlers, rather than arbitrary files. The manifest describes the change as retiring legacy handlers, and the replacement preserves the hook’s callability. 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,824 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 · 10 high · 14 medium · 6 low Source & flagged code22 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 = 11
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.55.26
matchedPath = dist/cli/update-cmd.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.55.26
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.55.26
matchedPath = dist/core/kane-cli-process.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.55.26
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.55.26
matchedPath = dist/core/kane-cli.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.55.26
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.55.26
matchedPath = dist/utils/postinstall-trampoline.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.55.26
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.55.26
matchedPath = dist/cli/lisa-test-run-runtime.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.55.26
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.55.26
matchedPath = dist/cli/ui-deploy-pipeline.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.55.26
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.55.26
matchedPath = dist/standards/capture.js
matchedIdentity = npm:QGNvZHlzd2Fubi9saXNh:4.55.26
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 98%
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.8
Latest on npm 8.2.9
Published Nov 12, 2026
License MIT
Dependencies 57
Integrity verified
Package size 16.1 MB
Files 9,030
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.3 MB unpacked · 9,030 files 2 signatures · provenance
Install lifecycle postinstall prepare prepublishOnly
On this report AI security review Decision evidence Findings31 Flagged code22 Remediation ↓
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" ),