Skip to content
Agentmart
Submit a tool

enrich-with-aws-security-agent

Automatically load this skill when investigating application outages, service degradation, or errors that could have security-related root causes — including…

Skill by yakiratz-awsOfficial

IndexedApache-2.0★ 116
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/aws-enrich-with-aws-security-agent

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Automatically load this skill when investigating application outages, service degradation, or errors that could have security-related root causes — including unexplained downtime, authentication or authorization failures, injection attacks, data exposure, or suspicious application behavior. Query AWS Security Agent CloudWatch logs to retrieve detailed code review findings with actionable, low-level details (file, line number, vulnerability type) that customers can directly fix.

Use cases: cloud, data, security, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/enrich-with-aws-security-agent

What's inside

Skill name
enrich-with-aws-security-agent
Description
Automatically load this skill when investigating application outages, service degradation, or errors that could have security-related root causes — including unexplained downtime, authentication or authorization failures, injection attacks, data exposure, or suspicious application behavior. Query AWS Security Agent CloudWatch logs to retrieve detailed code review findings with actionable, low-level details (file, line number, vulnerability type) that customers can directly fix.
License
Apache-2.0
Metadata
author: yakiratz-aws · version: 1.0.1 · aws-devops-agent-skills.agent-types: CHAT, INCIDENT_RCA · aws-devops-agent-skills.aws-services: Amazon CloudWatch, AWS Security Agent · aws-devops-agent-skills.technical-domains: Security
Instructions
78 lines in SKILL.md · view on GitHub

Files (9)

  • .skilleval.yaml
  • CHANGELOG.md
  • README.md
  • SKILL.md
  • benchmark.json · evals/
  • eval_queries.json · evals/
  • evals.json · evals/
  • report.json · evals/
  • trigger_report.json · evals/

SKILL.md (first lines)

# Enriching Investigations with AWS Security Agent Findings

## When to Use — AUTOMATIC ACTIVATION

**Load this skill automatically when ANY of these conditions apply:**

### Application-Level Symptoms (even without explicit security context)
- Application pages or endpoints are not loading or returning errors
- Unexplained service outages with no recent deployments
- Application behaving unexpectedly without clear infrastructure cause
- Services returning 4xx/5xx errors without obvious resource exhaustion

### Explicit Security Signals
- Security vulnerabilities or misconfigurations mentioned
- Suspicious code patterns or behaviors observed
- Authentication or authorization failures
- Injection vulnerabilities suspected (SQL, command, SSRF, etc.)
- Sensitive data exposure concerns
- Security-related errors in application logs
- Findings that suggest code-level security issues

### Key Insight
Many security issues (like SSRF, injection attacks, or compromised dependencies) manifest as **application outages or errors** rather than obvious security alerts. When an app stops working and there's no clear infrastructure cause (no deployments, no resource exhaustion, no config changes), **always check for security issues**.

## Overview

AWS Security Agent is an AI-powered security service that performs automated code security reviews and penetration testing. Its findings are stored in CloudWatch Logs and provide detailed, actionable information about vulnerabilities including exact file locations, line numbers, and remediation guidance.

## Steps

1. **Identify the relevant CloudWatch log group** for AWS Security Agent findings. Look for log groups with patterns like:
   - `/aws/securityagent/*`
   - Log groups containing "security-agent" or "securityagent" in the name

2. **Query the Security Agent logs** using CloudWatch Logs Insights:
   ```
   fields @timestamp, @message
   | filter @message like /finding|vulnerability|issue|risk/
   | sort @timestamp desc
   | limit 100
   ```

3. **Extract actionable details** from the findings:
   - **File path**: The exact source file containing the vulnerability
   - **Line number**: The specific line(s) of code affected
   - **Vulnerability type**: Classification (e.g., SQL injection, XSS, SSRF, hardcoded secrets)
   - **Severity**: Critical, High, Medium, Low
   - **Description**: What the vulnerability is and why it's a risk
   - **Remediation**: Suggested fix or mitigation

4. **Correlate findings with the incident** by matching:
   - Affected services or components
   - Timeframes (when the vulnerability was introduced vs. when the incident occurred)
   - Code paths involved in the failing functionality

5. **Present findings to the customer** with:
   - Clear identification of the vulnerable code location
   - Explanation of how this vulnerability may relate to the incident
   - Specific remediation steps they can take to fix the code

## Example Log Query for Specific Application

If investigating a specific application (e.g., "ssrf-demo", "orders", "account"):
```
fields @timestamp, @message
| filter @message like /ssrf|orders|account|vulnerability|finding|issue/
| sort @timestamp desc
| limit 50
```

## Important Notes

- AWS Security Agent API access may require additional IAM permissions. If API calls fail, fall back to the CloudWatch logs approach.
- Always provide the exact file and line number when available — this is the key value for customers.
- Link the security finding to the observed incident behavior when possible.
- **When in doubt, check security logs** — it's better to rule out security issues than to miss them.

From aws/tools-for-devops-agent, Apache-2.0.

More from aws/tools-for-devops-agent

Signals

Stars
116
Forks
85
Open issues
8
Last commit (this folder)
Oct 21, 2026 (7 days ago)
Last release
Sep 25, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0.1
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from yakiratz-aws

Cite this page

enrich-with-aws-security-agent skill. Agent Mart. https://agentmart.dev/skills/aws-enrich-with-aws-security-agent (last updated 2026-10-24)