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
Mediumtargets Perception
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
Mediumtargets Action
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>"
NER model detected person in skill content (confidence: 0.67)
C*****
NER model detected organization in skill content (confidence: 0.77)
E*
NER model detected organization in skill content (confidence: 1.00)
M**
NER model detected location in skill content (confidence: 0.77)
K*
Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.