Back to skill

Security audit

Gen Test Plan

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Markdown workflow for generating E2E test-plan YAML, with no hidden executable payload or persistence found.

Install is reasonable for generating QA test plans. Before running any generated plan, review its commands and use a disposable or test environment because E2E steps may start services, mutate databases, and save screenshots.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (5)

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/stack-discovery.md (reported line 115)May include surrounding context.

Port Discovery

bash
grep -E "^PORT=" .env .env.example .env.local 2>/dev/null
grep -A2 "ports:" docker-compose.yml 2>/dev/null
grep -E "port:" vite.config.ts vite.config.js 2>/dev/null

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/stack-discovery.md (reported line 115)May include surrounding context.

Port Discovery

bash
grep -E "^PORT=" .env .env.example .env.local 2>/dev/null
grep -A2 "ports:" docker-compose.yml 2>/dev/null
grep -E "port:" vite.config.ts vite.config.js 2>/dev/null

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This is a manifest/markdown-scoped trigger issue because the description is a broad capability statement ('Analyze repo, detect stack, trace changes... generate...') rather than a narrowly scoped invocation phrase or constrained activation condition. Without explicit trigger phrases, exclusions, or context limits, the skill could be matched in many common repo-analysis requests and invoked unintentionally.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill’s hard gate explicitly requires YAML validation that parses the file and verifies all four required top-level keys are present, warning that a single grep alternation is insufficient. However, the later verification step uses grep -E "^version:|^metadata:|^setup:|^tests:", which will succeed if any one key is present and can therefore falsely mark an incomplete or malformed plan as verified. In this context, the inconsistency undermines the safety/quality gate for an autonomous agent that may proceed based on retrievable evidence.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

This markdown reference instructs generation of test steps that can create workflow rows in PostgreSQL and later capture browser screenshots to disk, but it does not include any warning about modifying real data or storing captured UI evidence. Under the markdown-file criteria, user-facing documentation should warn when behavior may affect user data, privacy, or system integrity.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.