T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:122- Finding
Arbitrary Nomad Variable Retrieval May Expose Secrets
- Content
View full analysis
``` ``` ### Technical Analysis The skill is presented as a read-only monitoring and troubleshooting utility, but it instructs the agent to enumerate and retrieve arbitrary Nomad variables. Nomad variables may contain application credentials, API tokens, private configuration, or other sensitive values. Although these commands do not modify the cluster and remain subject to Nomad ACL enforcement, read-only access can still disclose secrets. The skill provides no path allowlist, output redaction, confirmation requirement, or warning against displaying sensitive values in model responses, command logs, or conversation history. Exploitation depends on the configured `NOMAD_TOKEN` having permission to list or read variables. The commands do not bypass Nomad ACLs; the accessible scope is limited to the token's existing permissions. ### Attack Path 1. The agent runs with a `NOMAD_TOKEN` that permits reading Nomad variables. 2. An attacker or untrusted user supplies or influences a sensitive variable path. 3. The agent follows the skill instructions and executes `nomad var get `. 4. Nomad returns the variable content under the authority of the configured token. 5. Sensitive values may be exposed through terminal output, agent context, logs, or the final response. ### Impact Assessment An attacker could obtain any Nomad variable readable by the configured ACL token. Depending on the cluster configuration, this may expose service credentials, API keys, deployment configuration, or tokens that enable access to other systems. The issue does not inherently grant permissions beyond those already assigned to `NOMAD_TOKEN`, but it may misuse b ...[truncated 103 chars]- Remediation
View remediation
