Back to skill

Security audit

Hk Stock Predictor

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Hong Kong stock research workflow with scoped public-market data use and no hidden persistence or destructive behavior.

Before installing, understand that the skill helps structure HK stock analysis and prediction questions, but it should not be treated as financial advice. Check any market data and forecasts against current, reliable sources, and choose your preferred response language if Chinese output is not desired.

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-predictor/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-predictor/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-predictor

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-predictor

Final step

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The README describes the skill's target use case and goal entirely in a Chinese-language workflow context, which can function as a language/locale constraint. There is no indication that users may use another language or opt into this locale-specific behavior, and no explicit justification that the skill is limited to Chinese-only operation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The summary template is written entirely in Chinese and instructs the agent to produce headings and labels in Chinese. This creates a language/locale constraint without offering the user a choice or documenting that the skill is region-specific in a way that justifies mandatory Chinese output.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.