harness-engineering-playbook
Pass
Audited by Gen Agent Trust Hub on Jun 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The Python management script
scripts/harness_wizard.pyinvokes external shell scripts (bootstrap_harness.shandaudit_harness.sh) usingsubprocess.run()to perform repository initialization and compliance auditing. - [REMOTE_CODE_EXECUTION]: Several shell templates located in
assets/templates/scripts/harness/(includinglint.sh,smoke.sh,test.sh, andtypecheck.sh) useevalto execute commands provided via environment variables such asHARNESS_LINT_CMD. This mechanism allows for the execution of arbitrary shell commands if the environment variables are populated with malicious content. - [PROMPT_INJECTION]: The skill possesses an indirect prompt injection surface by ingesting and acting upon untrusted data found in the repository it is auditing or bootstrapping.
- Ingestion points: The harness scripts read and parse information from project files such as
package.json,pyproject.toml, andCargo.tomlto detect language toolchains and existing scripts. - Boundary markers: No boundary markers or "ignore embedded instructions" warnings are used when processing these files.
- Capability inventory: The skill has the capability to execute shell commands (via
evalandsubprocess.run) and write to the filesystem. - Sanitization: The skill does not sanitize or validate the content of the project metadata files before using them to influence execution paths.
Audit Metadata