Back to skill

Security audit

Training Quiz

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent retail training quiz, but it stores identifiable employee performance records and shares them with managers without clear consent, access control, retention, or deletion rules.

Review this skill before installing in a workplace. It may be appropriate for staff training, but administrators should add clear notice to employees, manager-access rules, retention and deletion policy, and controls around when progress is written to memory.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (8)

Tp4

High
Category
MCP Tool Poisoning
Confidence
89% confidence
Finding

The skill promises interactive training, employee-specific score tracking, and manager reporting, but the described implementation appears to only reference offline question generation and lacks real session/state controls. This mismatch can cause unsafe operator assumptions about what data is collected, stored, or shared, leading to privacy, compliance, and integrity issues when deployed.

Content

No source excerpt is available for this finding.

Vague Triggers

High
Category
Not specified by scanner
Confidence
96% confidence
Finding

The trigger list includes broad phrases like '测试', '练习', 'training', and '我想学', which are common in ordinary conversation and can cause accidental invocation. Unintended activation is risky here because the skill may start tracking employee progress or steer a conversation into training workflows without clear user intent.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
83% confidence
Finding

The skill references a script and describes persistence of training records, yet it declares no explicit tool scope or permissions. That creates an overbroad/implicit capability boundary where file read/write behavior may be available without being transparently constrained, increasing the risk of unintended access to local data or unauthorized record storage.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
85% confidence
Finding

The activation examples and interaction templates are predominantly in Chinese, and the session output script is explicitly written in Chinese without stating that the skill is China-specific or providing a language choice. This can violate language/locale policy when a skill implicitly enforces one language for all users.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill explicitly stores per-employee identifiers, session history, badges, and reports progress to managers, but it provides no warning, consent flow, or privacy notice. This creates a real privacy and employment-data handling risk, especially if staff are unaware that identifiable performance records are retained and shared.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

This markdown file includes question templates and examples entirely in Chinese, such as the user-facing prompts on L010 and the examples on L015-L017, without stating that language selection is optional. Under the policy rule, forcing a specific language without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The generated quiz content is hard-coded in Chinese across multiple question templates and answer strings, but the script does not provide any language selection or explain that it is intentionally limited to a Chinese-only retail context. This creates a natural-language policy concern because it imposes a specific language on all users without opt-in.

Content

No source excerpt is available for this finding.

Dynamic import via __import__()

Medium
Category
Dangerous Code Execution
Confidence
75% confidence
Finding

Dynamic import() can load arbitrary modules at runtime, bypassing static analysis and potentially importing malicious code.

Content

Scanner excerpt · scripts/generate_questions.py (reported line 280)May include surrounding context.

python
output_json = json.dumps(result, ensure_ascii=False, indent=2)
    if args.output:
        Path(args.output).write_text(output_json, encoding="utf-8")
        print(f"✅ Generated {len(questions)} questions → {args.output}", file=__import__("sys").stderr)
    else:
        print(output_json)

Static analysis

No suspicious patterns detected.