Claude Code, Skill
Law Fetch
法规获取与正版核验技能。当用户要求获取法律法规原文/全文/条文、下载法规文本、法规正版核验、条文比对、法规版本确认(现行有效/修正版)、引用条号核对、法规入库知识库归档、补齐法规依据库、国家标准 GB/GB-T 检索获取时使用。触发词:获取法规原文、法规正版核验、条文比对、查最新版法规、国标标准检索。能力覆盖法律/行政法规/部门规章/司法解释的全文获取、条文级正版核验与知识库归档。不适用于:批量抽取法宝数据(平台纪律禁止)、法律意见出具、境外法(仅中国大陆)、订阅库原件导出(API 受 220030 限制需客户端手动)。
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 adf922a53027, unchanged since the check below.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST PERMISSION_SHELL_DECLARED
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
SKILL.md, line 78
code=$(curl -s -o /dev/null -w "%{http_code}" --max-time 8 "https://$h/"); echo "$h -> $code" - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
SKILL.md, line 78
code=$(curl -s -o /dev/null -w "%{http_code}" --max-time 8 "https://$h/"); echo "$h -> $code" - PERMISSION_SHELL_DECLARED Note
Runs shell commands, and the manifest or description says so.
scripts/fetch_laws_data.py, line 23
r = subprocess.run(["curl", "-sL", "--max-time", str(timeout), url, "-o", out],
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
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
scripts/fetch_laws_data.py, line 23
r = subprocess.run(["curl", "-sL", "--max-time", str(timeout), url, "-o", out],
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address. can reach ghproxy.net. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
SKILL.md, line 78
code=$(curl -s -o /dev/null -w "%{http_code}" --max-time 8 "https://$h/"); echo "$h -> $code"
SKILL.md, line 108
curl -sL --max-time 200 "https://ghproxy.net/https://raw.githubusercontent.com/13098806890/laws-data/main/law_index.json" -o ld_index.json
scripts/fetch_laws_data.py, line 21
def fetch(url, out, retries=4, timeout=120):
Show more
scripts/fetch_laws_data.py, line 35
if not fetch(url, tmp, timeout=200):
scripts/fetch_laws_data.py, line 90
if not fetch(url, tmp):
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 adf922a53027. requests shell access. The manifest names this permission. can reach a host that is not written as a fixed address. can reach ghproxy.net. The description does not name that host.
Date and source
Date checked:
github.com
Commit graded: adf922a53027b58ad476760093281045b7197a25
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.