Skip to content

Latest commit

Β 

History

35 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ¦… Gullwing Protocol β€” Complete Security Suite

License: MIT Tests CRA Ready CISA Submitted Open Source Lua Zig Platform PRs Welcome

A complete security department in a box: detect, audit, comply, and explain β€”
fully open-source, fully air-gapped, running on your infrastructure.

"The Cormorant dives. The Gullwing watches. The Kestrel carries. The Solver proves."


πŸ”­ What It Is

Gullwing Protocol bundles four purpose-built components into one MIT-licensed suite. No cloud. No API keys. No per-seat licensing. Everything runs on hardware you control.

# Component Role Capabilities
1 πŸ¦… Gullwing Cormorant Detective 8-layer convergent binary analysis Β· ~25 ms static analysis Β· automated quarantine Β· CRA evidence generation
2 πŸ” Witchcraft Solver Auditor Vulnerability research via symbolic execution Β· concrete exploitation witnesses Β· works on stripped binaries
3 πŸ› Party Vault Compliance Officer KYC/AML verification Β· regulatory classification Β· LEI validation (ISO 17442) Β· audit-trail generation
4 πŸ€– Kestrel AI Analyst Local-LLM analysis Β· security implications Β· plain-English explanations Β· air-gapped capable

πŸ’Ž Why Gullwing

1. πŸ”’ Data Sovereignty

Your data never leaves your network.

Cloud tools Gullwing
Data location Third-party servers Your infrastructure
API keys Required None
Internet needed Yes No β€” fully air-gapped

Ideal for air-gapped environments, banks and critical-infrastructure operators that must keep data in-country (GDPR, PSD2), and anyone who cannot accept third-party data exposure.

2. πŸ”Ž Open, Auditable, Independently Verifiable

Not "trust us" β€” "verify it yourself."

  • MIT-licensed, every line public and auditable
  • Published SHA-256 hashes for released artifacts
  • Reproducible builds β€” rebuild and confirm the binary matches
  • The tool monitors its own integrity at runtime

3. 🧬 A Polyglot, Diverse Stack

Gullwing uses the best tool for each layer:

Layer Language Why
Orchestration LuaJIT FFI Lightweight, embeddable glue
Compute kernels Zig Fast systems code with strong safety tooling
Distributed bus Elixir/Phoenix Resilient fleet messaging
Ingestion Perl Battle-tested text/record processing
Tooling Python Fast iteration for pipelines and harnesses

This diversity is an engineering strength β€” each layer uses fit-for-purpose technology, and the codebase stays small and auditable.

4. ⚑ Fast Enough for Continuous Monitoring

Capability Typical
Static analysis ~25 ms per binary
Supply-chain change detection ~2 s
Watch mode Real-time directory monitoring
Automated quarantine On detection, without human intervention

Watch mode + automated response means Gullwing runs continuously β€” flagging and isolating changes as they happen.

5. πŸ‡ͺπŸ‡Ί Regulatory Alignment

Gullwing helps you prepare evidence for the regimes below. (It assists compliance; the legal obligation remains with the regulated organisation.)

Regime Relevant Gullwing capability Key dates
EU Cyber Resilience Act CycloneDX 1.6 SBOM Β· binary-delta supply-chain verification Β· incident data capture (STIX 2.1) Reporting duties begin 11 Sept 2026; full conformity 11 Dec 2027
DORA ICT risk management Β· digital operational resilience Β· incident reporting Applicable from 17 January 2025
CISA no-cost services Self-assessed mapping to CISA's cybersecurity services β€”
NIS2 Incident data capture & supply-chain visibility β€”
UN R155/R156 Gullwing-Auto binary protection (vehicle ECU) β€”
KYC/AML Party Vault β€”

⚠️ Gullwing generates and organises the technical evidence. It does not replace legal advice or a formal conformity assessment.

6. πŸ’° No Recurring Costs

No per-seat licensing. No cloud fees. No API charges. MIT-licensed and local β€” you pay once in hardware and never in subscription.

7. πŸŽ“ Training Built In

Six arcade-style games teach binary-security fundamentals β€” a genuinely unusual way to build team intuition.

8. 🏒 Sector Demonstrations

Fourteen sandboxed demonstrations plus one bonus utility:

🏦 Private Banking Β· πŸ‡ͺπŸ‡Ί CRA Importers Β· πŸ› Clearing Houses Β· 🎟 Ticketing Β· 🎰 Gaming & Casinos Β· πŸ“ˆ Exchanges Β· πŸ₯ Healthcare Β· ⚑ Energy Grid Β· πŸ“‘ Telecoms Β· ✈️ Aviation Β· 🚒 Maritime Β· β›“ Blockchain Β· πŸ›ƒ Export Control Β· πŸ“¦ Ship Manifests Β· πŸ’Ύ Disk Guardian

