
Adversarial code review pass security
Reviews code diffs for security issues like data leaks, auth gaps and injection
Adversarial code review pass security is an open-source agent skill for security. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 12
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Adversarial code review pass security
This skill gives the agent a security-focused lens for reviewing a code diff. It asks the agent to look for information disclosure such as stack traces or raw exception messages reaching callers, sensitive data written to logs, unvalidated input used in queries or commands, new authorization paths that skip existing middleware, hardcoded secrets, and widened IAM policies or trust relationships.
Each finding is expected to name the file and line, describe a concrete failure scenario, and propose a specific fix. Findings are graded as CRITICAL, IMPORTANT or SUGGESTION. The skill also tells the agent to check the codebase for existing error-mapping layers, pagination token utilities, auth middleware and secrets managers before flagging something as missing, and to skip synthetic values in test fixtures.
The skill is one of several parallel passes in the adversarial code review workflow of the Konductor project. It is meant to run in a session spawned by a coordinator skill, and its output is treated as candidate findings that a separate checker filters before anything is posted.
When your agent uses it
Reviews a diff through the lens of security concerns: information disclosure, authorization, injection, secrets. Use only when the adversarial-code-review coordinator spawns a session naming it, alongside the integrity and schema passes.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (4 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the konductor plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add aws-solutions/konductor
/plugin install konductor@konductorOr copy only this skill to ~/.claude/skills/adversarial-code-review-pass-security:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/adversarial-code-review-pass-security &&
cp -R "$tmp/skills/adversarial-code-review-pass-security" ~/.claude/skills/adversarial-code-review-pass-security &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/adversarial-code-review-pass-security inside it instead.
Copy the skill folder to ~/.agents/skills/adversarial-code-review-pass-security to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/adversarial-code-review-pass-security &&
cp -R "$tmp/skills/adversarial-code-review-pass-security" ~/.agents/skills/adversarial-code-review-pass-security &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/adversarial-code-review-pass-security inside it instead.
Copy the skill folder to ~/.cursor/skills/adversarial-code-review-pass-security to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/adversarial-code-review-pass-security &&
cp -R "$tmp/skills/adversarial-code-review-pass-security" ~/.cursor/skills/adversarial-code-review-pass-security &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/adversarial-code-review-pass-security inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/aws-solutions/konductor.git --path skills/adversarial-code-review-pass-securityOr copy the folder to ~/.gemini/skills/adversarial-code-review-pass-security yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/adversarial-code-review-pass-security:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/adversarial-code-review-pass-security &&
cp -R "$tmp/skills/adversarial-code-review-pass-security" ~/.copilot/skills/adversarial-code-review-pass-security &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/adversarial-code-review-pass-security inside it instead.
Get the folder:
git clone --depth 1 https://github.com/aws-solutions/konductor.gitThen copy konductor/skills/adversarial-code-review-pass-security into your agent's skills folder as adversarial-code-review-pass-security. Agents that support SKILL.md read one folder per skill.
What it does
- Information disclosure checks
- Flags stack traces, internal IDs, table names and raw exception messages that could reach callers.
- Authorization path review
- Checks that new routes and access paths are wired into existing middleware or authorizers.
- Input validation review
- Looks for unvalidated input, cursors or IDs used in queries, paths or commands.
- Secrets and credential scan
- Identifies hardcoded keys, credentials and tokens while ignoring synthetic test fixture values.
- IAM policy widening detection
- Flags changes that broaden IAM policies, grants or trust relationships.
- Structured severity reporting
- Outputs each finding with severity, file and line, problem, and suggested fix.
Good for
- Review a pull request diff for security problems before merging
- Check new API endpoints for missing authorization middleware
- Look for accidentally committed credentials or API keys in a change
- Audit log statements for sensitive request or response data
- Verify that error handling does not leak internal details to users
Adversarial code review pass security FAQ
When does Adversarial code review pass security trigger?
It is meant to be used only when the adversarial-code-review coordinator spawns a session that names it, alongside the integrity and schema passes.
Does Adversarial code review pass security change code or post comments itself?
No. It returns a list of findings. The coordinator forwards them to a separate checker that applies the adversarial-code-review skill in validator mode before anything is posted to the pull request.
What does Adversarial code review pass security need to run?
It runs inside a k-developer session spawned by an adversarial-review coordinator SOP, such as k-adversarial-pull-request-review. The skill folder contains only the SKILL.md file and no scripts.
Does Adversarial code review pass security flag test data?
Synthetic account IDs, credentials and internal IDs in test fixtures are exempt, but genuine injection patterns or unsafe code in test files are still flagged.
How do I install Adversarial code review pass security in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/adversarial-code-review-pass-security to use it in all your projects, or to .claude/skills/adversarial-code-review-pass-security in one project. Or install the konductor plugin, which includes it: /plugin marketplace add aws-solutions/konductor, then /plugin install konductor@konductor.
Does Adversarial code review pass security 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 Adversarial code review pass security?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Adversarial code review pass security?
The closest alternatives to Adversarial code review pass security are Adversarial code review, Adversarial code review pass integrity, Security review, Adversarial code review pass schema and Security review edho ferdian.
Where this comes from
- Description: from the skill's own SKILL.md.
More from aws-solutions/konductor

Helps diagnose and troubleshoot an existing Konductor install, CLI, and MCP setup
- Open source
- 12 GitHub stars
- Developer tools

Installs, updates or removes the Konductor toolkit in a Kiro workspace with consent gates
- Open source
- 12 GitHub stars
- Developer tools

Onboards you to Konductor: install the CLI, set up agent content, and start a session
- Open source
- 12 GitHub stars
- Developer tools

Adversarial second-pass code review that hunts for disclosure, data integrity
- Open source
- 12 GitHub stars
- Security

Reviews a code diff for data integrity risks like partial writes and lost updates
- Open source
- 12 GitHub stars
- Developer tools

Reviews code diffs for schema, API contract and backward-compatibility risks
- Open source
- 12 GitHub stars
- Developer tools


