Back to skill

Security audit

tdd

Security checks for vulnerabilities and agentic risk

Overview

This is a straightforward TDD coding workflow skill with no hidden execution, persistence, credential access, or unrelated data handling in the inspected artifacts.

Install this if you want the agent to enforce strict test-first development. Review diffs before accepting changes, especially deletions or rewrites caused by the TDD discipline, and pin package versions in real projects when supply-chain reproducibility matters.

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

Vague Triggers

Medium
Confidence
92% confidence
Finding
The README says the skill triggers on "TDD" and "test-first" without narrowing context or giving exclusion conditions. These phrases are common in ordinary software discussions, so the activation scope is broad enough to risk unintended invocation.

Vague Triggers

Medium
Confidence
88% confidence
Finding
The README states the skill triggers when the user mentions phrases like "先写测试" or "测试驱动," but does not clarify whether casual mention versus a direct request should activate it. Without scope limits or negative examples, ordinary discussion could unintentionally invoke the skill.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Static analysis

No suspicious patterns detected.