Bawwab's static rules found patterns that deserve a human look. This is not a finding that the package is malicious; the review notes below say what each pattern turned out to be.
install-script: Runs code at install time med
package.json:46
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesOWASP Agentic ASI05 Unexpected Code Execution (RCE)MITRE ATLAS AML.T0010.001 Supply Chain Compromise: SoftwareMITRE ATLAS AML.T0011.001 User Execution: Malicious Package
husky
What this means: Install hooks run automatically with your privileges before you can review anything.
The rule's general advice: Read the script; prefer packages with no install hooks. (see the review note for this case)
Known false alarm
The 'prepare' script runs husky, which only sets up the repository's git hooks for developers. It doesn't download or send anything.
Reviewed by Claude (AI-assisted review), 2026-11-21
exfil.combo: Reads credentials and makes network calls med
test/test-law-url-config.cjs:37
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0037 Data from Local SystemMITRE ATLAS AML.T0055 Unsecured CredentialsMITRE ATLAS AML.T0025 Exfiltration via Cyber Means
fs.writeFileSync(path.join(tempDir, ".env"), "LAW_API_PROTOCOL=http\n", "utf8")
What this means: Credential access together with outbound requests in one file is the shape of data theft.
The rule's general advice: Do not install unless the flow is understood and benign. (see the review note for this case)
Known false alarm
A unit test writes LAW_API_PROTOCOL=http into a temporary .env and checks the URL builder's output. No secrets and no network.
Reviewed by Claude (AI-assisted review), 2026-11-21
10 low-severity notes (informational, do not affect the result)
files.binary-unscanned: Binary files not analysed low
1 binary file not analysed; use --deep to run in the sandbox
What this means: Prebuilt executables cannot be read by static rules, so what they do is unknown until they run.
What you can do: Use --deep to run the package in the sandbox, or prefer packages built from source.
credential-access: Touches credentials or secrets low
src/lib/law-url-config.ts:1
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI03 Identity and Privilege AbuseOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0055 Unsecured CredentialsMITRE ATLAS AML.T0083 Credentials from AI Agent Configuration
import { config as loadDotenv } from "dotenv"
What this means: Reads files or environment holding keys, tokens or sessions.
What you can do: Confirm the tool needs this; otherwise do not install.
credential-access: Touches credentials or secrets low
src/lib/project-mcp-config.test.ts:15
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI03 Identity and Privilege AbuseOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0055 Unsecured CredentialsMITRE ATLAS AML.T0083 Credentials from AI Agent Configuration
expect((withKeyReference(entry, "vscode").env as Record<string, string>).LAW_OC).toBe("${input:law-oc}")
What this means: Reads files or environment holding keys, tokens or sessions.
What you can do: Confirm the tool needs this; otherwise do not install.
credential-access: Touches credentials or secrets low
test/test-admin-rule.cjs:12
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI03 Identity and Privilege AbuseOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0055 Unsecured CredentialsMITRE ATLAS AML.T0083 Credentials from AI Agent Configuration
const envPath = path.join(__dirname, '..', '.env');
What this means: Reads files or environment holding keys, tokens or sessions.
What you can do: Confirm the tool needs this; otherwise do not install.
credential-access: Touches credentials or secrets low
test/test-all-tools.cjs:14
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI03 Identity and Privilege AbuseOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0055 Unsecured CredentialsMITRE ATLAS AML.T0083 Credentials from AI Agent Configuration
const envPath = path.join(__dirname, '..', '.env');
What this means: Reads files or environment holding keys, tokens or sessions.
What you can do: Confirm the tool needs this; otherwise do not install.
credential-access: Touches credentials or secrets low
test/test-law-url-config.cjs:37
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI03 Identity and Privilege AbuseOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0055 Unsecured CredentialsMITRE ATLAS AML.T0083 Credentials from AI Agent Configuration
fs.writeFileSync(path.join(tempDir, ".env"), "LAW_API_PROTOCOL=http\n", "utf8")
What this means: Reads files or environment holding keys, tokens or sessions.
What you can do: Confirm the tool needs this; otherwise do not install.
credential-access: Touches credentials or secrets low
test/test-ordinance.cjs:13
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI03 Identity and Privilege AbuseOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0055 Unsecured CredentialsMITRE ATLAS AML.T0083 Credentials from AI Agent Configuration
const envPath = path.join(__dirname, '..', '.env');
What this means: Reads files or environment holding keys, tokens or sessions.
What you can do: Confirm the tool needs this; otherwise do not install.
credential-access: Touches credentials or secrets low
test/test-precedent-html-fallback-live.cjs:7
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI03 Identity and Privilege AbuseOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0055 Unsecured CredentialsMITRE ATLAS AML.T0083 Credentials from AI Agent Configuration
dotenv.config({ path: path.resolve(process.cwd(), ".env"), quiet: true })
What this means: Reads files or environment holding keys, tokens or sessions.
What you can do: Confirm the tool needs this; otherwise do not install.
plugin.bundled-mcp: Plugin bundles an MCP server low
.claude-plugin/plugin.json
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0010.005 Supply Chain Compromise: AI Agent Tool
plugin bundles MCP server(s): korean-law
What this means: The plugin installs additional MCP servers that run code on your machine and are not covered by this layer alone.
What you can do: Review each bundled server as if you were installing it separately.
plugin.bundled-mcp: Plugin bundles an MCP server low
plugins/korean-law/.claude-plugin/plugin.json
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0010.005 Supply Chain Compromise: AI Agent Tool
plugin bundles MCP server(s): korean-law
What this means: The plugin installs additional MCP servers that run code on your machine and are not covered by this layer alone.
What you can do: Review each bundled server as if you were installing it separately.