9. πŸ”­ Roadmap

  • Post-quantum signatures β€” Ed25519 attestation today; migration path to CRYSTALS-Dilithium as standards mature
  • Model-BOM readiness for emerging AI-regulation requirements
  • Extensible 8-layer model β€” the community can add layers and integrations

🏒 Sector Demonstrations

Each sandbox demonstrates Gullwing's capabilities in a specific sector:

1. 🏦 Private Banking

  • Problem: Binary tampering in banking systems
  • Gullwing Solution: 25ms binary analysis, automated quarantine
  • Demo: ./sandboxes/MockBank/demo.sh

2. πŸ‡ͺπŸ‡Ί CRA Importers

  • Problem: CRA Article 14 importer obligations
  • Gullwing Solution: SBOM generation, supply chain verification
  • Demo: ./sandboxes/CRA-Importers/demo.sh

3. πŸ› Clearing Houses

  • Problem: KYC/AML compliance, party data management
  • Gullwing Solution: Multi-language stack, regulatory classification
  • Demo: ./sandboxes/PartyVault/demo.sh

4. 🎟️ Ticket Sales

  • Problem: Counterfeit tickets, scalping bots
  • Gullwing Solution: Hash verification, supply chain tracking
  • Demo: ./sandboxes/TicketMaster/demo.sh

5. 🎰 Casinos & Gaming

  • Problem: RNG tampering, slot machine integrity
  • Gullwing Solution: Binary integrity verification, tamper detection
  • Demo: ./sandboxes/CasinoGuard/demo.sh

6. πŸ“ˆ Stock Market

  • Problem: Trading algorithm manipulation, HFT integrity
  • Gullwing Solution: Anomaly detection, real-time monitoring
  • Demo: ./sandboxes/StockMarket/demo.sh

7. πŸ₯ Healthcare (NHS)

  • Problem: Ransomware attacks on medical systems
  • Gullwing Solution: Instant quarantine (0.025s), patient data protection
  • Demo: ./sandboxes/Healthcare/demo.sh

8. ⚑ Energy Grid

  • Problem: SCADA system attacks, grid instability
  • Gullwing Solution: Critical infrastructure protection, automated response
  • Demo: ./sandboxes/Energy/demo.sh

9. πŸ“‘ Telecommunications

  • Problem: Network equipment tampering
  • Gullwing Solution: Firmware verification, continuous monitoring
  • Demo: ./sandboxes/Telecom/demo.sh

10. ✈️ Aviation

  • Problem: Flight system tampering, navigation spoofing
  • Gullwing Solution: Firmware integrity, supply chain verification
  • Demo: ./sandboxes/Aviation/demo.sh

11. 🚒 Maritime

  • Problem: Navigation system spoofing, cargo fraud
  • Gullwing Solution: Manifest validation, integrity checking
  • Demo: ./sandboxes/Maritime/demo.sh

12. ⛓️ Blockchain

  • Problem: Private key theft, exchange compromise
  • Gullwing Solution: Quarantine, fund protection
  • Demo: ./sandboxes/Blockchain/demo.sh

13. πŸ›ƒ Export Control & Dual-Use Goods

  • Problem: Export control violations, sanctions-screening gaps
  • Gullwing Solution: Transaction flagging, compliance enforcement
  • Demo: ./sandboxes/Weapons/demo.sh

14. πŸ“¦ Ship Manifests

  • Problem: Cargo fraud, undeclared goods
  • Gullwing Solution: Manifest verification, customs hold
  • Demo: ./sandboxes/Shipping/demo.sh

πŸ’Ύ Bonus: Disk Guardian

  • Problem: Disk space exhaustion causing system crashes
  • Gullwing Solution: Real-time monitoring, automated cleanup, forensic logging
  • Demo: ./sandboxes/DiskGuardian/demo.sh

πŸ“‹ Requirements

Gullwing core runs on Linux, WSL2 and macOS.

