Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

test-attack-technique

Skill by DataDog

Tests Stratus Red Team attack techniques by running warmup, detonation and cleanup phases with validation. It checks cloud credentials and generates HTML reports for AWS, Azure, GCP, Kubernetes and Entra ID. It is intended for security teams testing TTPs in non-production environments.

  • Score 85
  • 2.5k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install test-attack-technique

Built from the published package, never by AI.

git clone --depth 1 https://github.com/DataDog/stratus-red-team /tmp/stratus-red-team && mkdir -p ~/.claude/skills && cp -r /tmp/stratus-red-team/.claude/skills/test-attack-technique ~/.claude/skills/test-attack-technique

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install test-attack-technique in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill runs Stratus Red Team attack techniques in a test environment. It takes a technique ID such as aws.* or entra-id.*, confirms that the technique exists, and checks the current cloud credentials with the user before anything runs. It then drafts an expected outcomes plan and asks the user to approve it.

The skill runs the warmup, detonation and cleanup phases in order. Cleanup runs unless the --skip-cleanup flag is set. It validates results using Stratus output and cloud CLI commands, then writes an HTML report. It is aimed at security practitioners testing attack techniques on AWS, Azure, GCP, Kubernetes and Entra ID.

Written from the project's SKILL.md and checked against it.

What it can do

  • Technique validationChecks that a technique ID exists before running it.
  • Credential checkShows current cloud credentials and asks the user to confirm before running.
  • Execution planDrafts expected warmup and detonation outcomes for the user to approve.
  • Lifecycle phasesRuns warmup, detonation and cleanup phases for a technique.
  • Outcome validationCompares expected and actual results using Stratus output and CLI commands.
  • HTML reportGenerates a report with validation checks, command output and cleanup status.

What you need

  • Go 1.22 or later
  • Cloud credentials configured for the target platform
  • Permissions to create and delete cloud resources
  • A test or development environment (not production)

Try asking

  • Test the aws.credential-access.secretsmanager-retrieve-secrets technique
  • Validate the azure technique I choose and generate an HTML report
  • Run warmup and detonate for an entra-id technique, skip cleanup

Good to know

  • Executes real attacks and creates cloud resources.
  • For test or development environments only, not production.
  • May incur minimal costs.
  • Cleanup runs by default unless --skip-cleanup is used.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/test-attack-technique/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB
  • assets/report-template.html4 KB
  • references/credentials.md9 KB

Alternatives to test-attack-technique

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

test-attack-technique: common questions

Can I run this against production accounts?

No. The source says it is for test and development environments only, not production.

Does the report include credentials?

No. The source says reports contain account IDs only, never credentials.

Does it remove the resources it creates?

Yes. Cleanup runs by default, and the --skip-cleanup flag keeps the resources in place.

How do I install test-attack-technique?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is test-attack-technique free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is test-attack-technique safe to use?

It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to test-attack-technique?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

test-attack-technique Install

Add to stack

Loading.