pentesting-with-aws-security-agent

Runs AWS Security Agent penetration tests against verified web application domains and reports findings.

1|Updated Aug 1, 2024
Ready to run
npx skills add https://github.com/obispobruno/dotfiles --skill pentesting-with-aws-security-agent-obispobruno
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: pentesting-with-aws-security-agent
Source: https://github.com/obispobruno/dotfiles/tree/main/dot_agents/skills/pentesting-with-aws-security-agent
Command: npx skills add https://github.com/obispobruno/dotfiles --skill pentesting-with-aws-security-agent-obispobruno

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Running a managed penetration test against a live web application involves many manual steps: registering and verifying the target domain, creating the pentest, starting the job, polling for hours, and collecting findings. This Skill orchestrates that entire AWS Security Agent workflow so you get verified runtime vulnerability findings without managing each API call yourself. ## Core Features & Use Cases - Target Domain Registration & Verification: Registers a domain with the AWS Security Agent service, guides you through HTTP route verification, and caches the verified target domain ID for reuse. - Pentest Orchestration: Creates pentests with specified endpoints, starts pentest jobs, and polls status every 15 minutes until completion. - Findings Reporting: Retrieves all findings, groups them by severity in chat, and writes a full report with request/response samples and remediation code to a Markdown file. - Use Case: You want to test your app's login and upload endpoints for runtime vulnerabilities. The Skill verifies your domain, launches the pentest, monitors it for up to 24 hours, and delivers a severity-grouped vulnerability report. ## Quick Start Ask the assistant to run a penetration test against your web application's endpoints using the AWS Security Agent, confirming you are authorized to test the target.

Frequently Asked Questions about pentesting-with-aws-security-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a penetration test with AWS Security Agent?▼

Register and verify your target domain, create a pentest specifying the endpoints to test, then start a pentest job. The Skill polls job status every 15 minutes and retrieves findings grouped by severity when the job completes.

How long does an AWS Security Agent pentest take?▼

Pentests typically run 1 to 24 hours depending on scope. The Skill polls status every 15 minutes and only reports when the status changes or reaches a terminal state like COMPLETED, FAILED, or STOPPED.

Do I need to verify my domain before running a pentest?▼

Yes, the target domain must be verified before creating a pentest, otherwise create-pentest fails. Verification uses an HTTP route on your server returning a token, and the verified target domain ID is cached for reuse.

Why does my pentest fail with AccessDenied on the service role?▼

The default SecurityAgentScanRole is designed for code scans only and may lack the network or runtime permissions pentests need. Configure a pentest-specific role with broader permissions through the AWS Security Agent console.

What should I do if a pentest is stuck in IN_PROGRESS for over 24 hours?▼

A pentest running longer than 24 hours likely indicates a backend issue or an unreachable target. Stop the pentest job with stop-pentest-job and inspect the target's availability before retrying.