T09 · Insecure Skill Coding Practices
- Location
check_env_keys.py:2- Finding
API Key Prefixes Are Disclosed Through Diagnostic Output
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This financial research skill is mostly purpose-aligned, but it needs review because it handles API keys, writes local archives and reports, bypasses the platform search tool with direct web requests, and contains unsafe implementation details.
Install only if you are comfortable with a finance-research skill making direct web/API requests, using a Bocha API key, and storing research archives, ETF caches, and reports locally. Avoid running check_env_keys.py with real credentials, treat generated reports as untrusted if commodity names come from external input, and prefer pinned dependencies and HTTPS-only data sources before relying on the output for decisions.
check_env_keys.py:2API Key Prefixes Are Disclosed Through Diagnostic Output
ira/sources.py:94Market Data Is Retrieved Over Unencrypted HTTP Connections
ira/report.py:216Unescaped Commodity Names Permit Stored HTML Injection in Generated Reports
报告日期:{today_str} | 数据来源:CLI 自动化采集 + 公开资料
SKILL.md:266Third-Party Python Dependencies Are Installed Without Version or Integrity Pinning
Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
"Content-Type": "application/json",
}
t0 = time.time()
r = requests.post(url, json=payload, headers=headers, timeout=15)
r.raise_for_status()
data = r.json()
elapsed = time.time() - t0
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.
If the skill persists archives under local workspace paths without clearly declaring file-write behavior, that creates a real undeclared data-retention surface. Hidden persistence can store user prompts, analysis content, or sensitive research context longer than users expect.