structurizr-c4
Fail
Audited by Gen Agent Trust Hub on Aug 7, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script
scripts/strz.shclones an external repository and immediately executes its local build wrapper (./mvnw). This is a significant risk as it allows for the execution of arbitrary scripts provided by an external source during the build phase. - Evidence:
git clone --depth 1 "$STRZ_REPO_URL" "$STRZ_REPO"followed by( cd "$STRZ_REPO" && ./mvnw -q -Dmaven.test.skip=true -am -pl structurizr-application package )inscripts/strz.sh. - [EXTERNAL_DOWNLOADS]: The skill downloads the source code for the Structurizr application from a public GitHub repository during the setup process.
- File:
scripts/strz.sh - Source:
https://github.com/structurizr/structurizr.git - [COMMAND_EXECUTION]: The skill uses shell commands to manage background Java processes and interact with the host system's browser utilities.
- Evidence: Use of
nohup,kill, andopen/xdg-openwithinscripts/strz.shto control the lifecycle of the Structurizr viewer application. - [PROMPT_INJECTION]: The skill has an indirect prompt injection surface because it processes
workspace.dslfiles which can ingest external data via the!includedirective. - Ingestion points:
workspace.dslfiles located in the project directory. - Boundary markers: None identified. The skill does not explicitly warn the agent to ignore instructions embedded in the architecture DSL.
- Capability inventory: The skill has the ability to execute code via Java and manage files and network connections through the
strz.shscript. - Sanitization: No sanitization of the DSL content is performed before it is passed to the underlying Structurizr CLI tool.
Recommendations
- AI detected serious security threats
Audit Metadata