korean-law-mcp MCP Server Security Report
법제처 국가법령정보를 LLM에서 바로 조회하는 MCP 서버. 법령·판례·조례 검색과 인용 검증 | MCP server for Korean law — search statutes, precedents, and ordinances, and verify citations
Run it securely
Host chrisryugj/korean-law-mcp in a governed environment — SSO in front, every tool call attributed and audited.
Are you the maintainer?
Verify with GitHub to get alerted whenever chrisryugj/korean-law-mcp changes score — and claim the badge for your README.
Claim this serverThe short answer
- Is korean-law-mcp safe to use?
- korean-law-mcp scores 90/100 (grade A) on the Canopii Trust Index — strong posture. It passes 15 of the 21 security controls that apply to it, with no confirmed security failures.
- How reliable is the security score for korean-law-mcp?
- We could evaluate 98% of the controls that apply to korean-law-mcp. Scores are deterministic — the same source always produces the same score — and a partially-scannable server cannot present a high one, because confidence caps the result. The scanner is open source, so this score can be reproduced independently.
- How was korean-law-mcp scored?
- Its published source was scanned against a fixed catalog of weighted security controls covering code safety, committed secrets, dependency vulnerabilities, tool-description integrity, authentication and transport, and maintenance. A confirmed flaw caps the score outright regardless of what else passes. The full rubric is published.
Security controlslatest scored version vmain@3f7c7d8
Each control is evaluated deterministically with evidence. The score is earned from passing controls; a failed guard caps it.
Security controlslatest scored version vmain@3f7c7d8
Each control is evaluated deterministically with evidence. The score is earned from passing controls; a failed guard caps it.
Model–MCP Runtime Guardrails
- WarnStrict JSON Schema Enforcementschemas not strict
Tool inputs are constrained (additionalProperties:false), so unexpected arguments can't be smuggled in.
Fix: Set additionalProperties:false and require explicit parameters on every tool.
- PassIndirect Prompt Injection (IPI) Defensesguardno injection markers
Tool/prompt/resource text is free of hidden instructions that could hijack the agent.
- PassTool Definition Integrityguardtool definitions stable; no risky changes in version history
Every consecutive version pair is diffed for new injection markers or destructive scope — a risky diff anywhere in history is a rug-pull (fail, durable); benign description drift warns.
- PassUser-in-the-Loop / Approval Scopeguardno destructive tool scope
No over-broad or destructive tools (arbitrary shell, bulk-delete) that warrant human approval.
Application Security Checks
- WarnNo path traversalguard48 occurrences
Naive path checks let tools read/write outside intended directories (EscapeRoute-class).
scripts/verify-package.mjs:38scripts/verify-package.mjs:119src/cli.ts:108src/cli.ts:120Fix: Resolve to a canonical path and verify containment; reject ../ and symlinks.
- WarnNo SSRF sinksguard6 occurrences
Fetching tool-supplied URLs can pivot into internal networks and metadata services.
src/lib/external-https-proxy.ts:97src/lib/fetch-with-retry.ts:181src/lib/law-antibot.ts:65src/server/http-server.contract.test.ts:64Fix: Allow-list destinations; reject arbitrary/loopback/link-local URLs.
- WarnHas a security policyno security policy
A SECURITY.md gives a private path to report vulnerabilities.
Fix: Add SECURITY.md with a disclosure contact and process.
- PassNo command-injection sinksguardno sinks found
Untrusted tool input reaching a shell yields remote code execution.
- PassNo dynamic code executionguardno sinks found
eval()/exec()/Function() on tool-derived strings allows arbitrary code execution.
- PassNo unsafe deserializationguardno sinks found
pickle/yaml.load/etc. on untrusted data can execute code.
- PassNo committed secretsguardno secrets found
Hardcoded keys/tokens in published source are live credentials an attacker can use.
- PassCredentials sourced from environmentreads credentials from environment
Reading secrets from env/secret stores avoids hardcoding them.
- PassNo known-vulnerable dependencies178 runtime deps, no known CVEs
Runtime dependencies (parsed from the lockfile) are scanned against OSV.dev for published CVEs. Advisory: flagged dependencies lower the score but don't hard-cap it, since transitive reachability is unproven.
- PassDependencies pinned (lockfile)lockfile present
A lockfile makes installs reproducible and resistant to silent dependency swaps.
- PassActively maintainedrecent commits
Unmaintained servers don't receive security fixes.
- PassRepository not archivedguardactive
Archived repositories will never be patched.
- PassDeclares a licenseMIT
A clear license is required for legal enterprise use.
- PassAdoption & popularityestablished adoption
A small, capped nudge from stars/downloads — widely-used servers get more eyes on bugs. It can never offset a real security failure.
- Not checkedSigned releasesnot evaluated
Signed releases let consumers verify artifacts weren't tampered with.
- N/ANo install/post-install scriptsguardno published package
install hooks run arbitrary code on every consumer at install time.
- N/APackage name not typosquattingguardno published package
Names mimicking popular packages are a common malware delivery vector.
- N/APublished with provenanceno published package
Build provenance attests the artifact was built from the claimed source by CI.
- N/AEstablished maintainerno published package
Brand-new / single anonymous maintainers raise takeover and malware risk.
Transport & Trust Model
- WarnNetwork Exposurebinds 0.0.0.0
Binding 0.0.0.0 or exposing debug inspectors widens the attack surface.
Fix: Bind to 127.0.0.1 by default; never ship open debug endpoints.
- PassExecution Sandboxingcontainerized
A container/sandbox image limits blast radius; a server that runs natively has full host access.
- N/ATransport Encryption (TLS)guardno remote endpoints
Plaintext HTTP exposes traffic and bearer tokens to interception.
- N/AIAM / Authentication Scopingno remote endpoints
OAuth 2.1 / Protected Resource Metadata gates who can invoke tools.
- N/ALive Endpoint Reachablenot dynamically scanned
A dynamic scan connected to the declared remote endpoint and it responded — verified live, not a dead URL.
- N/AAuthentication Enforced (live)not dynamically scanned
If the server declares auth is required, it must actually reject anonymous clients. Serving tools to unauthenticated callers is a real exposure.
Embed this score
Add the live badge to your README — it updates automatically on every rescan.
[](https://index.canopii.dev/server/chrisryugj/korean-law-mcp)<a href="https://index.canopii.dev/server/chrisryugj/korean-law-mcp"><img src="https://index.canopii.dev/api/badge/chrisryugj/korean-law-mcp" alt="Canopii Trust Score" /></a>Versions
| Version | Score | Status | Published |
|---|---|---|---|
| vmain@3f7c7d8latest | 90A | scored | 11/3/2026 |
| vmain@5be1138 | 90A | scored | 11/1/2026 |
| vmain@f2afe2f | 90A | scored | 10/31/2026 |
| vmain@69de3b6 | 85B | scored | 10/29/2026 |
| vmain@32c294e | 90A | scored | 10/26/2026 |
| vmain@00d1fc7 | 85B | scored | 10/25/2026 |
| vmain@b38edeb | 85B | scored | 10/24/2026 |
| vmain@0a8f08e | 90A | scored | 10/14/2026 |
| vmain@c6feff0 | 90A | scored | 10/11/2026 |
| vmain@c641ce9 | 85B | scored | 10/10/2026 |
| vmain@fe834b8 | 87B | scored | 10/5/2026 |
| vmain@ff33a71 | 85B | scored | 10/1/2026 |
| vmain@ab67977 | 87B | scored | 10/1/2026 |
| vmain@b9e0aad | 87B | scored | 9/29/2026 |
| vmain@11359d6 | 85B | scored | 9/28/2026 |
| vmain@efbf82c | 87B | scored | 9/23/2026 |
| vmain@d4689a1 | 85B | scored | 9/22/2026 |
| vmain@167660f | 87B | scored | 9/21/2026 |
| vmain@c986468 | 87B | scored | 9/12/2026 |
| vmain@e3b6db1 | 87B | scored | 9/10/2026 |
| vmain@486c263 | 87B | scored | 9/8/2026 |
| vmain@ba10add | 87B | scored | 9/6/2026 |
| vmain@1c55f94 | 87B | scored | 8/29/2026 |
| vmain@cc2c2f0 | 87B | scored | 8/20/2026 |
| vmain@ee8d629 | 87B | scored | 8/19/2026 |
| vmain@dd49659 | 85B | scored | 8/17/2026 |
| vmain@e667e9c | 87B | scored | 8/16/2026 |
| vmain@71e9f3d | 85B | scored | 8/13/2026 |
| vmain@ad2d620 | 87B | scored | 8/12/2026 |
| vmain@2887dd1 | 87B | scored | 8/7/2026 |
Wondering how this compares? The MCP Security Index tracks grade distribution, committed secrets, and missing authentication across the whole ecosystem, refreshed monthly.