offensive-cloud
Fail
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEDATA_EXFILTRATIONPRIVILEGE_ESCALATIONPERSISTENCECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [DATA_EXPOSURE_AND_EXFILTRATION]: The skill provides instructions for accessing sensitive credential files and exfiltrating cloud data.
- Targeting the local AWS credentials file at
~/.aws/credentialsand.envfiles. - Accessing the Instance Metadata Service (IMDS) at
169.254.169.254to retrieve IAM role credentials. - Using
modify-snapshot-attributeandmodify-db-snapshot-attributeto share data volumes and databases with an external account identified asATTACKER_ACCT. - Enumerating and decrypting secrets from AWS Secrets Manager and Parameter Store using
--with-decryptionflags. - [PRIVILEGE_ESCALATION]: The skill details numerous methods for an agent to increase its permissions within a cloud tenant.
- Exploiting
iam:PassRolecombined withlambda:CreateFunctionorec2:RunInstancesto execute code with elevated role permissions. - Self-elevation techniques using
iam:CreatePolicyVersionandiam:SetDefaultPolicyVersion. - Azure-specific escalation via App Registration ownership and
User Access Administratorroles. - GCP-specific escalation using
iam.serviceAccountTokenCreatorpermissions to impersonate service accounts. - [PERSISTENCE_MECHANISMS]: The skill includes instructions for creating long-term access points.
- Creating new IAM users, access keys, and console login profiles.
- Establishing backdoors using EventBridge rules that trigger Lambda functions upon IAM configuration changes.
- Adding certificates or secrets to existing privileged Azure AD applications.
- [UNVERIFIABLE_DEPENDENCIES_AND_REMOTE_CODE_EXECUTION]: The skill references external tools for cloud security analysis.
- Fetches the
gcp_scannertool from the official Google GitHub repository. - [INDIRECT_PROMPT_INJECTION]: The skill presents a significant attack surface for indirect prompt injection due to its ingestion of untrusted cloud data.
- Ingestion points: The skill reads cloud audit logs, resource tags, and metadata from the environment, which may contain attacker-controlled content (SKILL.md).
- Boundary markers: Absent. There are no instructions to ignore or delimit potentially malicious instructions embedded in the retrieved cloud data.
- Capability inventory: The skill uses broad capabilities including shell command execution, cloud API write operations, and network requests via
curl. - Sanitization: Absent. Data retrieved from external cloud APIs is used to construct subsequent command arguments without validation or escaping.
Recommendations
- AI detected serious security threats
Audit Metadata