Skip to content

Releases

Cicada v1.0.3 — Reconciled v3 Architecture Paper, CI Test Counter & Gateway Hardening

Choose a tag to compare

@affinity-ops affinity-ops released this 08 Nov 00:15

Release v1.0.3 (commit 3b7a18a) aligns the Version 3 Architecture Paper (docs/PATH_DEPENDENT_ARCHITECTURE_v3.md and .tex), README.md, RELEASE_SCOPE.md, CITATION.cff, NOTICE, and docs/Security_Audit_Test_Results.md with the public repository, adds scripts/count_tests.sh to CI (1,299 top-level test definitions across 104 test files; 23/23 production E2E checks), and hardens CIBA URL canonicalisation & TraceID replay binding, deobfuscation payload bounds (64 KB / 8 KB), and session taint across all untrusted external responses.

v1.0.2 — Adversarial Corpus, Canary Routes, Federation Migrations, Sub-Session Taint & 100% SPDX Coverage

Choose a tag to compare

@affinity-ops affinity-ops released this 07 Nov 21:21

Cicada v1.0.2 — Adversarial Corpus, Canary Issue/Revoke Routes, Federation Migrations, License Enforcement, Sub-Session Taint & 100% SPDX Coverage

This release aligns the pre-built release binaries with the latest main commit (dba44e9) so the release tag and binaries include all runtime enforcement enhancements and complete SPDX header coverage.

What's New in v1.0.2 (since v1.0.1)

  • Executable Adversarial Benchmark Corpus (Sentry_Gateway/tests/adversarial/): Added corpus.json and adversarial_corpus_test.go (22 structured cases across 7 categories), plus HTML numeric entity (I...) deobfuscation inside non-HTML JSON payloads in internal/injection/deobfuscate.go.
  • Canary Honeytoken Issuing & Revocation Routes: Wired authenticated POST /v1/admin/canary/issue and POST /v1/admin/canary/revoke endpoints, fixed created_at Unix timestamp parsing in canary.CheckOutbound, and added an in-memory fallback store so Issue/CheckOutbound/Revoke work in standalone mode without Redis.
  • Enterprise SSO Federation Active Migrations: Added federation_providers, federated_sessions, federation_audit_log, and role_mappings to Sentry_Gateway/active_migrations/001_isolated_schema.sql so OIDC/SAML federation works out of the box on fresh installs.
  • Runtime License Tier Enforcement: Wired license.GetMaxAgents() into authorizeRegistration and license.MeshAllowed() into /v1/gossip/receive.
  • Sub-Session CaMeL Taint Isolation & Strict Tool-Manifest Option: Added X-Cicada-Session-ID composite taint scoping (taint.ScopeKey(agentID, sessionID)) and CICADA_REQUIRE_TOOL_MANIFEST=true support in Layer 6.
  • 100% SPDX Apache-2.0 Header Coverage: Added SPDX-License-Identifier: Apache-2.0 headers to the remaining Go, Dart, PHP, Python, JS, and TS files and removed the legacy "Proprietary and confidential" string from scripts/add_copyright_headers.py.

Quickstart with Pre-Built Binaries (Zero Dependencies)

chmod +x sentry-*
CICADA_STANDALONE=true ./sentry-darwin-arm64   # or ./sentry-linux-amd64

SHA-256 Checksums (SHA256SUMS)

6c71a206c21e111991ae0297f7e6b111afc095d5acfaf78968d92207dd04970c  sentry-darwin-amd64
083d9d1810ecb40ffc80b842099b5e5640c0f41a86dc1a90c9b2d9bb6cf994be  sentry-darwin-arm64
71f80822f9a533c51832d28b9f85c4e75d03e06c02e8dc5906b2935613b7cc1b  sentry-linux-amd64
7f001eb16ca0168722987efd202ab3a33c54cc459f3502af932fc1a9d3a85902  sentry-linux-arm64
40c4c115acd2b5cb18f2afa8cc8ad2e328958429d850d9118c114bf20887e5aa  eakfd-linux-amd64
e2d7dfab63070e87c2e159641a88b9f051cf67a09a47d57f5226375f3c401945  eakfd-linux-arm64

v1.0.1 — Active Layer 7 Classifier, Explicit Tool URL Binding, Public E2E CI & Pre-Built Binaries

Choose a tag to compare

@affinity-ops affinity-ops released this 07 Nov 20:01

Cicada v1.0.1 — Runtime Enforcement Hardening, Public E2E CI & Pre-Built Binaries

This release consolidates architectural alignment, active Layer 7 destructive-action enforcement, explicit URL-pattern tool binding, SPDX license compliance, and automated public GitHub Actions verification.

Highlights Since v1.0.0

  • Active Layer 7 Destructive-Action Heuristic (hitl.ClassifyDestructiveAction): Requests carrying destructive SQL (DROP TABLE, TRUNCATE, DELETE FROM), shell (rm -rf, mkfs, dd if=), HTTP (DELETE), or cloud/infra (terraform destroy, kubectl delete) patterns now automatically trigger ForceCIBA at Layer 7 even when Layer 6 taint is absent (TestPipeline_Layer7_DestructiveActionClassifier_ForcesCIBA).
  • Explicit Tool URL-Pattern Binding (URLPattern): Added glob-style URLPattern matching (e.g., /v1/billing/*, /v2/orders/*/refund) to ToolEntry in agentcache, taking precedence over path-segment fallback (TestResolveToolForRequest_ExplicitURLPatternBinding).
  • Public GitHub Actions CI & Production E2E Verification (.github/workflows/verify.yml): Every push and PR now runs both the standalone gateway verification suite (scripts/verify_release.sh, unit tests with -race, govulncheck) and the full Production Path E2E suite (scripts/e2e_production.sh against live PostgreSQL 15, Redis 7, Laravel Core API, and the Go sentry gateway).
  • License & Attribution Hygiene: Standardized all source headers to SPDX-License-Identifier: Apache-2.0, restored the verbatim 202-line Apache License 2.0 text so GitHub detects Apache-2.0 natively, and added CITATION.cff for one-click academic/DOI citation (10.5281/zenodo.19597120).

