skills/mukul975/anthropic-cybersecurity-skills/implementing-gcp-binary-authorization/Gen Agent Trust Hub
implementing-gcp-binary-authorization
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The scripts
scripts/agent.pyandscripts/process.pyexecutegcloudCLI commands usingsubprocess.runto manage Binary Authorization policies and attestations. The execution uses list-based arguments, which is a secure practice to prevent shell injection vulnerabilities. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data in the form of GCP policies and container image metadata retrieved from the GCP environment.
- Ingestion points: Binary Authorization policies retrieved via
gcloud container binauthz policy exportand attestations viagcloud container binauthz attestations list. - Boundary markers: None explicitly defined in the input parsing.
- Capability inventory: Uses
subprocess.runto execute authorizedgcloudcommands and writes results to local JSON reports (binauthz_report.json). - Sanitization: The use of list-based command execution ensures that values retrieved from policies (like attestor names or image URLs) cannot be used to inject additional shell commands.
- [EXTERNAL_DOWNLOADS]: The skill uses
curlto interact with the official Google Cloud Container Analysis API (containeranalysis.googleapis.com). This is a well-known, trusted service used for its intended purpose in the skill's workflow.
Audit Metadata