MCP, MCP server
Cn Law Hub
Cn Law Hub, an MCP server listed in the PlugVet directory.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 8a62d5cbec94, unchanged since the check below.
PERMISSION_DELETE_FILES INSTALL_UNPINNED NETWORK_NO_FIXED_HOST
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
scripts/common/cache.py, line 89
shutil.rmtree(self.dir) - INSTALL_UNPINNED Low
Dependencies use a range or git URL with no lockfile.
requirements.txt, line 1
requests>=2.25.0 - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
scripts/common/ratelimit.py, line 202
**kwargs: Passed to requests.request() / session.request()
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
can delete files.
PERMISSION_DELETE_FILES
scripts/common/cache.py, line 89
shutil.rmtree(self.dir)
scripts/common/docx_utils.py, line 26
result = subprocess.run(
references/kimi_bridge_adapter.md, line 81
result = subprocess.run(
Install and update
Concern
dependencies are not pinned.
INSTALL_UNPINNED
requirements.txt, line 1
requests>=2.25.0
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
scripts/common/ratelimit.py, line 202
**kwargs: Passed to requests.request() / session.request()
scripts/common/ratelimit.py, line 222
resp = requests.request(method, url, headers=headers, **kwargs)
references/api_reference.md, line 200
resp = requests.get(f"{base}/law-search/download/pc?format=docx&bbbs={bbbs}", headers=headers, verify=False)
Show more
references/api_reference.md, line 204
file_resp = requests.get(url, headers={"User-Agent": headers["User-Agent"]}, verify=False)
references/api_reference.md, line 260
fetch("https://flk.npc.gov.cn/law-search/search/flfgDetails?bbbs=YOUR_ID", {
references/api_reference.md, line 275
fetch("https://flk.npc.gov.cn/law-search/search/flfgDetails?bbbs=YOUR_ID", {
references/batch_collection.md, line 48
resp = requests.post(f"{BASE_URL}/law-search/search/list", headers=HEADERS, json=payload, verify=False, timeout=30)
references/batch_collection.md, line 138
resp = requests.get(
references/batch_collection.md, line 151
resp = requests.get(url, headers={"User-Agent": HEADERS["User-Agent"]}, verify=False, timeout=60)
Secrets
Pass
No read of a credential file or secret environment variable found.
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 8a62d5cbec94. can delete files. dependencies are not pinned. can reach a host that is not written as a fixed address.
Date and source
Date checked:
github.com
Commit graded: 8a62d5cbec94489dcb7a661dd0df411742a2a1e2
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.