# Security test generation

> Security test generation is an open-source agent skill for security. Builds security test plans for a service, organized by domain and layer. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/aws-solutions/konductor/tree/main/skills/security-test-generation
- **Repository:** https://github.com/aws-solutions/konductor
- **GitHub stars:** 12
- **License:** Apache-2.0
- **Skill name:** security-test-generation
- **Collection:** https://github.com/aws-solutions/konductor
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-04

## About

This skill guides an agent through creating a security test plan for a service. It walks through seven security domains, including authentication, input validation, API security, data protection, sessions, error handling and infrastructure, and across three layers: frontend, backend and infrastructure. The agent looks for existing security artifacts such as a threat model, API specification or implementation guide, and can also scan source code for authentication, validation, encryption and API patterns and detect the testing framework in use.

The output is a task list grouped by domain, with a foundation review task first and category tasks ordered by criticality. Each category task asks for requirements, a test design and test cases, with positive tests run before negative tests and edge cases last. Output format depends on the tool: a Kiro project gets a primary task list, while other tools get one plan file per category plus an overview and a best-practices reference. The skill also includes a quality gate that flags gaps such as missing injection, authorization or infrastructure tests.

The skill expects a project to test and can work from artifacts, code, or a manual list of areas to cover. It is written for teams preparing a security review or AppSec engagement, and it can run unattended when a caller supplies its context.

## When your agent uses it

> Generates security test plans organized by domain and layer. Use when creating security test coverage for a service. Covers authentication, input validation, API security, data protection, sessions, error handling, and infrastructure.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/aws-solutions/konductor/tree/HEAD/skills/security-test-generation)
- [License: Apache-2.0](https://github.com/aws-solutions/konductor/tree/HEAD/skills/security-test-generation)

## Features

- **Domain-based test categories:** Covers authentication, input validation, API security, data protection, sessions, error handling and infrastructure.
- **Layered test coverage:** Splits each domain across frontend, backend and infrastructure layers.
- **Artifact and code discovery:** Looks for threat models, API specs and implementation guides, and scans source for security patterns.
- **Ordered task list:** Produces numbered tasks with positive, negative and edge-case test order.
- **Quality gate checks:** Flags missing injection, authorization, OWASP and infrastructure tests before output.

## Good for

- Create security test coverage for a new backend service
- Prepare test plans ahead of an AppSec review
- Turn a threat model into concrete security test cases
- Plan infrastructure checks for S3 public access and security groups

## Install

### Claude Code

This skill ships in the `konductor` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add aws-solutions/konductor
/plugin install konductor@konductor
```

Or copy only this skill to `~/.claude/skills/security-test-generation`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/security-test-generation &&
cp -R "$tmp/skills/security-test-generation" ~/.claude/skills/security-test-generation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/security-test-generation` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/security-test-generation` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/security-test-generation &&
cp -R "$tmp/skills/security-test-generation" ~/.agents/skills/security-test-generation &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/security-test-generation` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/security-test-generation` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/security-test-generation &&
cp -R "$tmp/skills/security-test-generation" ~/.cursor/skills/security-test-generation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/security-test-generation` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/aws-solutions/konductor.git --path skills/security-test-generation
```

Or copy the folder to `~/.gemini/skills/security-test-generation` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/security-test-generation`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/security-test-generation &&
cp -R "$tmp/skills/security-test-generation" ~/.copilot/skills/security-test-generation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/security-test-generation` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/aws-solutions/konductor.git
```

Then copy `konductor/skills/security-test-generation` into your agent's skills folder as `security-test-generation`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Security test generation trigger?

It is meant for creating security test coverage for a service, as stated in its description.

### Does Security test generation need a particular testing framework?

It detects Jest, Vitest, Mocha, Pytest or JUnit when present, and asks which framework is used if none is found.

### What does Security test generation produce?

A task list for Kiro projects, or one plan file per category plus an overview and best-practices reference for other tools.

### How do I install Security test generation in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/security-test-generation to use it in all your projects, or to .claude/skills/security-test-generation in one project. Or install the konductor plugin, which includes it: /plugin marketplace add aws-solutions/konductor, then /plugin install konductor@konductor.

### Does Security test generation run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Security test generation?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Security test generation?

The closest alternatives to Security test generation are Security, Techstack security, Security and hardening, Client side and Security review.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Security](https://ai-powered.com/skills/security-sorah): Security is an open-source agent skill for security.
- [Techstack security](https://ai-powered.com/skills/techstack-security): Techstack security is an open-source agent skill for security.
- [Security and hardening](https://ai-powered.com/skills/security-and-hardening): Security and hardening is an open-source agent skill for security.
- [Client side](https://ai-powered.com/skills/client-side): Client side is an open-source agent skill for security.
- [Security review](https://ai-powered.com/skills/security-review-getsentry): Security review is an open-source agent skill for security.
- [Security review edho ferdian](https://ai-powered.com/skills/security-review-edho-ferdian): Security review edho ferdian is an open-source agent skill for security.
- [Pentest](https://ai-powered.com/skills/pentest): Pentest is an open-source agent skill for security.
- [Security and hardening](https://ai-powered.com/skills/security-and-hardening-ajyadav013-2): Security and hardening is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/security-test-generation
