Back to skill

Security audit

kelly-criterion

Security checks for vulnerabilities and agentic risk

Overview

This skill is a simple markdown-only Kelly sizing guide, but it gives actionable stock position sizes while under-disclosing real financial risk.

Review carefully before installing if you might use it for real trades. It does not execute code or access your data, but its position-sizing examples can encourage large allocations and should be treated as educational math, not personalized investment advice.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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 (4)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill gives concrete position-sizing guidance for real trading, including aggressive allocations such as 56% and claims like '不破产' and '最大化复利' without meaningful warnings about estimation error, market risk, slippage, drawdowns, or that the material is educational rather than investment advice. In this context, users could over-trust the formula and take oversized positions based on unreliable subjective inputs, leading to significant financial loss.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The file gives concrete investment position-sizing instructions, including Kelly fractions, A-share trading steps, and a 40% cap, but does not warn that this is not financial advice or that following it can cause real monetary loss. In this context, users may treat the guidance as actionable trading advice and over-allocate capital based on uncertain win-rate and payoff estimates.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

The description and all instructional content are written in Chinese, and there is no indication that the skill supports user language preference or is intentionally limited to a China-specific audience. The policy for natural-language behavior requires either user opt-in for a forced language/locale or clear justification for the restriction.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The file title, headings, and instructions are entirely in Chinese, which imposes a specific language on users. Under the language/locale policy, this should either offer user opt-in or clearly document that the skill is intended for a Chinese-language or region-specific audience.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.