Skills/PyPI/mcp-taiwan-legal-db

mcp-taiwan-legal-db@1.8.3

CAUTION· not started

Publisher claims: "MCP server for Taiwan (ROC) judgments, regulations, Constitutional Court rulings and case files, administrative interpretations, court resolutions, appeal and quasi-judicial decisions, legislative records, legal statistics and scholarship" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry PyPI (MCP server)Publisher lawchat-oss · publishing for 185 daysInstalls 3,999Last detonated 5d ago

Coverage

Not started: dependency install failed; the server itself was not observed.
Tested
the dependency install step · every file read, file written and host contacted by what ran
Not tested
server startup · the tool list · tool behavior

What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Before you give it your token

It will ask for
no credential variables read in the code
Where it talks to
no vendor host named in the codeAlso moj.gov.tw, judicial.gov.tw, mol.gov.tw, pcc.gov.tw, mohw.gov.tw, fsc.gov.tw, mofa.gov.tw, gov.taipei, ntpc.gov.tw, ey.gov.tw, ftc.gov.tw, mof.gov.tw, nat.gov.tw, tipo.gov.tw, moe.gov.tw, moa.gov.tw, moi.gov.tw, moc.gov.tw, nstc.gov.tw, cip.gov.tw, moea.gov.tw, cec.gov.tw, vac.gov.tw, moenv.gov.tw, dgpa.gov.tw, motc.gov.tw, cbc.gov.tw, cy.gov.tw, taichung.gov.tw, kcg.gov.tw — not the publisher's domain; check what for before connecting.
What the honeypot saw
no credential files read · no network
What we could not test
server startup · the tool list · tool behavior

Connect it under the guard. Not started: dependency install failed; the server itself was not observed. The code names no credential variable; the guard pins the network to what the honeypot saw and logs every call.

$vet-skills run --net declared -- uvx mcp-taiwan-legal-db

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-10 and scored it 79/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Collapsed <details> block carrying instructions. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 0 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.1sprocessdependency install exit 1 ·
0.1sclaimednot started: dependency install failed (exit 1); the server itself was not observed
0.1sprocessscript backend runs setup only
0.1sprocessno install scripts to re-run

Static findings

HIGH
Collapsed <details> block carrying instructionsREADME.md:217 · Collapsed <details> block carrying instructions<summary><b><code>get_judgment</code></b></summary> 取得單筆判決的結構化全文。 - 輸入:`jid`(從 `search_judgments` 結果取得)或 `url` - 輸出:`{case_id, court, date, main_text, facts, reFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
Dense URL-encoded contentmcp_server/tests/test_appeals.py:117 · Dense URL-encoded content — may be obfuscating payloads…16</td><td><a href="/Scripts/Su_contents03.aspx?NO=3&amp;ecode=Z00000&amp;ecase=%e6%96%b0%e5%8c%97%e5%ba%9c%e8%a8%b4%e6%b1%ba&amp;eno=1151365070&amp;EANO=1153071048&amp;EDATE=20260916">因違反建築法事件提起訴願</a></td…Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
URL to the cloud instance metadata addressmcp_server/tests/test_regulation_client.py:56 · URL to the cloud instance metadata address — reads the VM's credentials"http://169.254.169.254/latest/meta-data/",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST07
MEDIUM
Access to sensitive file pathsmcp_server/tests/test_appeals.py:44 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesfor bad in ("../../etc/passwd", "1?x=1", "", "GL1&a=b"):Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Dense URL-encoded contentmcp_server/tests/test_literature.py:357 · Dense URL-encoded content — may be obfuscating payloads'<a href="/uploads/asset/data/2/2-%E6%9B%BE%E5%8B%9D%E7%8F%8D%E8%80%81%E5%B8%AB89-164.pdf">改過的標題</a>')Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
Access to sensitive file pathsmcp_server/tests/test_coverage_tier3.py:98 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesfor bad in ("bill:../x", "gazette:../../etc/passwd", "draft:abc", "lispdf:zz", "other:1"):Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedmcp_server/tools/waf_bypass.py:37 · Python subprocess execution detectedproc = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Dense URL-encoded contentmcp_server/tests/test_coverage_tier1.py:19 · Dense URL-encoded content — may be obfuscating payloads"href": "data.aspx?ty=JD&id=TPSV%2c110%2c%e5%8f%b0%e4%b8%8a%2c1000%2c20210310%2c1", "red": 1})Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
Dense URL-encoded contentmcp_server/tests/test_new_interpretation_sources.py:27 · Dense URL-encoded content — may be obfuscating payloads<a href="FLAWDOC03.aspx?rtype=E&ecode=D00701&ecase=%e5%8f%b0%e5%85%a7%e5%9c%8b&eno=1140817216&K1=x">台內國字第 1140817216 號</a></td></tr>Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
Access to sensitive file pathsmcp_server/tests/test_regulation_client.py:58 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"file:///etc/passwd",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Access to sensitive file pathsmcp_server/tests/test_public_sources.py:73 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesawait ai._ncc_get(http, "../../etc/passwd")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Hidden zero-width characters detectedmcp_server/tests/test_coverage_tier1.py:56 · Hidden zero-width characters detected — may conceal contentz.writestr("EnLaw.json", "" + json.dumps({"Laws": laws}))Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST07
MEDIUM
Access to sensitive file pathsmcp_server/tests/test_judicial_doc.py:37 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesresult = await client.get_by_url("file:///etc/passwd")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Dense URL-encoded contentmcp_server/tests/test_appeals.py:118 · Dense URL-encoded content — may be obfuscating payloads…d><td class="date">092.07.15</td><td><a href="/Scripts/Su_contents03.aspx?ecase=%ef%bc%88%e7%84%a1%ef%bc%89&amp;eno=%ef%bc%88%e7%84%a1%ef%bc%8992860171&amp;EANO=92860171">因土地增值稅事件提起訴願</a>…Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
Dense URL-encoded contentmcp_server/tests/test_literature.py:356 · Dense URL-encoded content — may be obfuscating payloadsreturn _html('<a href="/uploads/asset/data/1/1-%E6%B4%AA%E7%91%A9%E5%AE%B9%E8%80%81%E5%B8%AB1-88.pdf">別的題目</a>'Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
Access to sensitive file pathsmcp_server/tests/test_statistics_sentencing.py:83 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files("judicial", "../../etc/passwd"), ("judicial", "267552"), ("judicial", "267552-ZZ"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05

Cost to the agent

Instructions loaded
≈99 tok
1 file · 79 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

No advisories in OSV for mcp-taiwan-legal-db@1.8.3 as of 5d ago. This is the package itself, not its dependencies.

What would make this Verified

1 point to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Unclaimed publisher≈ +8 on the totalClaim lawchat-oss: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  2. Hidden instructions≈ +6 on the totalRemove HTML comments, zero-width characters and white-on-white text that carry instructions. Everything the agent is meant to read should be visible to the person reading the file.
  3. Dense URL-encoded content≈ +2 on the totalPut hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
  4. URL to the cloud instance metadata address≈ +2 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  5. Access to sensitive file paths≈ +2 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  6. Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
Publish a new version to PyPI, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim lawchat-ossPropose a patch to the maintainer