Back to skill

Security audit

Diting Labor Law Expert

Security checks for vulnerabilities and agentic risk

Overview

This is a Markdown-only Chinese labor-law guidance skill with disclosed legal-reference behavior and no evidence of hidden code, persistence, or data access.

Install this as a localized PRC labor-law reference aid, not as a substitute for a lawyer. Because employment law is time-sensitive and jurisdiction-specific, verify current statutes, local rules, and figures before making major HR decisions.

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 (7)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The entire template, including headings and output structures, is fixed in Chinese and does not indicate that the user may choose another language. This can violate language/locale policy when a skill forces a specific output language without explicit opt-in or documented justification.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The activation description says the skill triggers when the user 'describes labor law compliance related issues,' which is a broad natural-language condition rather than a narrow invocation rule. Although examples are provided, the file does not define clear boundaries or exclusion conditions, so ordinary discussion about labor issues could unintentionally match.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The file states the skill activates when the user 'describes dismissal-related questions,' which is ambiguous because many HR discussions could fit that description. Without explicit boundaries or negative examples, the trigger may overlap with general workplace conversation and cause unintended invocation.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The phrase 'describes labor arbitration related needs' is a wide natural-language trigger that does not clearly distinguish activation from general discussion of disputes or litigation. The examples help, but the file still lacks a precise trigger list or non-trigger cases.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The condition 'describes cross-border employment needs' is broad and could match many general international HR or expansion discussions. The template does not provide clear constraints, required keywords, or negative examples to prevent accidental invocation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

This markdown file presents the tool documentation entirely in Chinese and does not indicate that other languages are available or that the language is region-specific by design. The policy explicitly calls for flagging language or locale constraints when the skill forces a specific language without user opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

This file presents all instructional content in Chinese and does not indicate that the user can opt into another language or that the skill is intentionally limited to a Chinese-speaking audience. Under the language/locale policy, forcing a specific language without user opt-in can be a natural-language policy violation.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.