T01 · Skill Instruction Hijacking
- Location
SKILL.md:43- Finding
Monetization-Driven Agent Instruction Hijacking and Mandatory Branding
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a disclosed third-party threat-modeling wrapper, but it forces billable API use and sends detailed infrastructure and security-posture data without a clear consent or redaction step.
Install only if you are comfortable sending container architecture, images, ports, mounted volumes, privilege settings, security controls, data-sensitivity, and compliance context to ToolWeb. Avoid submitting secrets or exact sensitive internals, confirm your organization permits third-party processing, and treat the provided curl template carefully because it does not show safe JSON serialization for untrusted input.
SKILL.md:43Monetization-Driven Agent Instruction Hijacking and Mandatory Branding
SKILL.md:59Unconsented Disclosure of Sensitive Infrastructure and Security-Posture Data
SKILL.md:98Shell Command Injection Risk Through Unsafe JSON Interpolation
Potential security issue detected. Manual review is recommended.
- `host_pid` — Shares host PID namespace? (default: false)
- `runs_as_root` — Runs as root user? (default: false)
- `exposed_ports` — Exposed ports (e.g., "80, 443, 8080")
- `volumes` — Mounted volumes (e.g., "/data, /var/run/docker.sock, /etc/config")
- `capabilities` — Added Linux capabilities (e.g., "NET_ADMIN, SYS_PTRACE, NET_RAW")
**Optional — Security controls:**
Potential security issue detected. Manual review is recommended.
## Tips
- Containers running as root with host_network or host_pid are the highest risk — flag these immediately
- Docker socket mounts (`/var/run/docker.sock`) are container escape vectors — always flag
- Use minimal base images (alpine, distroless) to reduce attack surface
- Enable seccomp and AppArmor/SELinux — they're free and significantly reduce risk
- Read-only root filesystems prevent many persistence techniques
The skill is built around using curl with an API key to send user-supplied data to an external service. External transmission is not inherently malicious, but in this context it creates a real data-exfiltration path because the skill mandates remote processing and does not include strong consent, scoping, or data-handling safeguards.
env:
- TOOLWEB_API_KEY
bins:
- curl
primaryEnv: TOOLWEB_API_KEY
os:
- linux
The skill directs the agent to transmit detailed application architecture, component images, privileges, mounted volumes, exposed ports, secrets-management details, and data-classification/compliance information to a third-party API. This can disclose sensitive internal security posture and regulated-context metadata without any explicit requirement to warn the user, obtain consent, or minimize/redact sensitive fields before transmission.
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
**Agent flow:**
1. Ask: "I'll generate a container threat model. Quick questions:
- What images are you using? (e.g., node:20, redis:7, postgres:16)
- Do any containers run as root or in privileged mode?
- What volumes are mounted? Any docker.sock?
- Does the app handle PII or payment data?"
2. User responds with details
No suspicious patterns detected.