Back to skill

Security audit

Test Case Generator

Security checks for vulnerabilities and agentic risk

Overview

This skill is a simple unit-test template generator with no hidden execution, network access, persistence, or sensitive-data handling.

Before installing, note that generic phrases like "unit test" or "generate test" may activate it more often than intended. It appears safe from a security standpoint, but generated tests should still be reviewed for correctness.

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)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The natural-language instructions and headings are predominantly in Chinese, which can impose a language preference on users without explicit opt-in. No statement indicates that the skill is intentionally region-specific or that users may choose another language.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The trigger phrase "测试用例" is broad enough to appear in ordinary conversation about testing, which can cause accidental skill activation outside a clear invocation context. While this is not directly exploitable as code execution, it can lead to unintended behavior, prompt-routing mistakes, or invocation of the wrong capability.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The English trigger phrases "unit test" and especially "generate test" are ambiguous and likely to match normal discussion, documentation, or user intent unrelated to invoking this exact skill. This increases the chance of false activations and unreliable routing, which can degrade system safety and predictability.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The trigger patterns are broad enough to activate on generic requests such as 'unit test' or 'generate test', which can cause the skill to intercept unrelated user prompts outside a clearly scoped context. In an agent environment, overbroad routing can lead to unintended execution paths, incorrect tool selection, or application of this code-generation behavior when the user did not explicitly request this specific skill.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
72% confidence
Finding

This file presents activation and behavior text in both Chinese and English, but it does not explain whether the skill is intended to operate bilingually or how language choice is determined. That can create an implicit language-policy issue if the skill behavior depends on language without an explicit user opt-in or documented locale scope.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.