Accessible domain: target-website.com out-of-scope.com https://target-website.com AWS Security Agent HTTP 302 Redirect Let me follow and pentest it https://out-of-scope.com
• Proof? 3rd party website pentested without authorization I set 3rd party website as target • HTTP redirect/out-of-scope pentest • Damage? 3rd party website pentested without authorization • Intention? Why would you redirect to 3rd party website? • Proof? HTTP redirect is not an attack
to AWS • 9th Jan 2026: reported HTTP redirect-follow issue to AWS • 11th Feb 2026: AWS response AWS Security Agent asks customers to validate they have ownership of the targeted domain. Only after demonstrating proof of ownership will the user be able to proceed with a pentest against that domain. Customers are responsible for ensuring they have proper authorization to test all systems that may be affected by their penetration testing activities. All use of AWS Security Agent must comply with the AWS Acceptable Use Policy (https://aws.amazon.com/aup/).
Fix: During private pentests, the system continuously checks if target domain resolves to private IP addresses. Otherwise, the pentest would stop immediately. • APTS-SE-012: DNS Rebinding Attack Prevention • The platform MUST defend against DNS rebinding attacks that could redirect testing to out-ofscope infrastructure.
No fix What if the C2 is not from the customer, but a library used by an innocent customer??? “… these behaviors fall within our documented threat model. The penetration testing agent is designed to execute arbitrary commands within an isolated, single-tenant environment without cross-customer impact. Please refer to our security guidance documentation for more information on the shared responsibility model for AWS Security Agent.” • APTS-SC-020: Action Allowlist Enforcement External to the Model • … Permitted actions MUST NOT be configured solely through the model's system prompt or incontext instructions …
Response: No fix, reiterate the customer’s responsibility on getting authorization • APTS-SE-006: Pre-Action Scope Validation • The system MUST perform scope validation immediately before every network action. Validation MUST occur for: • HTTP redirects: Before following any redirect, validate destination is in scope • APTS-SC-020: Action Allowlist Enforcement External to the Model • … Permitted actions MUST NOT be configured solely through the model's system prompt or incontext instructions …
Will continue putting discovered secrets in the findings, so that customers can trace where the secrets come from • APTS-MR-019: Discovered Credential Protection • When the platform discovers credentials during testing, those credentials MUST be encrypted immediately and access-restricted. • Rationale: Credentials discovered during testing are the highest-value data the platform handles. If the platform is compromised, plaintext credentials in logs or findings enable immediate lateral movement or account takeover far beyond the testing scope.
the first place • Ask: • How does the platform control the pentest scope? (Network security) • How does the platform control agent actions? (Least privilege, separation of duty) • How does the platform handle artifacts, secrets? (Data protection) • How do they enforce it?