pytest-patterns
Pass
Audited by Gen Agent Trust Hub on Nov 2, 2026
Risk Level: SAFECREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill provides an example fixture for integration testing in
SKILL.mdthat contains a hardcoded email ('admin@example.com') and password ('AdminPass123!'). While clearly intended as placeholders for a local test environment, this pattern can lead to credential exposure if developers copy the code directly into production-facing test suites.\n- [INDIRECT_PROMPT_INJECTION]: The skill demonstrates patterns for reading and processing external data files (e.g., CSV and JSON) within the test environment. If an agent executes these tests on untrusted files, it creates an attack surface for indirect prompt injection.\n - Ingestion points:
SKILL.mdprovides examples of reading files usingtmp_pathandprocess_large_filefunction calls.\n - Boundary markers: No boundary markers or 'ignore' instructions are provided for the data contents in the examples.\n
- Capability inventory: The skill leverages
httpxfor network requests and requires file system access viatmp_pathfor write/read operations.\n - Sanitization: No data sanitization or validation logic is included in the provided patterns.\n- [COMMAND_EXECUTION]: The skill documents and encourages the execution of various
pytestshell commands to run, filter, and monitor tests, which involves executing code within the local environment.
Audit Metadata