Back to skill

Security audit

Hong Kong Horse Racing

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill benign with medium confidence: the reported concerns are limited, while incomplete inspection leaves some uncertainty.

The verdict is benign, not a guarantee of safety. Consider that tool permissions are unclear and dependency resolution was not verified. Inspection was partial: 5 of 7 components were scanned, and tool-misuse analysis was incomplete for two files.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (6)

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: 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.

The skill mandates English-only output without user opt-in or a documented justification.

Medium
Category
Output Handling
Confidence
99% confidence
Finding

L012 explicitly requires “English output only,” and L091 reinforces that Chinese names are excluded from output. Although the skill reads an English-language source, it does not justify forcing all responses into English or offer users a language choice.

Content

No source excerpt is available for this finding.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

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

md
- Report odds as unavailable when neither source returns usable values, and expose API errors in `oddsErrors` instead of silently reporting an API source.

### v1.2.4
[](https://github.com/StevenHo1394/openclaw/blob/main/skills/hk-horse-racing/SKILL.md)
- Send the ISO-formatted race date to the HKJC odds API so odds are requested for the intended meeting instead of potentially receiving stale odds.
- Allow the public race-card parser to handle pages that omit WIN/PLA odds columns, so API odds can still be fetched and merged with runner data.
- Document that missing public-card odds columns are supported and missing odds are not estimated.

The race-card tool requires English output without a meaningful language choice or opt-in.

Low
Category
Output Handling
Confidence
99% confidence
Finding

L024–L027 restrict the language parameter to "en" and explicitly state that only English output is supported. The manifest provides neither a user opt-in to English-only output nor a justification for this language restriction.

Content

No source excerpt is available for this finding.

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
83% confidence
Finding

The caret range allows installation of later compatible hkjc-api releases, creating dependency drift unless an enforced lockfile constrains resolution; no lockfile is supplied for review. A compromised eligible release could execute code during installation or when loaded into the agent's Node.js process, although the range itself is not evidence of a compromised package.

Content

Scanner excerpt · package.json (reported line 10)May include surrounding context.

json
"author": "Steven Ho",
  "license": "MIT",
  "dependencies": {
    "hkjc-api": "^1.0.0"
  }
}

Recommendation reason phrases are explicitly fixed to English without a user language choice.

Low
Category
Output Handling
Confidence
96% confidence
Finding

The comment explicitly specifies "fixed English" for the reason phrases, which are used to construct recommendation output. No language opt-in or justification for restricting these explanations to English is provided.

Content

No source excerpt is available for this finding.