Back to skill

Security audit

test-cases

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward test-case generator that reads user-provided requirements and writes structured markdown test documentation.

Before installing, understand that the skill may read PRD files you point it to and save generated markdown under tests/. Ask the agent to confirm the target path, avoid overwriting existing files, and summarize in your preferred language if Chinese is not suitable.

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

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill explicitly directs the agent to write output to tests/<name>-test-cases.md without requiring user confirmation or clearly surfacing that a filesystem modification will occur. In an agentic environment, silent file creation or overwrite can cause unintended workspace changes, clobber existing artifacts, or be abused to persist misleading content without the user's informed consent.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

Mandating that the final summary be in Chinese removes user choice and can reduce transparency if the user does not read Chinese. In security-sensitive or workflow-sensitive contexts, this can obscure what was generated, what assumptions were made, and where files were written, increasing the chance that users approve or miss side effects they do not fully understand.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.