Back to skill

Security audit

Hk Stock To Gougoubi Prediction

Security checks for vulnerabilities and agentic risk

Overview

This Markdown-only skill coherently helps prepare Hong Kong stock prediction-market proposals and includes clear limits against submitting anything unless the user explicitly asks.

Review each generated market title, deadline, and resolution rule before allowing actual Gougoubi submission, because prediction-market creation can have public or financial consequences. The installation itself appears narrowly scoped, and no hidden code execution or data collection was found.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (6)

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 · INSTALL.md (reported line 13)May include surrounding context.

md
This copies:

- `skills/hk-stock-to-gougoubi-prediction/SKILL.md`

to:

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 · INSTALL.md (reported line 17)May include surrounding context.

md
This copies:

- `skills/hk-stock-to-gougoubi-prediction/SKILL.md`

to:

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
85% 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 · INSTALL.md (reported line 30)May include surrounding context.

Verify

bash
ls -la ~/.codex/skills/hk-stock-to-gougoubi-prediction

Final step

File System Enumeration

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Code scans file system directories looking for sensitive files. This could be reconnaissance for credential theft.

Content

Scanner excerpt · INSTALL.md (reported line 30)May include surrounding context.

Verify

bash
ls -la ~/.codex/skills/hk-stock-to-gougoubi-prediction

Final step

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The stated target use case is written as a Chinese-only workflow (港股分析 -> 预测题收敛 -> Gougoubi 发布参数) with no indication that users may choose another language or locale. This can violate language/locale policy because the skill appears to assume a fixed language context rather than offering an opt-in or alternative.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The Response Format section mandates Chinese headings and field labels, which imposes a specific language on the skill's output. The file does not indicate that this is optional, user-selected, or limited to a justified region-specific compliance requirement.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.