generate-harness-dsl
Pass
Audited by Gen Agent Trust Hub on Oct 25, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructions in
SKILL.mddirect the agent to execute shell commands usingnodeandnpm. Specifically, it usesnode scripts/validate.mjsfor DSL validation andnpm run harness:buildto compile the local package. - [DYNAMIC_EXECUTION]: The validation script
scripts/validate.mjsuses a dynamicimport()call to load the compiler library from a relative path (../../../dist/index.js). This allows the script to execute code from the project's build output at runtime. - [DATA_EXFILTRATION]: The script
scripts/validate.mjsaccepts a file path as a command-line argument and reads its entire content usingreadFile. While intended for DSL validation, this mechanism could be misused to read sensitive local files if the agent is provided with an arbitrary path. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted data in the form of
.harnessfiles which are then parsed by a compiler. - Ingestion points: The
scripts/validate.mjsfile (line 33) reads the contents of a user-specified file path into the agent context. - Boundary markers: None identified; the file content is read directly into a string for compilation.
- Capability inventory: The skill has the capability to read files from the filesystem and execute shell commands/npm scripts.
- Sanitization: The skill relies on the
compileHarnessfunction from the@qoder-ai/harnesspackage to parse and validate the input, but no explicit sanitization of the raw text is performed before parsing.
Audit Metadata