skills/mukul975/anthropic-cybersecurity-skills/detecting-aws-cloudtrail-anomalies/Gen Agent Trust Hub
detecting-aws-cloudtrail-anomalies
Pass
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill provides structured procedures and code for cloud security auditing, focusing on detecting credential compromise and privilege escalation. Evidence:
scripts/agent.pymonitors for events likeConsoleLogin,AttachUserPolicy, andCreateAccessKey.\n- [SAFE]: The implementation relies on the official and trustedboto3library for AWS API interactions, adhering to standard security practices. Evidence:scripts/agent.pyusesboto3.Sessionto handle authentication securely via environment or profile settings.\n- [SAFE]: All analysis results are saved locally in a JSON report, with no identified unauthorized network communication or exfiltration of sensitive data. Evidence: Thegenerate_reportfunction inscripts/agent.pywrites to a local filesystem path.\n- [INDIRECT_PROMPT_INJECTION]: The skill possesses a data ingestion surface that could be susceptible to indirect prompt injection if log data is manipulated by an attacker.\n - Ingestion points: AWS CloudTrail event fields (e.g.,
userAgent,errorMessage) fetched viaboto3.lookup_eventsinscripts/agent.py.\n - Boundary markers: Absent in the instructions provided for the agent to analyze the log outputs.\n
- Capability inventory: The skill is limited to reading logs and writing a local JSON report, with no dangerous execution or network exfiltration capabilities.\n
- Sanitization: Absent; the script extracts event data using
json.loadswithout additional content filtering for potentially malicious instructions embedded in log fields.
Audit Metadata