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.sh clones 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 ) in scripts/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, and open/xdg-open within scripts/strz.sh to control the lifecycle of the Structurizr viewer application.
  • [PROMPT_INJECTION]: The skill has an indirect prompt injection surface because it processes workspace.dsl files which can ingest external data via the !include directive.
  • Ingestion points: workspace.dsl files 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.sh script.
  • 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
Risk Level
HIGH
Analyzed
Aug 7, 2026, 02:01 AM