ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้วต้นแบบ · อัปเดตทุก 30 นาที
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · วิธีติดตั้งภาษาไทยทุกตัว

zanadir

โดย MustacheCaseรุ่น 0.31.0i★ 185iรันบนเครื่อง
ชื่อใน registryio.github.MustacheCase/zanadir

วิธีติดตั้ง

ใช้ทำอะไรได้

ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ

  • ต่อแบบ ติดตั้งในเครื่อง
  • บัญชีหรือคีย์ ต้องมี GITHUB_TOKEN
  • หมวด ความปลอดภัยไซเบอร์
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Find what a repository's CI is missing, and which security checks cannot fail the build.

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ผลตรวจผ่าน 3/3 · ทำงานบนเครื่องคุณ · ✓ ตรวจคำสั่งแล้ว 13 พ.ย. 2569

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ zanadir (สร้างที่เว็บของผู้ทำ) · ต้องลง Docker ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

  1. ลง Docker ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Docker

    เปิดหน้าดาวน์โหลด Docker ↗

  2. สมัครและสร้างคีย์ของ zanadir

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    เปิดเว็บของ zanadir ↗

  3. เปิดไฟล์ตั้งค่าของแอป Claude บนคอม

    SettingsDeveloperEdit Config

  4. วางค่าตั้งนี้แล้วบันทึกไฟล์

    {
      "mcpServers": {
        "zanadir": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "GITHUB_TOKEN",
            "docker.io/mustachecase/zanadir:0.31.0",
            "mcp"
          ],
          "env": {
            "GITHUB_TOKEN": "ใส่ค่าของคุณ"
          }
        }
      }
    }

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  5. ปิดแอป Claude แล้วเปิดใหม่

  6. ลองเลย

    ใช้ zanadir บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ zanadir หรือมีชื่อเครื่องมือของ zanadir ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ChatGPT ยังต่อ zanadir ไม่ได้

zanadir ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ zanadir ได้

  • ต้องมีคีย์ของ zanadir (สร้างที่เว็บของผู้ทำ) · ต้องลง Docker ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
  • ต้องมีคีย์ของ zanadir (สร้างที่เว็บของผู้ทำ) · ต้องลง Docker ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องมีคีย์ของ zanadir (สร้างที่เว็บของผู้ทำ) · ต้องลง Docker ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องมีคีย์ของ zanadir (สร้างที่เว็บของผู้ทำ) · ต้องลง Docker ในเครื่องก่อน (ทำครั้งเดียว)

ข · ตัวอื่นในหมวด ความปลอดภัยไซเบอร์ ที่ต่อกับ ChatGPT ได้

เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์

ต่อกับ Claude Code ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ zanadir (สร้างที่เว็บของผู้ทำ) · ต้องลง Docker ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Docker ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Docker

    เปิดหน้าดาวน์โหลด Docker ↗

  2. สมัครและสร้างคีย์ของ zanadir

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    เปิดเว็บของ zanadir ↗

  3. เปิด Terminal

    Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell

  4. วางคำสั่งนี้แล้วกด Enter

    claude mcp add --scope user zanadir --env GITHUB_TOKEN='ใส่ค่าของคุณ' -- docker run -i --rm -e GITHUB_TOKEN docker.io/mustachecase/zanadir:0.31.0 mcp

    แก้ “ใส่ค่าของคุณ” เป็นคีย์ของคุณก่อนกด Enter

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  5. พิมพ์ /mcp ใน Claude Code

    ต้องเห็น zanadir ในรายการและขึ้นว่าเชื่อมต่อแล้ว

  6. ลองเลย

    ใช้ zanadir บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude Code บอกว่ากำลังใช้ zanadir หรือมีชื่อเครื่องมือของ zanadir ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Cursor ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ zanadir (สร้างที่เว็บของผู้ทำ) · ต้องลง Docker ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Docker ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Docker

    เปิดหน้าดาวน์โหลด Docker ↗

  2. สมัครและสร้างคีย์ของ zanadir

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    เปิดเว็บของ zanadir ↗

  3. กดปุ่มนี้เพื่อเปิด Cursor

    เปิดใน Cursor

    Cursor จะถามยืนยันการติดตั้ง ให้กด Install

  4. ใส่คีย์ในช่องที่ว่างไว้

    ในค่าตั้งของ zanadir ช่อง GITHUB_TOKEN ยังว่าง ใส่คีย์ของคุณแล้วบันทึก

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  5. เปิดแชตของ AI ใน Cursor โหมด Agent

  6. ลองเลย

    ใช้ zanadir บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Cursor บอกว่ากำลังใช้ zanadir หรือมีชื่อเครื่องมือของ zanadir ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ VS Code ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ zanadir (สร้างที่เว็บของผู้ทำ) · ต้องลง Docker ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Docker ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Docker

    เปิดหน้าดาวน์โหลด Docker ↗

  2. สมัครและสร้างคีย์ของ zanadir

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    เปิดเว็บของ zanadir ↗

  3. กดปุ่มนี้เพื่อเปิด VS Code

    เปิดใน VS Code

    VS Code จะถามยืนยันการติดตั้ง ให้กด Install

  4. ใส่คีย์ในช่องที่ว่างไว้

    ในค่าตั้งของ zanadir ช่อง GITHUB_TOKEN ยังว่าง ใส่คีย์ของคุณแล้วบันทึก

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  5. เปิดแชตของ AI ใน VS Code โหมด Agent

  6. ลองเลย

    ใช้ zanadir บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า VS Code บอกว่ากำลังใช้ zanadir หรือมีชื่อเครื่องมือของ zanadir ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ zanadir อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ติดตั้งในเครื่อง

