GitHub Code Scanning with SARIF 2.1.0 + Remote MCP: Catching AI-Generated Wildcard AWS IAM & Privileged EKS Pods on Every PR CoreNova Labs shipped v1.1.0 of its Cloud IAM & IaC Security Audit, adding exact 1-based line numbers and native OASIS SARIF 2.1.0 output for GitHub Code Scanning. The tool pairs a local remote MCP endpoint with a GitHub Actions SARIF gate, both hitting the same zero-data-retention deterministic rule engine so that AI coding agents and CI enforce identical rules against wildcard IAM actions, public security groups, IMDSv1, and privileged EKS pods. The company says both layers respond in under 15ms and that the shared engine eliminates rule drift between agent-time and merge-time checks. AI coding agents Claude Code, Cursor, Amazon Bedrock coding agents are great at shipping Terraform, CloudFormation, IAM policies, and Kubernetes manifests fast. They are also great at optimizing for "make it work on the first try" —which is why Action: " " , 0.0.0.0/0 SSH/DB security groups, IMDSv1 http tokens = "optional" , and privileged: true pods keep sneaking into pull requests. Earlier this week, a reader here on DEV pointed out the exact production failure mode of agent-only guardrails: Under context pressure, coding agents occasionally skip optional MCP tool calls. To make security guardrails stick, your fast local MCP loop and your hard GitHub Actions PR merge gate must run the exact same deterministic rule engine with exact line-level remediation. We took that feedback straight into production and shipped v1.1.0 of CoreNova Cloud IAM & IaC Security Audit https://audit.corenovacloud.com with exact 1-based line numbers and native OASIS SARIF 2.1.0 output for GitHub Code Scanning. | Layer | Latency | Role | What happens on violation | |---|---|---|---| | 1. Local Remote MCP /mcp | <15ms | Developer / Agent fast feedback loop | Agent sees exact rule id , line , and remediation before even proposing the diff | | 2. GitHub Actions SARIF Gate /v1/scan/sarif | <15ms per batch | Hard merge enforcement | Uploads OASIS SARIF 2.1.0 to GitHub Code Scanning inline PR diff annotations + Security tab and blocks merge | Because both layers hit the exact same zero-data-retention deterministic engine, there is zero rule drift between what the AI agent checks locally and what CI enforces on pull request . curl You can test the live zero-data-retention sandbox right now no signup required : curl -sS -i -X POST https://audit.corenovacloud.com/v1/scan/sarif \ -H "Content-Type: application/json" \ -d '{ "files": { "filename": "infra/rds.tf", "content": "resource \"aws db instance\" \"prod\" {\n storage encrypted = false\n publicly accessible = true\n}\n" }, { "filename": "k8s/worker-pod.yaml", "content": "apiVersion: v1\nkind: Pod\nspec:\n containers:\n - name: worker\n securityContext:\n privileged: true\n" } }' The response includes machine-readable headers x-corenova-action: block , x-corenova-findings-count: 2 , x-corenova-risk-score: 75 and a valid SARIF 2.1.0 payload with exact startLine , security-severity , and remediation guidance ready for github/codeql-action/upload-sarif@v3 . Add .github/workflows/corenova-sarif-gate.yml to your repository full MIT starter at CoreNovaLabs/cloud-audit-mcp-starter https://github.com/CoreNovaLabs/cloud-audit-mcp-starter : name: CoreNova Cloud Security SARIF Gate on: pull request: paths: - " / .tf" - " / .yaml" - " / .yml" - " /iam/ .json" - " /Dockerfile " permissions: contents: read security-events: write jobs: sarif-audit: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: actions/setup-python@v5 with: python-version: "3.12" - name: Run CoreNova deterministic audit SARIF 2.1.0 id: audit continue-on-error: true env: CORENOVA AUDIT API KEY: ${{ secrets.CORENOVA AUDIT API KEY }} CORENOVA SARIF OUT: corenova-audit.sarif run: | FILES=$ git diff --name-only --diff-filter=AM origin/${{ github.base ref }}...HEAD -- ' .tf' ' .yaml' ' .yml' ' iam .json' ' Dockerfile ' || true if -n "$FILES" ; then python3 examples/python/sarif gate.py $FILES fi - name: Upload SARIF to GitHub Code Scanning if: always && hashFiles 'corenova-audit.sarif' = '' uses: github/codeql-action/upload-sarif@v3 with: sarif file: corenova-audit.sarif - name: Enforce merge gate on block if: steps.audit.outcome == 'failure' run: exit 1 Add corenova-cloud-audit to Claude Code, Cursor, or any Streamable HTTP MCP client: { "mcpServers": { "corenova-cloud-audit": { "type": "http", "url": "https://audit.corenovacloud.com/mcp" } } } Available MCP tools in v1.1.0 : audit aws iam policy audit iac template audit k8s or dockerfile audit to sarif What AWS IAM escalation paths or Kubernetes admission rules would you want added next in v1.2.0 ? Drop a comment below—we ship community-requested rules fast.