autoscaling-configuration
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
references/autoscaling-script.mdand the ConfigMap script inreferences/aws-auto-scaling.mduse shell variables to construct and execute infrastructure commands. If these variables are supplied from untrusted sources without validation, they could be exploited for command injection. - Evidence:
kubectl get hpa ${DEPLOYMENT}-hpa -n $ENVIRONMENT -winreferences/autoscaling-script.mduses unvalidated positional arguments. - Evidence:
aws autoscaling create-auto-scaling-group --auto-scaling-group-name "$ASG_NAME"inreferences/aws-auto-scaling.mdinterpolates variables directly into shell commands. - [INDIRECT_PROMPT_INJECTION]: The skill provides an attack surface where untrusted input (via script arguments or configuration files) could influence the behavior of privileged tools like
kubectlandawsCLI. - Ingestion points: Positional arguments
$1and$2inreferences/autoscaling-script.mdand$1inscripts/validate-config.sh. - Boundary markers: Absent. No explicit validation or "ignore embedded instructions" logic is present for the input variables.
- Capability inventory: The skill utilizes
kubectl apply,kubectl get, and multipleaws autoscalingcommands which have high impact on the infrastructure. - Sanitization: While the scripts use
set -euo pipefailfor execution safety, they lack validation or sanitization of the content within the variables before interpolation into YAML manifests or CLI flags.
Audit Metadata