Back to skill

Security audit

福利彩票(welfare-lottery)

Security checks for vulnerabilities and agentic risk

Overview

This skill is a Chinese welfare lottery helper that fetches public official lottery data and does not show hidden access, persistence, or destructive behavior.

Installers should know this skill is China/Chinese-locale oriented, uses Beijing-time lottery schedules, and may activate on broad lottery phrases. Treat its number predictions as entertainment only, as the skill itself disclaims.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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
Findings (5)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The trigger list includes very broad phrases such as '今天彩票'、'最近彩票' and generic lottery-related terms, which can cause the skill to activate when the user did not clearly intend to invoke this specific skill. In an agent environment, overly broad activation increases the chance of unintended tool use, unnecessary web requests, and confusing responses, especially for ambiguous everyday queries.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The file’s docstring and all user-facing output strings are written in Chinese, and the script does not provide any option to select another language or explain that it is intentionally limited to a Chinese-speaking or China-specific context. This is a natural-language locale constraint that can violate language-choice policy when imposed without opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The module docstring, CLI help text, error messages, and output labels are written only in Chinese, which imposes a fixed language/locale on all users. The file does not offer any language selection or explain that the skill is intentionally limited to a Chinese-speaking or region-specific context.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

The instructions require calculating results according to ‘北京时间’ without indicating that the skill is China-specific or offering users a locale/timezone choice. This can be a language/locale policy issue because it hardcodes a regional convention in natural-language behavior rather than documenting a justified region-only scope.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill name is specified only in Chinese ("福利彩票"), which indicates a language-specific presentation in the metadata without any visible user choice or explanation of locale scope. Under the policy, language constraints should be opt-in or clearly justified as region-specific.

Content

No source excerpt is available for this finding.