Back to skill

Security audit

Clean Pytest

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward pytest testing guide and does not show hidden, persistent, destructive, or data-exfiltrating behavior.

Install this if you want pytest testing-pattern guidance. Expect it to influence how the agent writes tests, including using fake dependencies and fixture patterns; review generated tests as usual, especially examples involving credentials or integration-test gates.

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

Vague Triggers

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

Because this is a markdown file with manifest front matter, SQP-1 applies. The phrase 'Use when setting up test suites for Python/MCP projects...' defines scope broadly but does not specify concrete trigger phrases, exclusion conditions, or narrower activation boundaries, which could increase unintended invocation in general Python testing contexts.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.