EdgeGuard
FeaturesAutonomyGuardrailsOpen sourceAbout View on GitHub
Open-source AI firewall • Native macOS • AI-powered decisions

The AI Firewall That Handles Threats for You

EdgeGuard watches outbound traffic on your Mac, decides which connections are dangerous, and blocks confirmed threats on its own. You set how much it may do, and every action is logged and reversible.

Swift · macOS 13+ · MIT license · early development

FinderFileEditView
1Sun 18 Oct 14:02
EdgeGuardAuto mode
interface preview
AI decisionconfidence

·

A firewall that does the work, not just the logging

Small remote teams have no one to watch a security console. EdgeGuard takes over the routine decisions and only interrupts you when a human is needed.

Automatic triage

Rules on the Mac clear routine traffic instantly. Only unusual connections go to the AI, so nothing noisy reaches you and API usage stays low.

AI-made decisions

For each flagged connection, the AI returns a verdict: allow, block or ask, with a confidence score and a plain-language reason.

Self-managing block rules

Confirmed threats are blocked automatically. Rules expire on their own, so a wrong call never locks you out for long.

Audit trail for every action

Each decision is recorded with the evidence and the reason, so you can review what the firewall did and why.

You choose how much it does on its own

Start by watching. Move to automatic blocking when you trust the decisions.

Monitor

Observes and explains. Never blocks anything. The safe way to see what EdgeGuard would do on your Mac.

Suggest

Recommends a block with its reasoning and waits for your approval. This is the default mode.

Auto

Blocks high-severity threats by itself when the model is confident enough. Everything else still asks you.

Sources/EdgeGuardCore/FirewallEngine.swiftexcerpt
let canBlock = verdict.action == .block
    && verdict.severity == .high
    && verdict.confidence >= policy.minConfidence
    && !policy.protectedProcesses.contains(flow.process)

guard canBlock else { return ask(user, verdict) }   // a human decides
rules.append(BlockRule(..., expiresAt: now().addingTimeInterval(policy.blockTTL)))

Guardrails and privacy

An autonomous firewall must be careful. These limits are enforced in code and covered by unit tests.

  • Confidence threshold. Automatic blocks need a high-severity block verdict above the confidence you set.
  • Protected system processes. Core macOS services are never blocked automatically.
  • Fail safe. If the AI is unreachable or answers badly, EdgeGuard asks you and blocks nothing.
  • Temporary and reversible. Automatic blocks expire after one hour by default and can be undone.
  • Metadata only. The AI sees process name, remote host, port, protocol and byte count, never packet contents. User paths are removed and private addresses masked. Requests set store: false.

Built in the open

EdgeGuard is MIT-licensed. This is where the project stands today.

Core library and command-line toolAvailable
Redaction and local triage rulesAvailable
AI decisions via an APIAvailable
Autonomy engine: modes, guardrails, expiring rules, audit logAvailable
Evaluation harness, cost controls, saved stateAvailable
Menu bar appPreview with demo flows
NetworkExtension enforcement on real trafficIn development
Shared team policiesPlanned

Read the code, open an issue, send a pull request

The repository includes architecture notes, an autonomy and guardrails guide, a threat model, an evaluation method, a roadmap, a security policy and contribution guidelines.

Open the GitHub project

About DigitalSpark

DigitalSpark builds autonomous security tools for small remote teams. EdgeGuard Mac, our first product, is an AI firewall that handles routine threats so nobody has to watch a console. We are an early-stage startup incubated by the Fundacja Rozwoju Przedsiębiorczości “Twój Up” in Warsaw, Poland.

Questions, partnership requests and press enquiries are welcome.

Fundacja Rozwoju Przedsiębiorczości “Twój Up”

ul. Żurawia 6/12, lok. 766, 00-503 Warszawa, Poland

NIP 5213641211 · REGON 146433467 · KRS 0000442857