cspm-casb-attack

Fail

Audited by Gen Agent Trust Hub on Sep 19, 2026

Risk Level: HIGHREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONPERSISTENCECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The skill documentation provides instructions for downloading and executing scripts directly from external repositories without prior verification steps. Evidence includes the use of piped shell execution: curl -s https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash in guides/cspm-casb-attack-playbook.md.\n- [DATA_EXFILTRATION]: The skill contains specific procedures for harvesting hardcoded credentials and sensitive metadata from Terraform state files. Evidence includes instructions to use secret-scanning tools like trufflehog and jq filters on local and remote state files in payloads.md and guides/cspm-casb-attack-playbook.md.\n- [PERSISTENCE]: The skill provides a bash script intended to automate the suppression of new security findings in a continuous loop, facilitating long-term stealth in a compromised environment. Evidence includes the while true loop logic in guides/cspm-casb-attack-playbook.md that monitors for WorkflowStatus=NEW and updates it to SUPPRESSED.\n- [COMMAND_EXECUTION]: The skill facilitates the modification of cloud security postures through extensive use of administrative CLI tools. Evidence includes commands to update finding statuses via aws securityhub batch-update-findings and dismissing assessments using az security assessment create.\n- [DYNAMIC_EXECUTION]: The skill utilizes dynamic policy evaluation engines to process and apply security configurations at runtime. Evidence includes the use of opa eval and kyverno apply for policy-as-code bypass demonstrations in payloads.md.\n- [INDIRECT_PROMPT_INJECTION]: The skill establishes an attack surface by ingesting and acting upon untrusted data from cloud environments and state files.\n
  • Ingestion points: The skill reads external data from files like terraform.tfstate (payloads.md) and tool outputs such as prowler-checks.txt (TC-CP-003).\n
  • Boundary markers: The instructions lack delimiters or warnings to ignore potentially malicious content within these data sources.\n
  • Capability inventory: The skill utilizes powerful command-line utilities including aws, az, gcloud, kubectl, and curl across multiple scripts and guides.\n
  • Sanitization: No evidence of data sanitization or validation was found before processing these external inputs.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Sep 19, 2026, 04:36 PM