Free open catalog of AI adversaries.

Specialized executable reviewers for Go, CI, containers, secrets, and more. Sign in to pull so we can measure usage. Run them locally for free. Private artifacts stay on any OCI registry you choose.

Public catalog is free. Login is for usage tracking. Experimental adversaries stay invite-only for trust.

bash
adversary login

adversary pull go/security

adversary run go/security \
  --path . \
  --base main \
  --head feature
Free
Public catalog
Local
Run anywhere
Teams
Private OCI
Platform

One platform. Building blocks.

The platform for building, running, and distributing executable AI adversaries across local development, teams, and enterprise CI.

Adversary SDK

Build executable reviewers with the TypeScript SDK preview.

  • Repository APIs
  • Diff APIs
  • LLM helpers
  • Structured findings
Learn about the SDK

Runtime

Portable execution, permissions, model access, and reporting.

  • Local CLI
  • GitHub Actions
  • Generic CI
  • ElasticClaw
Runtime Docs

Registry

Free public catalog with domain/name ids. Private via any OCI.

  • go/security
  • ci/github-actions
  • private teams
  • OIDC CI auth
Browse Catalog
Workflow

Developer workflow

Build once with the SDK, choose your model, and run the same adversary locally, privately with your team, or in CI.

  1. 01

    Create

    Start an adversary from the SDK template.

  2. 02

    Build

    Use repository, diff, model, and findings APIs.

  3. 03

    Test

    Run fixtures locally before publishing.

  4. 04

    Package

    Package portable adversaries as OCI artifacts.

  5. 05

    Install

    Add adversaries to a developer machine or team workflow.

  6. 06

    Execute

    Run with the CLI on a developer machine or in CI.

src/index.ts
import { Adversary } from "@adversarylabs/sdk";

const app = new Adversary({ name: "security-review" });

app.rule("security.todo", async (ctx) => {
  for (const file of await ctx.rglob("*.ts")) {
    // Parse the file and report deterministic observations.
    ctx.observe({
      ruleId: "security.todo",
      subject: file,
      category: "security",
      severity: "low",
      confidence: "high",
      title: "Security review marker remains",
    });
  }
});

await app.runFromEnvironment();
SDK

Build adversaries, not prompts.

The open-source SDK handles repository discovery, rule execution, observation synthesis, structured findings, review policy, and runtime output so developers can focus on deterministic review logic.

TypeScript SDK preview
Python and Go coming soon
Build and run locally for free
Package adversaries as portable OCI artifacts
Ecosystem

Build once. Run anywhere.

CLI
SDK
Runtime
Registry
GitHub Actions
ElasticClaw
Your CI

An adversary should run unchanged in the local CLI, GitHub Actions, ElasticClaw, or generic CI.

Catalog

Official adversary catalog

Official free adversaries organized by domain — go/security, ci/github-actions, security/secrets, and more.

Reviews TypeScript adversaries for SDK usage, rule design, finding quality, tests, packaging, and publish readiness.

$adversary pull adversarylabs/adversary
10 pulls
ci/depot

v0.0.17

Reviews Depot CI workflows for security, correctness, reliability, caching, and performance concerns.

$adversary pull ci/depot
12 pulls

Reviews GitHub Actions workflows for security, supply-chain, and reliability defects.

$adversary pull ci/github-actions
12 pulls

Reviews GitLab CI for privileged runners, secret leakage, mutable images, release safety, and unpinned includes.

$adversary pull ci/gitlab-ci
13 pulls

Reviews Compose services for privilege, host access, and image reproducibility.

$adversary pull container/docker-compose
14 pulls

Reviews Dockerfile-style files for container build and runtime security concerns.

$adversary pull container/dockerfile
20 pulls
Targets

Run against any target

An adversary is an executable reviewer that analyzes repositories, pull requests, commits, infrastructure, or other software artifacts and produces structured findings.

repository
diff
pull_request
branch
release
package

Free catalog. Local runs. Your OCI registry for private work.

Install the CLI, sign in to pull, and run adversaries like go/security on your machine. The public catalog stays free.