skills/mukul975/anthropic-cybersecurity-skills/implementing-aws-config-rules-for-compliance/Gen Agent Trust Hub
implementing-aws-config-rules-for-compliance
Pass
Audited by Gen Agent Trust Hub on Sep 29, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses AWS CLI commands in
SKILL.mdand theboto3library inscripts/agent.pyto manage AWS Config recorders, delivery channels, and compliance rules. These operations are core to the skill's functionality for cloud infrastructure auditing. - [PRIVILEGE_ESCALATION]: The instructions involve creating IAM service-linked roles and defining remediation roles with permissions for AWS Config, Systems Manager (SSM), and Lambda. These high-privilege configurations are required for the skill to perform automated detection and fixing of non-compliant resources across an AWS Organization.
- [INDIRECT_PROMPT_INJECTION]: The skill represents a surface for indirect prompt injection because it ingests untrusted metadata (such as resource tags and configuration items) from the AWS environment to evaluate compliance.
- Ingestion points: The Lambda function in
SKILL.mdreads resource tags fromconfigurationItem, andscripts/agent.pyfetches compliance details from the AWS Config service. - Boundary markers: No specific delimiters or warnings are used to separate untrusted resource metadata from the rule evaluation logic.
- Capability inventory: The skill includes functions to modify AWS configuration and remediation settings via
put_config_ruleandput_remediation_configurationsacrossSKILL.mdandscripts/agent.py. - Sanitization: The skill evaluates resource data without explicit sanitization before generating compliance annotations or reports.
Audit Metadata