stryker-js
Pass
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes
gitcommands viaexecFileSyncinassets/scripts/mutation-plan.mjsto identify changed files and hunks for mutation testing. - Evidence: The
githelper function uses the array form ofexecFileSyncto prevent shell injection and employs the--end-of-optionsflag when resolving the comparison base to safeguard against argument injection. - [INDIRECT_PROMPT_INJECTION]: The skill processes Git diffs and mutation reports (
reports/mutation/mutation.json) to generate summaries for AI review, creating a surface where malicious content in source code or test names could influence agent behavior. - Ingestion points:
assets/scripts/mutation-summary.mjsreads and parses Stryker JSON reports;assets/scripts/mutation-plan.mjsreads output from Git diff commands. - Boundary markers: The skill does not currently employ explicit delimiters or "ignore embedded instructions" warnings when presenting extracted code snippets or test names to the agent.
- Capability inventory: The skill allows for file system access, system command execution (
git,pnpm), and network operations via the defined CI workflow. - Sanitization: Extracted data from the reports (such as source code fragments and test identifiers) is parsed but not sanitized or escaped before inclusion in the summary for the AI.
- [DYNAMIC_EXECUTION]: The script
assets/scripts/mutation-changed.mjsperforms a dynamicimport()of the@stryker-mutator/corelibrary at runtime to execute mutation tests.
Audit Metadata