harness-creator
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill includes scripts for bootstrapping and auditing. Specifically,
run-benchmark.mjsusesexecFileto execute the skill's owncreate-harness.mjsscript within a temporary directory as part of a functional self-check. Additionally, the skill generates aninit.shfile for the target project which facilitates standard development tasks such as dependency installation and test execution. - [INDIRECT_PROMPT_INJECTION]: The skill provides a surface for processing untrusted repository data, as it reads
package.jsonand scans file structures to generate project-specific harnesses. - Ingestion points: The
detectProjectfunction inscripts/lib/harness-utils.mjsreads the target repository'spackage.jsonand file listing to determine the technology stack. - Boundary markers: The generated
AGENTS.mdandCLAUDE.mdtemplates establish structured startup workflows and 'Definition of Done' criteria to guide agent behavior. - Capability inventory: The skill scripts can create files and templates in a target directory and generate shell scripts for environment verification.
- Sanitization: Output generation includes proper escaping, such as
escapeForEchofor shell commands andescapeHtmlfor generated assessment reports. - [DYNAMIC_EXECUTION]: The
templates/init.shscript generated by the skill usesnode -elogic to dynamically querypackage.jsonscripts at runtime. This behavior allows the generated harness to conditionally execute correct verification commands (e.g.,npm run lintoryarn test) based on the specific project's configuration without hardcoding the package manager.
Audit Metadata