write-justfile
Pass
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to read, fix, and format
justfilecontent provided by the user. Maliciously crafted recipes or comments within these files could attempt to influence the agent's behavior during the analysis or modification phase. - Ingestion points: The script
scripts/check_justfiles.pydiscovers and readsjustfileand*.justfiles from the project directory. - Boundary markers: The skill instructions mandate the use of
just --fmt --checkandjust --dry-runto validate syntax and verify command text without full execution, providing a layer of oversight. - Capability inventory: The agent has the ability to execute shell commands via the
justtool and perform file writes to the local filesystem. - Sanitization: The skill relies on the native
justparser for syntax validation and instructs the agent to manually review dry-run outputs and seek user confirmation for sensitive tasks. - [COMMAND_EXECUTION]: The helper script
scripts/check_justfiles.pyexecutes the localjustbinary to perform formatting checks. - Evidence: The
validatefunction inscripts/check_justfiles.pyusessubprocess.runwith a list of arguments ([executable, "--fmt", "--check", "--justfile", str(path)]) andshell=False(default), which is a secure method for executing external processes. - [SAFE_PRACTICES]: The skill explicitly advises against security pitfalls common in command runners.
- It instructs the agent to avoid bare interpolation
{{ arg }}to prevent shell injection, recommending"$@"orquote()instead. - It warns against using
{{ env('FOO') }}for secrets to prevent them from being leaked in dry-run outputs or logs, recommending environment variable access ($FOO) instead.
Audit Metadata