Back to skill

Security audit

个股公开数据速读(A股 · akshare)

Security checks for vulnerabilities and agentic risk

Overview

The verdict is benign with medium confidence: scanners found no confirmed malicious behavior, while noting incomplete inspection of a referenced screenshot script and a couple of low-confidence capability concerns.

The verdict is benign, but confidence is medium and inspection was partial: 14 of 15 components were fully inspected, with the screenshot script only partially interpreted and binary examples outside analyzer scope. Before installing, consider whether you trust the skill's scripts and whether its environment access fits your setup; the scan could not verify the host runtime's permission enforcement.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 61)May include surrounding context.

md
node templates/screenshot.js <贴图目录> [--clean] # 截图到 output/;默认保留 HTML,--clean 才删

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 78)May include surrounding context.

md
- 贴图复用「会勇禾口王内容工厂」流水线(`_build.py` + `screenshot.js`)。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 92)May include surrounding context.

md
- `templates/screenshot.js` — 1080×1350 @2x 截图(`--clean` 才删 HTML)

Code capability 'env' detected in scripts/build_report.py but not covered by declared permissions.

High
Category
MCP Least Privilege
Confidence
75% confidence
Finding

The skill uses 'env' capability that is not covered by the declared 'allowed-tools' preapproval. Review the host runtime's actual enforcement policy; runtime permissions are unknown unless separately verified, and this declaration alone does not establish a permission ceiling.

Content

No source excerpt is available for this finding.

Dynamic attribute access via getattr()

Low
Category
Dangerous Code Execution
Confidence
50% confidence
Finding

Dynamic getattr() with a non-literal attribute name can access arbitrary object attributes, potentially bypassing access controls.

Content

Scanner excerpt · scripts/fetch.py (reported line 65)May include surrounding context.

python
# 3) 估值历史 PE/PB/市值band(不同 akshare 版本函数名不同,按序回退)
    def _valuation():
        for fn in ("stock_value_em", "stock_a_indicator_lg"):
            f = getattr(ak, fn, None)
            if f is None:
                continue
            try: