hunt-cloud
Warn
Audited by Gen Agent Trust Hub on Oct 1, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONPRIVILEGE_ESCALATIONPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill instructs the agent to install the Azure CLI by executing a script fetched from a remote URL:
curl -sL https://aka.ms/InstallAzureCLIDeb | bash. This pattern involves piping remote content directly into a shell, although the source is a well-known Microsoft domain. - [DATA_EXFILTRATION]: The methodology directs the agent to search for and read highly sensitive local files to discover cloud credentials, including
~/.aws/credentials,.envfiles, and CI/CD environment variables. - [PRIVILEGE_ESCALATION]: The skill explicitly details techniques for escalating privileges within cloud environments, such as exploiting
iam:PassRolepermissions in AWS and abusing managed identities or Automation runbooks in Azure. - [PERSISTENCE]: The skill provides instructions for establishing persistence in compromised environments, such as creating new access keys, generating service account keys, and adding SSH keys to instance metadata.
- [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection as it ingests and processes data from cloud metadata services and API responses without explicit sanitization or boundary markers.
- Ingestion points: Metadata endpoints (
169.254.169.254,metadata.google.internal) and Cloud provider API outputs (AWS IAM details, Azure resource lists, etc.). - Boundary markers: None identified in the instructions for separating external API data from the agent's internal logic.
- Capability inventory: The skill has access to shell execution, network requests via
curl, and various cloud CLI tools. - Sanitization: No evidence of input validation or output escaping when handling results from cloud discovery commands.
Audit Metadata