Claude Code

claude mcp add --scope user zanadir --env GITHUB_TOKEN='ใส่ค่าของคุณ' -- docker run -i --rm -e GITHUB_TOKEN docker.io/mustachecase/zanadir:0.31.0 mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "zanadir": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_TOKEN",
        "docker.io/mustachecase/zanadir:0.31.0",
        "mcp"
      ],
      "env": {
        "GITHUB_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "zanadir": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_TOKEN",
        "docker.io/mustachecase/zanadir:0.31.0",
        "mcp"
      ],
      "env": {
        "GITHUB_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "zanadir": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_TOKEN",
        "docker.io/mustachecase/zanadir:0.31.0",
        "mcp"
      ],
      "env": {
        "GITHUB_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

ค่าที่ต้องใส่เอง

  • GITHUB_TOKEN ความลับ env
    Optional: a token for the repo argument, used only when the server is started with --repo-token

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ดาวน์โหลดต่อสัปดาห์i
ไม่มียอดใน npm/PyPI
การเชื่อมต่อ
รันบนเครื่อง
รุ่นล่าสุดi
0.31.0
ส่งเข้า registryi
7 พ.ย. 2569
แก้โค้ดล่าสุดi
13 พ.ย. 2569
ผู้ทำ
MustacheCase
แพ็กเกจ
oci: docker.io/mustachecase/zanadir:0.31.0
เว็บผู้ทำ
mustachecase.github.io
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ติดตั้งบนเครื่องได้ใน

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 13 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub MustacheCase ซึ่งเป็นเจ้าของ repo

  • ✓ ผ่าน

    ยังมีคนดูแล

    มีการแก้โค้ดล่าสุด วันนี้

  • ✓ ผ่าน

    มีสัญญาอนุญาต (license)

    ใช้ MIT

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบด้วย Google เพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด ความปลอดภัยไซเบอร์i

  • ดาวมากกว่า 98% ของอีก 1051 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 84% ของอีก 1051 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1051 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

zanadir ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 3 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: GITHUB_TOKEN

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด วันนี้ และส่งรุ่นล่าสุด (0.31.0) เข้า registry 6 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Robin: AI-Powered Dark Web OSINT, HOL Guard, SonarQube MCP Server

ตัวอื่นในหมวดเดียวกัน

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Robin: AI-Powered Dark Web OSINT

Dark web OSINT over Tor: search onion engines, scrape pages, report with your own model.

โดย apurvsinghgautamกำลังโต★ 8Kอัปเดต 41 วันที่ผ่านมา

รันบนเครื่อง

HOL Guard

Local-first AI agent security evidence and approval workflows through HOL Guard's stdio MCP server.

โดย hashgraph-onlineใช้กันมาก↓ 7.1K/สัปดาห์★ 1.1Kอัปเดต 8 วันที่ผ่านมา

รันบนเครื่อง

SonarQube MCP Server

Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants.

โดย SonarSourceกำลังโต★ 686อัปเดต เมื่อวานซืน

รันบนเครื่อง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

zanadir is an open-source CI/CD security tool. It reads a repository's pipeline, from GitHub Actions to GitLab CI, and reports which security and quality checks are missing, or wired so they cannot fail a build.

What it answers

  • What is my pipeline missing? Thirteen categories, from dependency scanning and secrets detection to SBOMs, workflow hardening and agent skill scanning, each checked against the tools that cover it, with suggestions that fit the repository's languages.
  • Does my CI actually block on security findings? A scanner with continue-on-error, || true, a push-only trigger or allow_failure, or one that only reports unless told to fail, like trivy without --exit-code 1, is present but cannot stop a merge. zanadir grades each control *enforcing*, *partial*, *advisory* or *unknown* rather than just covered; see Effectiveness.
  • Is that check required to merge? With --required-checks, a control only counts as enforcing when branch protection or a ruleset requires it.
  • What do I add? zanadir fix prints ready-to-paste CI configuration for the gaps, or writes a workflow with --write.

It reads GitHub Actions, GitLab CI, CircleCI, Bitbucket Pipelines, Azure Pipelines and Jenkins, from a checkout (--dir) or straight from GitHub (--repo), and reports as a table, JSON, SARIF or Markdown. To see it on a public repository first, scan it in your browser. For how it maps to the OWASP Top 10 CI/CD Security Risks, and how it differs from OpenSSF Scorecard, see the mapping and the comparison.

How common are these gaps? The State of CI security 2026 scanned 1,000 of the most-starred GitHub repositories: 511 declare no dependency, secret or code scanning at all, and 1 in 6 of those that run a scanner in CI have one that cannot fail the build.

zanadir scan --dir .

zanadir scan --repo github.com/owner/name --output json zanadir fix --dir .

Installation

Try it on any public repository without installing anything, in your browser at mustachecase.github.io/scan (zanadir runs there as WebAssembly, and the repository's files never leave your browser), or with Docker:

docker run --rm mustachecase/zanadir scan --repo github.com/owner/name

To install it, download the archive for Linux, macOS or Windows (amd64 or arm64) from the latest release. checksums.txt lists each archive's SHA-256, and every archive has a build provenance attestation:

gh attestation verify zanadir_<version>_linux_amd64.tar.gz --repo MustacheCase/zanadir

Or with Homebrew (the tap is this repository) or Go:

brew tap --custom-remote MustacheCase/zanadir https://github.com/MustacheCase/zanadir.git

brew install mustachecase/zanadir/zanadir go install github.com/MustacheCase/zanadir@latest

In GitHub Actions, use zanadir-action. This workflow reports on every pull request without failing it:

# .github/workflows/zanadir.yml

name: zanadir on: [pull_request] permissions: contents: read jobs: zanadir: runs-on: ubuntu-latest steps:

  • uses: actions/checkout@v4 with: fetch-depth: 0
  • uses: mustachecase/zanadir-action@v1.40 with: dir: .

When you are ready to gate, add enforce: true (fail on any uncovered category), fail-on (only the categories you name) or fail-on-weakened. To post the report as a pull request comment, see Posting the report to a pull request.

zanadir and OpenSSF Scorecard

OpenSSF Scorecard and zanadir answer different questions, and work well together.

OpenSSF Scorecardzanadir
QuestionHow healthy are this project's security practices?Which CI controls are missing, and can the ones present fail a build?
Scope20 checks across the project: branch protection, code review, maintenance, pinned dependencies, token permissions, signed releases, known vulnerabilities, fuzzing and more13 categories of CI controls, each matched against the many tools that provide it
ReadsThe forge's API: GitHub and GitLab repositories, recent pull requests and check runsThe CI configuration: six CI platforms, the Makefiles, Taskfiles, tox, composite actions and templates its jobs call
SAST, for exampleLooks for CodeQL or SonarCloud; its docs note other tools may score lowRecognises Semgrep, CodeQL, gosec, Bandit, Brakeman, SonarQube and others, and grades whether each can fail the build
ResultA 0-10 score per check and overallCovered or not per category, graded enforcing, partial, advisory or unknown, with fixes

Use Scorecard for a project-wide security posture, and zanadir to find out whether the CI you have would actually stop a bad change, and what to add.

Using zanadir with AI coding agents

To have a coding agent check CI with zanadir before changing it, add this to the repository's AGENTS.md, CLAUDE.md or equivalent:

## CI changes

Before adding or changing CI configuration, run zanadir scan --dir . --output json (install: https://github.com/MustacheCase/zanadir#installation). It lists the missing CI controls and grades each present one: enforcing can fail a merge, partial, advisory and unknown cannot or may not. Fix advisory controls before adding tools, and use zanadir fix --dir . for configuration that fits this repository. Re-run the scan to confirm the change.

As an MCP server

zanadir mcp serves three read-only tools over the Model Context Protocol, so any agent that speaks MCP can grade CI, and check agent skills, before and after changing them:

  • scan returns the JSON report: the score, uncovered categories with suggested tools, and weakened controls with their verdicts;
  • fix returns ready-to-paste configuration for the gaps, and writes nothing;
  • skills returns zanadir skills' JSON: the skills found and their problems.

Each takes dir (a local checkout, by default the current directory) or repo (github.com/owner/name[@ref], read without cloning); scan and fix also take excludedCategories.

An agent can be steered by what it reads, so the server keeps its tools to what you started it with. A dir must be inside --dir (by default the directory the server starts in); a relative one is read from there. repo fetches are anonymous, so they reach public repositories only, unless you start the server with --repo-token to let them use GITHUB_TOKEN or GH_TOKEN.

claude mcp add zanadir -- zanadir mcp

It is listed in the MCP Registry as io.github.MustacheCase/zanadir, where it runs from the Docker image with your repository mounted read-only. For other clients, such as Cursor, VS Code or Windsurf:

{

"mcpServers": { "zanadir": { "command": "zanadir", "args": ["mcp"] } } }

As a Claude Code plugin

In Claude Code, the zanadir plugin brings both: the MCP server, and a skill that scans, reads your CI configuration, recommends fixes in priority order, and edits files only after you choose. The server runs the installed zanadir if it is 0.18.0 or later, and otherwise the Docker image.

/plugin marketplace add MustacheCase/zanadir

/plugin install zanadir@mustachecase

Then ask Claude Code to review or harden your CI, or run /zanadir:improve-ci.

llms.txt summarises zanadir for agents that read the repository, and is served at mustachecase.github.io/llms.txt for those that look at a site's root.

Features

  • 📂 Scan: Analyze the repository for CI/CD enhancement suggestions, including security services and best practices.
  • 🔍 CI Analysis: Grades whether each control can actually fail a build, not only whether it is present.
  • 🛠️ Fix: Prints, or writes as a workflow, CI configuration for the categories a scan reports as missing.
  • 🚀 Open Source: Contributions are welcome to enhance Zanadir's capabilities!

Supported CI Actions

Zanadir currently supports:

  • GitHub Actions
  • CircleCI
  • GitLab
  • Bitbucket Pipelines
  • Azure Pipelines
  • Jenkins

Future work will include support for:

  • Tekton

Categories We Suggest

Zanadir analyzes repositories in the following categories. The name in bold is the exact value to pass to --excluded-categories (matching is case-insensitive):

  • 🛡️ SCA: Software Composition Analysis
  • 🔐 Secrets Detection: Secrets Management
  • 📜 License Compliance: License Compliance
  • 🛠️ End Of Life: End-of-Life Software Packages
  • 📊 Coverage: Test Coverage
  • 📊 Performance Testing: Test Performance and Reliability
  • 🧑💻 Linter: Code Linting
  • 🧪 Unit Tests: Automated Unit Testing
  • 🔎 SAST: Static Application Security Testing
  • 🏗️ IaC Security: Infrastructure-as-Code Misconfiguration Scanning
  • 🔗 Supply Chain: SBOM Generation, Signing and Provenance
  • 🧱 Workflow Security: Hardening of the pipeline definition itself
  • 🤖 Agent Skill Security: Scanning agent skills (SKILL.md) for prompt injection and malicious code

Usage Examples

Basic Usage

Scan a repository for CI/CD improvement suggestions:

zanadir scan --dir /path/to/your/repo

Or scan a GitHub repository without cloning it:

zanadir scan --repo github.com/owner/name

zanadir scan --repo owner/name@v2.0.0 # a branch, tag or commit zanadir fix --repo owner/name

--repo lists the repository's files at one commit and downloads only the ones zanadir reads (CI and build files, plus the start of JSON files for infrastructure detection) into a temporary directory. Every other file is an empty placeholder, since only its name matters. It then scans the directory exactly as a checkout and removes it. That is three GitHub API requests per scan, however large the repository. A repository too large to list in one request is downloaded as an archive instead. Public repositories need no token; set GITHUB_TOKEN (or GH_TOKEN) to reach private ones or raise GitHub's rate limit of 60 requests an hour without one. GitLab and Bitbucket repositories still need a clone.

Output Formats

Zanadir supports three output formats: table (default), JSON and SARIF.

Table Output (Default)
zanadir scan --dir . --output table

Sample Output:

Coverage 10/11 - 1 category needs attention:

|--------------------------------|--------------------------------|-------------------| | CATEGORY | DESCRIPTION |

ตัดมาแค่ช่วงต้น อ่านต่อใน repo