Drop this workflow into .github/workflows/quantsec_gate.yml to automatically check every tagged firmware ELF/RTOS image or .onnx/.safetensors build for 2030 PQC silicon headroom, NDAA Sec. 889 blobs, and eSTAR/CRA blockers?without uploading raw code or weights:
name: QuantSec Zero-IP FDA 524B, EU CRA & 2030 PQC Release Gate
on:
push:
tags: [ 'v*.*.*' ]
jobs:
quantsec-cleanroom-prescreen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Air-Gapped Local Metadata Collector (0% Source / 0% Weights Exported)
run: |
curl -fsSL https://vault.quantseccloud.com/v1/qsa_collect_fingerprint.py -o qsa_collect.py
python3 qsa_collect.py ./build --out qsa_manifest.json
curl -fsSL -X POST https://vault.quantseccloud.com/v1/instant-prescreen \
-H 'Content-Type: application/json' -d @qsa_manifest.json | tee qsa_verdict.json# .github/workflows/quantsec-binary-gate.yml
name: QuantSec Zero-IP Firmware & AI Model Gate
on: [pull_request]
jobs:
prescreen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Hash Artifact Locally & Verify Statutory Gate
run: |
SHA=$(sha256sum build/firmware.bin | awk '{print $1}')
curl -fsSL -X POST https://vault.quantseccloud.com/v1/instant-prescreen
-H "Content-Type: application/json"
-d "{"artifact_name":"firmware.bin","sha256":"$SHA","arch":"ARM Cortex-M33","has_safetensors":true}"# .gitlab-ci.yml
quantsec_statutory_gate:
stage: test
script:
- SHA=$(sha256sum build/model.safetensors | cut -d" " -f1)
- curl -fsSL -X POST https://vault.quantseccloud.com/v1/instant-prescreen -H "Content-Type: application/json" -d "{"artifact_name":"model.safetensors","sha256":"$SHA","has_safetensors":true}"