Claude Code, Skill
Elab Trading Skills
给 AI Agent 用的投研与交易复盘工具集。
Compatibility: Not stated.
Grade D
Two or more Medium findings, or a High. Only try it in a sandbox.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
NETWORK_HOST_FROM_INPUT SECRETS_PATH_CREDENTIAL
Why this grade
- NETWORK_HOST_FROM_INPUT High
A file takes a URL or endpoint as input and has no fixed host list.
_shared/scripts/broker_profile.py, line 120
with socket.create_connection((host, port), timeout=timeout): - SECRETS_PATH_CREDENTIAL Medium
Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).
scripts/privacy_gate.py, line 30
"credentials.json",
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.
If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.
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/install_runtime.py, line 140
tags = subprocess.check_output(["git", "tag", "--list", "v*"], cwd=repo,
scripts/install_runtime.py, line 148
result = subprocess.run(["git", "show", f"{tag}:{relative}"], cwd=repo,
scripts/install_runtime.py, line 275
shutil.rmtree(scratch)
Show more
scripts/install_runtime.py, line 327
return subprocess.check_output(["git", *args], cwd=repo)
scripts/install_runtime.py, line 353
shutil.rmtree(recovery)
scripts/install_runtime.py, line 358
shutil.rmtree(recovery)
scripts/install_runtime.py, line 361
subprocess.run(["git", "merge", "--ff-only", commit], cwd=repo, check=True)
scripts/install_runtime.py, line 382
subprocess.run(["git", "update-ref", "HEAD", expected_head, after_head], cwd=repo, check=True)
scripts/install_runtime.py, line 390
shutil.rmtree(recovery)
scripts/privacy_gate.py, line 77
raw = subprocess.run(
scripts/privacy_gate.py, line 88
result = subprocess.run(
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Serious
accepts a host from input, with no fixed list in this file.
NETWORK_HOST_FROM_INPUT
_shared/scripts/broker_profile.py, line 120
with socket.create_connection((host, port), timeout=timeout):
elab-research/scripts/edgelab_api.py, line 151
def fetch(endpoint, *, dataset=None, date=None, since=None, until=None, limit=30,
elab-research/scripts/edgelab_api.py, line 199
result = fetch(**args, token_path=token_path, opener=opener)
Show more
elab-futu-research/scripts/futu_research.py, line 438
with urllib.request.urlopen(request, timeout=timeout) as response:
elab-futu-research/scripts/futu_research.py, line 1717
with urllib.request.urlopen(req, timeout=timeout) as response:
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV
scripts/privacy_gate.py, line 26
".env",
scripts/privacy_gate.py, line 30
"credentials.json",
scripts/privacy_gate.py, line 31
"id_rsa",
Show more
scripts/privacy_gate.py, line 112
if path.name.lower() in BLOCKED_FILENAMES or path.name.lower().startswith(".env."):
.gitignore, line 2
*.local.json
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
elab-futu-research/scripts/futu_research.py, line 1
#!/usr/bin/env python3
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 867bc9b4b11b. can delete files. accepts a host from input, with no fixed list in this file. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 867bc9b4b11b97ecafe7bdc886c43097cdc1406b
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.