e2e-outside-in-test-generator
Pass
Audited by Gen Agent Trust Hub on Nov 2, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill includes a dedicated
security.pymodule that implementsvalidate_project_rootto prevent path traversal attacks by ensuring all file reads and writes are confined to the current project directory. - [SAFE]: The skill implements DoS protection in
generator/security.pythrough theread_json_safefunction, which enforces a 10MB file size limit for JSON parsing to prevent resource exhaustion attacks. - [SAFE]: The implementation avoids complex template engines, using Python's standard
.format()method for test generation, which minimizes the risk of template injection and keeps dependencies restricted to the standard library. - [INDIRECT_PROMPT_INJECTION]: The skill's primary function involves analyzing project source code and configuration files to generate test logic, creating an inherent ingestion surface for untrusted data. This is a characteristic of code-generation tools and is mitigated by the skill's restrictive file-writing and lack of immediate execution of generated content.
- Ingestion points:
generator/stack_detector.pyandgenerator/app_type_detector.pyperform recursive file searches and reads across the project root. - Boundary markers: Not utilized within the generated test templates to separate static logic from project-derived data.
- Capability inventory: The skill possesses local file-writing capabilities via
generator/utils.pyand directory creation viaensure_directory. - Sanitization: Provided via path validation and shell character sanitization in the
security.pymodule.
Audit Metadata