Quickstart with Pre-Built Binaries (Zero Dependencies)

Download the sentry binary for your platform below and run in standalone mode:

chmod +x sentry-*
CICADA_STANDALONE=true ./sentry-darwin-arm64   # or ./sentry-linux-amd64

SHA-256 Checksums (SHA256SUMS)

32f24de0f4d30ed2c24a508cf8cc2e87d35125d96f095a025c219579bd4dbed9  sentry-darwin-amd64
777eed1bb876780be9ad99e7901cd1d9399e0bc62efadb6c2572fb49202b76fb  sentry-darwin-arm64
2f81a5250f6a400474c8130d75c4381f317a537f4e6bdaaa971e362ced8112cd  sentry-linux-amd64
3e9632288a6e674668cf5f7c55ac35e0d504abda7400e327b1a19fad48473d35  sentry-linux-arm64
682a2ab0b4bbdda92f6291f7fc592c36d3b0354933c86def3d9ad713ecf041d7  eakfd-linux-amd64
57cd703525ab4ab887d7604df47ba6f2733d59480276594eb61d28252e9d2a41  eakfd-linux-arm64

v1.0.0 — Cicada: Zero-Trust Agent Gateway & Kernel Firewall (Apache 2.0)

Choose a tag to compare

@affinity-ops affinity-ops released this 15 Oct 16:44

Initial open-source release (Apache 2.0) of Cicada, a deterministic runtime enforcement gateway (Sentry_Gateway) and ephemeral kernel firewall (eakfd) for autonomous AI agents and Model Context Protocol (MCP) tool servers.

⚠️ Architectural Note: Built over 8 months as a functional zero-trust architectural blueprint and enforcement engine (~100k LOC). The plumbing is yours to inspect, harden, and extend; the blueprint is yours to use.

⚡ Highlights in v1.0.0

  • Sub-Millisecond Go Data Plane (Sentry_Gateway): Evaluates agent tool calls and LLM requests across the 15-stage Matthews Enforcement Framework (MEF) with 19.01ms p95 end-to-end latency and <1ms standalone in-memory gate evaluation.
  • 60-Second Zero-Dependency Standalone Mode: Boot and test all 8 in-memory Zero-Trust enforcement gates locally with CICADA_DEV_MODE=true CICADA_SIMULATION_MODE=true go run ./cmd/sentry (no PostgreSQL, Redis, or external API keys required).
  • Socket-Pinned 3-Tier SSRF & DNS-Rebinding Guard: Validates schemes/hosts pre-flight and pins resolved public IPs inside Go's net.Transport.DialContext (22µs), blocking AWS IMDSv2 (169.254.169.254), RFC 1918 private networks, and TOCTOU DNS-rebinding attacks at the TCP socket layer.
  • Zero-False-Positive CICADA_CANARY_* Honeytokens & Lock-Free Gossip Mesh: Detects raw and encoded (Base64, Hex, URL, SHA-256) canary leaks in 310µs, drops the connection, and broadcasts an Ed25519 + NIST FIPS 204 ML-DSA-65 (Post-Quantum) quarantine packet across a sync/atomic.Pointer copy-on-write P2P Gossip Mesh (2µs read check).
  • 7-Stage Recursive De-Obfuscation & Vault-Aware Entropy DLP: Canonicalizes NFKC fullwidth/compatibility glyphs, zero-width characters, HTML entities, URL encoding, \xNN/\uXXXX escapes, and nested Base64 payloads on inbound prompts, paired with 22 secret prefixes, Shannon entropy (H(X) ≥ 4.3 bits/char), and multi-encoding Vault DLP on outbound requests.
  • Ephemeral Agent Kernel Firewall (eakfd): Isolates untrusted agent subprocesses over a UNIX Domain Socket inside a gVisor (runsc) / Kata sandbox and scrubs .tfstate secrets, RFC 1918 IPs, and cloud metadata from stdout/stderr.
  • Out-of-Band Biometric CIBA Kill-Switch & Saga Rollbacks: Suspends high-risk write/transact calls for hardware-backed biometric approval on the operator's mobile companion app (Aegis) via ECIES X25519, triggering automatic Saga compensating rollbacks on denial.
  • Full OWASP Agentic AI Top 10 (ASI01–ASI10) Coverage: Direct module-level mitigations mapped across Sentry_Gateway/internal/.

📄 Academic Citation & Mathematical Specification

🚀 Quickstart Verification

cd Sentry_Gateway

# Run the automated Zero-Trust verification test suite
go test -v ./cmd/sentry ./internal/license ./internal/injection ./internal/semantic ./internal/gossip ./internal/output ./internal/canary

# Or boot the live standalone gateway on :8080 (zero external dependencies)
CICADA_DEV_MODE=true CICADA_SIMULATION_MODE=true go run ./cmd/sentry