auto-test
Pass
Audited by Gen Agent Trust Hub on Aug 11, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill defines a
PreToolUsehook inSKILL.mdthat executesscripts/guard-test-integrity.shwhenever theEditorWritetools are invoked. The hook searches for the script in standardized locations including the plugin root and project directory. - [COMMAND_EXECUTION]: The
guard-test-integrity.shscript executes logic viapython3 -cto parse tool call JSON and identify specific test-runner keywords. This is used to enforce the integrity of the test suite by blocking the addition of suppression markers likeit.skiporpytest.mark.skip. - [PROMPT_INJECTION]: The skill processes untrusted project code and test files to identify missing behaviors and generate test cases. \n
- Ingestion points: Project source files read through
Read,Glob, andGreptools, and file content updates captured by thePreToolUsehook. \n - Boundary markers: The skill instructions provide clear directives to maintain test integrity, and the automated hook provides a deterministic enforcement boundary. \n
- Capability inventory: The skill is granted access to local shell execution and file modification tools. \n
- Sanitization: The integrity hook uses regular expressions to identify and filter out instructions that would weaken the test signal, such as framework-specific skip directives or linting suppressions.
Audit Metadata