{
  "slug": "io-github-sanflow10-adversary-gate",
  "name": "io.github.Sanflow10/adversary-gate",
  "title": "AdversaryGate",
  "description": "Fail-closed merge gate an agent calls before saying done: MERGE, BLOCK or INCONCLUSIVE.",
  "version": "3.0.17",
  "publishedAt": "2026-10-27T09:44:23.606975Z",
  "updatedAt": "2026-10-27T09:44:23.606975Z",
  "repoUrl": "https://github.com/Sanflow10/adversary-gate",
  "websiteUrl": "https://sanflow10.github.io/adversary-gate/",
  "namespace": {
    "type": "github",
    "owner": "Sanflow10"
  },
  "kind": "local",
  "packages": [
    {
      "registryType": "pypi",
      "identifier": "adversary-gate-mcp",
      "version": "3.0.17",
      "transport": "stdio",
      "runtimeHint": "uvx"
    }
  ],
  "remotes": [],
  "envVars": [
    {
      "name": "ADVERSARY_GATE_BASE_REF",
      "isSecret": false,
      "isRequired": false,
      "description": "Baseline git ref (e.g. origin/main). Unset, the agent may pick it, and whoever picks the baseline picks the oracle"
    },
    {
      "name": "ADVERSARY_GATE_REQUIRE_PINNED_BASE",
      "isSecret": false,
      "isRequired": false,
      "description": "Set to 1 to refuse any run without ADVERSARY_GATE_BASE_REF, so the agent can never choose the baseline (the oracle)"
    },
    {
      "name": "ADVERSARY_GATE_PYTHON",
      "isSecret": false,
      "isRequired": false,
      "description": "Interpreter that runs the tests; must be one the agent cannot write to"
    },
    {
      "name": "ADVERSARY_GATE_POLICY",
      "isSecret": false,
      "isRequired": false,
      "description": "Extra gate flags set by the operator; evidence flags are refused"
    }
  ],
  "category": "other",
  "subcategory": "more",
  "company": "",
  "categoryAuto": true,
  "checks": [
    {
      "id": "source-linked",
      "label": "Source repository linked",
      "result": "pass",
      "detail": "https://github.com/Sanflow10/adversary-gate"
    },
    {
      "id": "version-pinned",
      "label": "Version pinned",
      "result": "pass",
      "detail": "Every package has an explicit version"
    },
    {
      "id": "secrets-requested",
      "label": "Secrets requested",
      "result": "info",
      "detail": "Asks for no secrets"
    },
    {
      "id": "known-registry",
      "label": "Known package registry",
      "result": "pass",
      "detail": "All packages come from npm, PyPI, OCI, NuGet or MCPB"
    },
    {
      "id": "namespace",
      "label": "Namespace ownership",
      "result": "info",
      "detail": "Name verified via GitHub account Sanflow10"
    },
    {
      "id": "meta-text",
      "label": "Registry text aimed at the AI",
      "result": "pass",
      "detail": "Description and settings contain no hidden characters or instructions to the AI"
    },
    {
      "id": "install-scripts",
      "label": "Install scripts",
      "result": "pass",
      "detail": "adversary-gate-mcp 3.0.17 has no setup.py; nothing runs at install"
    },
    {
      "id": "code-flags",
      "label": "Code red flags",
      "result": "pass",
      "detail": "Read 8 files in adversary-gate-mcp 3.0.17: no obfuscation, encoded execution, credential reads or data-collection endpoints found"
    },
    {
      "id": "ai-text",
      "label": "Text aimed at the AI",
      "result": "pass",
      "detail": "No hidden characters or instructions to the AI in 8 files, including comments and the README"
    }
  ],
  "scannedAt": "2026-10-29",
  "level": "Scanned",
  "install": [
    {
      "label": "Claude Desktop (pypi)",
      "kind": "claude_desktop_json",
      "text": "{\n  \"mcpServers\": {\n    \"adversary-gate\": {\n      \"command\": \"uvx\",\n      \"args\": [\n        \"adversary-gate-mcp==3.0.17\"\n      ]\n    }\n  }\n}"
    }
  ],
  "curated": true,
  "stars": 4,
  "archived": false,
  "pushedAt": "2026-10-28T05:42:23Z",
  "health": {
    "score": 66,
    "parts": {
      "popularity": 0.32897542421843506,
      "activity": 1,
      "issues": null,
      "security": 1
    },
    "fail": 0,
    "warn": 0,
    "raw": {
      "stars": 4,
      "forks": 0,
      "downloads": 422,
      "hn": null,
      "issuesOpen": 0,
      "issuesClosed": 2,
      "prsMerged": 29,
      "commits90": 249,
      "release": "2026-10-27T09:28:55Z",
      "pushed": "2026-10-28T05:42:23Z",
      "growth": null,
      "growthDays": null,
      "archived": false
    },
    "at": "2026-10-31T07:42:38.200Z"
  }
}
