EinloggenDemo anfordern

drawio-skill

Medium · Risk 40

The skill is insecure because it executes unsanitized user input in shell commands, processes untrusted external data to manipulate agent reasoning, and lacks defined tool constraints for its operations.

Findings (7)

Content Injection

Medium

targets Perception

1 finding
#1Potential for indirect prompt injection via external contentmediumindirect prompt injection75% confidence

The skill processes external data (e.g., `terraform show -json`, `kubectl get ... -o json`, or OpenAPI specs) and uses them to generate diagrams. If an attacker controls the infrastructure or the spec file, they can inject malicious instructions into the agent's reasoning process. [ensemble: confirmed by 2/3 passes; severity set to the agreed median (ADR-0067).]

pipe `terraform show -json` ... or `kubectl get ... -o json`

Behavioural Control

Medium

targets Action

6 findings
#1Potential for arbitrary command execution via shell injectionmediumcommand execution70% confidence

The skill uses user-provided input (e.g., diagram labels, file paths, or brand names) directly in shell commands (e.g., `shapesearch.py "<keywords>"`, `aiicons.py "<brand>"`). If these inputs are not sanitized, an attacker could inject shell metacharacters to execute arbitrary commands. [ensemble: confirmed by 2/3 passes; severity set to the agreed median (ADR-0067).]

scripts/shapesearch.py "<keywords>"
#2Person name detectedmediumpii exposure67% confidence

NER model detected person in skill content (confidence: 0.67)

C*****
#3Organization name detectedmediumpii exposure77% confidenceline 42

NER model detected organization in skill content (confidence: 0.77)

E*
#4Organization name detectedmediumpii exposure100% confidenceline 51

NER model detected organization in skill content (confidence: 1.00)

M**
#5Location detectedmediumpii exposure77% confidenceline 129

NER model detected location in skill content (confidence: 0.77)

K*
#6Missing allowed-tools declarationlow90% confidence

Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.