Dependency Used for
Bash + coreutils Pipelines and demo scripts
LuaJIT Orchestration layer
Zig toolchain Compute kernels
Perl Ingestion and record processing
Python 3 Tooling, demos, reporting
Docker (optional) Only for wsolver (see @endrazine's README)

πŸ’‘ On storage-constrained systems, point Docker's data root at a larger volume before building the solver image.


πŸš€ Quick Start

# Clone the suite
git clone https://github.com/Chikimonki/Gullwing-Protocol.git
cd Gullwing-Protocol

# Initialize submodules
git submodule update --init --recursive

# Quick check (25ms)
gullwing check /usr/bin/ls

# Run the security pipeline
./scripts/security-pipeline.sh /usr/bin/ls

# Run all demos
./scripts/run-ultimate-suite.sh

Running the Tests

# Full suite: demos plus deterministic test gates
./scripts/run-ultimate-suite.sh

πŸ”§ Witchcraft Solver (Optional)

wsolver is Jonathan Brossard's (@endrazine) project.

For installation, requirements, build instructions, and usage, refer to the wsolver README.

We do not provide support for wsolver. We include it as a git submodule for convenience only.

Gullwing is complete without wsolver. Our core functionality does not depend on it.


🏭 Super Factories (AI-Compatible Build System)

Gullwing Protocol uses a Super Factory architecture for rapid deployment across sectors.

The Core Four

context:   # What the agent knows
  max_tokens: 8192
  focus: "Binary security analysis"

model:     # Which LLM to use
  primary: "qwen3.5:9b"
  secondary: "phi4-mini"

prompt:    # Instructions
  system: "You are a senior security engineer..."

tools:     # What the agent can do
  - file_read
  - file_write
  - shell_execute
  - gullwing_scan

The 5-Phase Workflow

  1. Scout β€” Understand the codebase
  2. Plan β€” Create structured implementation plan
  3. Build β€” Implement following the plan
  4. Test β€” Run deterministic gates
  5. Review β€” Validate quality and compliance

Factory Benefits

  • Rapid deployment β€” New sector sandbox in minutes
  • Consistent methodology β€” Same 8-layer analysis everywhere
  • AI-ready β€” Compatible with any local LLM (Ollama and similar)
  • Reproducible β€” Deterministic gates ensure quality

Example: Creating a New Sector Sandbox

# 1. Copy the factory template
cp -r sandboxes/MockBank sandboxes/NewSector

# 2. Edit factory.yaml
# 3. Add mock binaries
# 4. Run the demo
./sandboxes/NewSector/demo.sh

🐦 Specialized Variants (Modular Deployment)

Variant Purpose Deploy When
Sandpiper Standalone 8-layer convergence Minimal footprint needed
Gannet High-velocity ingestion High-volume binary processing
Egret Continuous monitoring 24/7 surveillance required
Buzzard Binary quarantine Isolated threat response
Curlew Supplier verification Supply chain audits
Crane Strategic forecasting Predictive security planning
Flamingo Legal text filter Regulatory document processing
Owl Regulatory intelligence Compliance monitoring
Swan COBOL modernisation Legacy banking systems
Tern COBOL to Rust translator Legacy migration
Skylark DORA compliance Financial regulation
Auto Vehicle ECU protection Automotive security
Arcade Training games Security education

All variants share the same 8-layer core. Deploy only what you need.


βœ… Trust & Verification Checklist

Anyone can independently verify Gullwing:

  1. Clone the repo and read every line (MIT)
  2. Check the published SHA-256 hashes of release artifacts
  3. Reproduce the build and confirm the binary matches its hash
  4. Run the tool on a known target and inspect the output
  5. Review the ML model integrity checks
  6. Exercise the quarantine feature on a test binary
  7. Audit the generated compliance reports

We don't ask for trust β€” we provide the means to verify.


πŸ“Š Summary

SOVEREIGNTY Air-gapped β€” your data never leaves your network
OPEN MIT-licensed β€” independently rebuildable and verifiable
SPEED ~25ms analysis Β· ~2s supply-chain detection
COMPLIANCE Evidence generation for CRA Β· DORA Β· CISA Β· NIS2 Β· UN R155/R156 Β· KYC/AML
COST $0 licensing Β· $0 cloud Β· $0 API
TRAINING 6 games that teach binary security
COVERAGE 14 sector demonstrations + 1 bonus utility
ROADMAP Post-quantum-ready Β· AI-regulation-ready Β· extensible

πŸ”’ Security

Found a vulnerability in Gullwing itself? Please report it responsibly β€” see SECURITY.md. Do not open a public issue for security findings.

🀝 Contributing

PRs are welcome. Read CONTRIBUTING.md for the workflow, test gates and coding conventions.

πŸ“œ License

MIT β€” 100% open source.


A complete security department in a box β€” detect, audit, comply, explain. On your hardware.

⚠️ Known Limitations

Gullwing is both a detective AND a bodyguard β€” it investigates AND it acts. It tells you what's wrong. It doesn't physically prevent attacks.

Limitation Impact Mitigation
Static analysis by default Runtime/Memory skipped Use --deep-memory
ML confidence β‰  certainty 99.99% still means 1 in 10,000 wrong Human review for critical decisions
wsolver is experimental Research-grade, not production-ready Understand limitations before use
Quarantine is filesystem-level Not kernel-level isolation Use with OS-level security
Single-machine by default Fleet needs Headscale Deploy Headscale for multi-node

For complete security, use Gullwing alongside: firewalls, sandboxes, SIEM, antivirus, and penetration testing.

Gullwing's unique value: Speed (25ms), automation (quarantine), and accessibility (Aunt Maggie can use it).

See LIMITATIONS.md for full details.

About

No description or website provided.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages