kafka-streams-programming
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructions in
SKILL.mddefine a high-capability workflow where the agent is expected to execute generated code and manage infrastructure. Step 6 ('Run the App Before Handing Off') explicitly directs the agent to start Docker environments (docker compose up), execute shell scripts (./create-topics.sh), and run Java applications using build tools (./gradlew runormvn exec:java). While these are necessary for the skill's purpose as a developer tool, they represent significant system capabilities. - [INDIRECT_PROMPT_INJECTION]: The skill generates shell scripts that are vulnerable to command injection through user-supplied data. In
scripts/create-topics.sh, thecreate_topic_localandcreate_topic_cloudfunctions construct a command string using the$topicvariable and then execute it viaeval. If a user provides a topic name containing shell metacharacters (e.g.,; rm -rf /), it would lead to arbitrary command execution when the script is run. - Ingestion points: User-specified topic names and configuration parameters provided during the 'Build Mode' interaction.
- Boundary markers: None. The scripts do not escape or validate variables before passing them to the shell's
evalfunction. - Capability inventory: The skill has the capability to write and execute scripts, perform network operations against Kafka clusters, and manage containers.
- Sanitization: Absent. The
$topicvariable is interpolated directly into the command string.
Audit Metadata