Post-Quantum Cryptography, SARIF & Signed CBOM Gate for GitHub Actions
Audit private and public GitHub repositories across 12 languages, .jar/.whl bytecode, and .jks/.p12 keystores without sending a single line of code outside your GitHub runner. Upload SARIF 2.1.0 directly to GitHub Security → Code Scanning, block quantum-vulnerable PRs, and archive Ed25519 + ML-DSA-65 signed CycloneDX 1.7 CBOMs.
name: CipherMap Zero-Egress PQC, SARIF & Signed CBOM Gate
on:
pull_request:
push:
branches: [main, master]
permissions:
contents: read
security-events: write
pull-requests: write
checks: write
jobs:
pqc-audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache CipherMap CLI v1.0.6
uses: actions/cache@v4
with:
path: ~/.cache/ciphermap
key: ciphermap-linux-amd64-v1.0.6
# Claim a 7-day trial or commercial key at https://www.ciphermap.io/eval-pack#trial
# Store in GitHub Settings -> Secrets and variables -> Actions -> CIPHERMAP_LICENSE
- name: Download & SHA-256 Verify CipherMap CLI
env:
CIPHERMAP_LICENSE: ${{ secrets.CIPHERMAP_LICENSE }}
run: |
set -euo pipefail
mkdir -p "$HOME/.cache/ciphermap"
if [ ! -x "$HOME/.cache/ciphermap/ciphermap" ]; then
hdr_tmp="$(mktemp)"
bin_tmp="$(mktemp)"
trap 'rm -f "$hdr_tmp" "$bin_tmp"' EXIT
curl --proto '=https' --tlsv1.2 -fsSL -D "$hdr_tmp" \
-H "Authorization: Bearer ${CIPHERMAP_LICENSE}" \
-H "X-CipherMap-CI-Provider: github-actions" \
https://www.ciphermap.io/api/dl/ci-cli \
-o "$bin_tmp"
EXPECTED_SHA="$(awk 'tolower($1)=="x-ciphermap-sha256:" {gsub("\r","",$2); print $2}' "$hdr_tmp")"
[[ "$EXPECTED_SHA" =~ ^[0-9a-f]{64}$ ]]
echo "${EXPECTED_SHA} ${bin_tmp}" | sha256sum -c -
chmod 0755 "$bin_tmp"
mv "$bin_tmp" "$HOME/.cache/ciphermap/ciphermap"
fi
- name: Offline PQC Audit + SARIF + CycloneDX 1.7 CBOM
env:
CIPHERMAP_LICENSE: ${{ secrets.CIPHERMAP_LICENSE }}
run: |
set -euo pipefail
"$HOME/.cache/ciphermap/ciphermap" scan . --offline --no-telemetry --target cnsa-2.0 --fail-on critical --format sarif -o ciphermap.sarif
if [[ "${CIPHERMAP_LICENSE:-}" == CIPHERMAP-* ]]; then
"$HOME/.cache/ciphermap/ciphermap" cbom . --offline --no-telemetry --spec-version 1.7 -o cbom.cdx.json
fi
- name: Upload SARIF 2.1.0 to GitHub Code Scanning
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ciphermap.sarifInstant Browser Scorecard & Live SVG README Badge
Testing an open-source GitHub repo? Paste github.com/owner/repo into our hosted scanner for an instant A–F PQC Readiness Grade, sanitized hotspot preview, PR audit Markdown, and edge-cached SVG badge — zero binary install required.
Zero-Egress GitHub Runner Execution (Never Grant Repo OAuth)
Never grant third-party SaaS apps repo read scopes on proprietary code. CipherMap pulls a SHA-256 verified binary via /api/dl/ci-cli (or runs pre-baked on air-gapped GHES runners) with --offline enforced.
TECHNICAL COMPARISON MATRIX
CipherMap vs. PQCA/IBM cbomkit-action vs. Semgrep & GitHub CodeQL
Why engineering and AppSec teams pair CipherMap with existing GitHub SAST tools to close bytecode, keystore, NIST FIPS 203–205 wire-drift, and signed CycloneDX CBOM gaps.
| Capability | CipherMap (GitHub Action / CLI) | PQCA / IBM cbomkit-action | Semgrep / GitHub CodeQL |
|---|---|---|---|
| Languages, Bytecode & Keystores | 12 languages + .jar/.war/.whl constant pools + .jks/.p12 + ELF/Mach-O/PE binaries | Primarily Java & Python JCA/AST plugins (CBOMkit-hyperion) | Source regex/AST rules; skips compiled .jar/.whl & PKCS#12 keystores |
| Private Repo Source Egress | Zero egress (--offline --no-telemetry); runs 100% inside your GitHub runner | Local Action available, or public cloud UI | Varies (cloud rule fetch/telemetry unless Enterprise offline mode) |
| NIST FIPS 203/204/205 vs. Draft Kyber Drift | Flags wire-incompatible Round-3 Kyber/Dilithium drafts (PQC-PRE-001..005) | Lists algorithm inventory without Round-3 vs. FIPS 203 wire-drift rules | Manual custom YAML rules required |
| Signed CycloneDX CBOM + SLSA Provenance | CycloneDX 1.6 & 1.7 (ECMA-424) sealed with Ed25519 + ML-DSA-65 (.pqc.sig) | Unsigned CycloneDX 1.6 JSON output | Package SBOM only (no cryptographic primitive CBOM) |
| GitHub SARIF + PR Review Bot + Autofix | SARIF 2.1.0 + Check Run annotations + Gate 2 compiler-verified PQC patches | CBOM JSON artifact only (no PR bot or compiler-verified autofix) | SARIF + uncompiled LLM text suggestions |
LIVE GITHUB SCORECARDS (13 VERIFIED REPOSITORIES)
Inspect Real GitHub PQC Readiness Scorecards
Browse live scorecards across Go, Python, Rust, Java, TypeScript, Ruby, C#, and Open Quantum Safe (liboqs) reference libraries.
FiloSottile/age
A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
open-quantum-safe/liboqs-python
Python 3 bindings for liboqs
open-quantum-safe/liboqs-go
Go bindings for liboqs
paramiko/paramiko
The leading native Python SSHv2 protocol library.
jwtk/jjwt
Java JWT: JSON Web Token for Java and Android
RustCrypto/RSA
RSA implementation in pure Rust
auth0/node-jsonwebtoken
JsonWebToken implementation for node.js http://self-issued.info/docs/draft-ietf-oauth-json-web-token.html
panva/jose
JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes
golang-jwt/jwt
Go implementation of JSON Web Tokens (JWT).
pyca/cryptography
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
auth0/java-jwt
Java implementation of JSON Web Token (JWT)
jwt/ruby-jwt
A ruby implementation of the RFC 7519 OAuth JSON Web Token (JWT) standard.
jwt-dotnet/jwt
Jwt.Net, a JWT (JSON Web Token) implementation for .NET
GitHub Actions PQC & CBOM Frequently Asked Questions
How do I scan a private GitHub repository without uploading source code to a third party?
CipherMap runs 100% inside your own GitHub-hosted or self-hosted Actions runner with --offline --no-telemetry enforced. Claim a 7-day work-email trial key or commercial license at ciphermap.io/eval-pack, save it as CIPHERMAP_LICENSE in GitHub Actions Secrets, and your repository code never leaves your GitHub runner.
Does CipherMap integrate with GitHub Advanced Security (GHAS) and GitHub Code Scanning?
Yes. CipherMap emits standards-compliant SARIF 2.1.0 (ciphermap scan . --format sarif -o ciphermap.sarif) with deterministic rule metadata and line-level fingerprints that upload directly via github/codeql-action/upload-sarif@v3 into your repository's Security -> Code scanning tab.
Does CipherMap work on GitHub Enterprise Server (GHES) or air-gapped self-hosted runners?
Yes. For air-gapped GitHub Enterprise Server runners with zero outbound internet access, download the signed offline CLI bundle (.zip) once at ciphermap.io/eval-pack, pre-install the binary on your runner image, and run ciphermap scan . --offline --no-telemetry with an offline Ed25519 license key.
How does CipherMap compare to PQCA/IBM cbomkit-action and GitHub CodeQL for PQC readiness?
GitHub CodeQL and Semgrep focus on general SAST vulnerabilities and package SBOMs, while cbomkit-action generates unsigned CBOMs primarily for Java and Python. CipherMap covers 12 source languages plus .jar/.whl bytecode and .jks/.p12 keystores, detects Round-3 Kyber vs. finalized NIST FIPS 203 ML-KEM wire drift, posts GitHub PR migration blueprints, and signs CycloneDX 1.6/1.7 CBOMs with Ed25519 + ML-DSA-65.