harness-step3-session-management
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute shell commands to scan the project environment, such as reading
package.json,Makefile, andpyproject.toml. It also directs the agent to execute a generated initialization script usingbash init.shto verify project health. - [DYNAMIC_EXECUTION]: The skill generates a shell script (
init.sh) at runtime based on the detected project structure and subsequently executes it. While this is a core part of its functionality for environment initialization, it involves runtime script generation and execution. - [INDIRECT_PROMPT_INJECTION]: The skill extracts startup and test commands from external project files to populate the
init.shscript, creating a potential vector for indirect injection if these files are compromised or malicious. - Ingestion points: Reads project configuration files (
package.json,Makefile,pyproject.toml) and theAGENTS.mdfile to determine environment setup steps. - Boundary markers: No explicit delimiters or instructions are provided to the agent to ignore potentially malicious content within the scanned files.
- Capability inventory: Execution of generated shell scripts (
bash init.sh), file system read/write access, and modifications toAGENTS.mdandtasks.json. - Sanitization: The skill lacks automated sanitization or validation logic for the commands it extracts from project files before incorporating them into the executable
init.shscript.
Audit Metadata