Back to skill

Security audit

循古老黄历 · 万年历、农历、每日宜忌与吉时

Security checks for vulnerabilities and agentic risk

Overview

The skill received a benign verdict: scanners found an environment token used in a network request and no declared tool scope, but treated the flagged patterns as expected for its purpose; confidence is medium.

Before installing, consider whether you are comfortable configuring an API key for the skill and allowing its detected environment and network capabilities. Its tool scope is not declared, so the verdict is benign with medium confidence rather than a guarantee of no risk.

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
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
  • 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 (2)

Tainted flow: 'req' from os.environ.get (line 25, credential/environment) → urllib.request.build_opener.open (network output)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.

Content

Scanner excerpt · scripts/huangli.py (reported line 26)May include surrounding context.

python
if not token:
        raise ValueError('请配置 HUANGLI_API_TOKEN,密钥可在 https://www.xungufa.com/apikey/ 创建。')
    req = Request(url, headers={'Authorization': 'Bearer ' + token, 'Accept': 'application/json'})
    with build_opener(NoRedirect()).open(req, timeout=30) as response:
        return json.load(response)

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, network.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.