Sign inSign up

konjoai/squash

By konjoai

•Updated 6 months ago

Squash violations, not velocity. The pytest of AI compliance. Runs in your CI/CD pipeline.

Image
Security
Machine learning & AI
Monitoring & observability
0

215

konjoai/squash repository overview

⁠squash

AI compliance as code. Squash violations, not velocity.

Squash is the compliance gate that lives in your CI pipeline. It attests every AI model you ship, generates cryptographically signed compliance artifacts, and integrates with every tool engineers already use — GitHub Actions, GitLab CI, Jenkins, ArgoCD, Terraform, MLflow, and more.

One docker run generates a signed EU AI Act Annex IV document, NIST AI RMF controls map, bias audit, hallucination rate certificate, SBOM, and CVE assessment for any model.


⁠Quick Start

# Run the zero-install demo
docker run --rm ghcr.io/konjoai/squash:latest squash demo

# Attest a local model
docker run --rm \
  -v $(pwd)/models:/models \
  konjoai/squash:latest \
  squash attest /models/my-model --policy eu-ai-act --sign

# Scan any HuggingFace model before downloading
docker run --rm konjoai/squash:latest \
  squash scan hf://microsoft/phi-3-mini-4k-instruct

# Run the full API server
docker run -p 4444:4444 \
  -e DATABASE_URL=your_postgres_url \
  -e SECRET_KEY=your_secret_key \
  konjoai/squash:latest

⁠What squash generates

OutputStandard
ML Software Bill of MaterialsCycloneDX 1.7
Source Bill of MaterialsSPDX 2.3
EU AI Act Annex IV documentEU AI Act 2024/1689
Regulatory controls mapNIST AI RMF · ISO 42001 · FedRAMP
Bias audit certificateNYC Local Law 144 · EU AI Act Annex III
Hallucination rate certificateDomain-calibrated · Wilson CI
Supply chain provenanceSLSA · Sigstore · Ethereum anchor
CVE assessmentVEX · OSV
Signed attestation recordEd25519 · att:// URI

⁠Regulatory Deadlines

DateRegulation
Jun 30, 2026Colorado AI Act
Aug 2, 2026EU AI Act enforcement
OngoingSEC AI washing examinations
OngoingNYC Local Law 144 bias audits

⁠Integrations

CI/CD: GitHub Actions · GitLab CI · Jenkins · CircleCI · Azure DevOps · ArgoCD · Flux

ML Platforms: MLflow · Weights & Biases · HuggingFace · SageMaker · Vertex AI · LangChain

Infrastructure: Terraform · Pulumi · Helm · Kubernetes

API Gateways: Kong · AWS API Gateway · FastAPI · Django

Observability: Prometheus · OpenTelemetry · Datadog · Honeycomb

Notifications: Slack · Teams · JIRA · Linear · GitHub Issues


⁠Image Tags

TagDescription
latestLatest stable release
2.7.0Current release — 85 modules, 5,290 tests
mainBuilt on every push to main
sha-xxxxxxxPinned by git SHA for reproducibility

⁠Environment Variables

VariableRequiredDescription
DATABASE_URLAPI mode onlyPostgreSQL connection string (Neon recommended)
SECRET_KEYAPI mode only32-byte hex secret for JWT signing
SQUASH_API_TOKENOptionalPre-configured API token
SQUASH_LOG_LEVELOptionalINFO (default) · DEBUG · WARNING

⁠CLI-only usage (no API server needed)

# All CLI commands work without DATABASE_URL or SECRET_KEY
docker run --rm -v $(pwd):/workspace konjoai/squash:latest \
  squash attest /workspace/model --policy eu-ai-act

⁠Resources

⁠License

Apache 2.0 — free for individuals and open source. Commercial use: squash.works⁠ — from $499/month.

Tag summary

Content type

Image

Digest

sha256:64e7763b7…

Size

88.4 MB

Last updated

6 months ago

docker pull konjoai/squash