Claude Code, Skill
A Share Skill
A股数据分析、量化选股与模拟交易 Skill 集合,支持实时行情、历史K线、技术指标、自定义交易策略与模拟买入、卖出交易账户
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 8874bd1c4681, unchanged since the check below.
NETWORK_NO_FIXED_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.
a-share-data/scripts/Ashare.py, line 10
st= json.loads(requests.get(URL).content); ms='qfq'+unit; stk=st['data'][code] - PERMISSION_SHELL_DECLARED Note
Runs shell commands, and the manifest or description says so.
a-share-data/scripts/check_data_health.py, line 152
proc = subprocess.run(cmd, capture_output=True, text=True, timeout=timeout, env=env)
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
a-share-data/scripts/check_data_health.py, line 152
proc = subprocess.run(cmd, capture_output=True, text=True, timeout=timeout, env=env)
a-share-paper-trading/scripts/full_function_smoke_check.py, line 206
proc = subprocess.Popen(service_cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
a-share-paper-trading/scripts/full_function_smoke_check.py, line 221
subprocess.run(cli + ["create-account", "svc", "--cash", "200000"], check=True, capture_output=True, text=True)
Show more
a-share-paper-trading/scripts/full_function_smoke_check.py, line 222
subprocess.run(cli + ["set-default-account", "svc"], check=True, capture_output=True, text=True)
a-share-paper-trading/scripts/full_function_smoke_check.py, line 223
default_out = subprocess.run(cli + ["show-default-account"], check=True, capture_output=True, text=True).stdout
a-share-paper-trading/scripts/full_function_smoke_check.py, line 225
subprocess.run(cli + ["add-cash", "svc", "10000"], check=True, capture_output=True, text=True)
a-share-paper-trading/scripts/full_function_smoke_check.py, line 226
account_out = subprocess.run(cli + ["show-account", "svc"], check=True, capture_output=True, text=True).stdout
a-share-paper-trading/scripts/full_function_smoke_check.py, line 228
list_out = subprocess.run(cli + ["list-accounts"], check=True, capture_output=True, text=True).stdout
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.
NETWORK_NO_FIXED_HOST
a-share-data/scripts/Ashare.py, line 10
st= json.loads(requests.get(URL).content); ms='qfq'+unit; stk=st['data'][code]
a-share-data/scripts/Ashare.py, line 21
st= json.loads(requests.get(URL).content); buf=st['data'][code]['m'+str(ts)]
a-share-data/scripts/Ashare.py, line 40
dstr= json.loads(requests.get(URL).content);
Show more
a-share-data/scripts/fetch_ah_ipo_timeline.py, line 247
resp = requests.get(
a-share-data/scripts/fetch_ah_ipo_timeline.py, line 343
resp = requests.get(
a-share-data/scripts/test_reference_data.py, line 50
def fetch(url, deadline, **kwargs):
a-share-data/scripts/test_reference_data.py, line 79
def fetch(url, deadline, **kwargs):
a-share-data/scripts/test_reference_data.py, line 94
def fetch(url, deadline, **kwargs):
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 8874bd1c4681. requests shell access. The manifest names this permission. can reach a host that is not written as a fixed address.
Date and source
Date checked:
github.com
Commit graded: 8874bd1c46813ddb188aa293e6f9ae34f016ba4d
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.