Technical Whitepaper

Guard Core
vs Traditional WAF

The complete security architecture that fills critical gaps traditional Web Application Firewalls cannot address, because they operate at the wrong layer.

Application layer
Behavioral tracking
Decorator-based rules
Zero-downtime updates
01 · Summary

Executive Summary

Not just another security middleware - a paradigm shift in how API security is designed, enforced, and evolved.

Guard Core addresses fundamental limitations of traditional Web Application Firewalls by operating at the application layer, with deep integration into your application framework.

It provides context-aware, rule-based security that understands business logic, tracks behavioral patterns via prebuilt and custom rules, and updates dynamically without redeploys, not just signature matches against a static ruleset.

Application-Layer Intelligence

Understands return values, business logic, and application state

Real-Time Behavioral Pattern Detection

State-machine detection of credential stuffing, slow brute force, recon bursts, path-traversal escalation, and API enumeration. Fires within seconds of the triggering event, not next morning. Customizable patterns supported.

Route-Level Granularity

Different security rules for different endpoints via decorators

Real-Time Adaptability

Dynamic rules and emergency mode without restarts

02 · The Problem

The Fundamental Problem with Traditional Security

WAFs are border guards. They check passports, but they have no idea what visitors do once inside.

WAF Limitations

Context Blindness

WAFs see HTTP traffic but cannot understand application context

Static Rules

Updates require configuration changes and restarts

No State Tracking

Cannot correlate requests over time or across instances

One-Size-Fits-All

Same rules for all endpoints, no business logic awareness

Guard Core Solutions

Full Context Access

Access to request AND response data with business logic understanding

Dynamic Configuration

Real-time rule updates without any service interruption

Distributed State

Redis-backed tracking across all instances

Endpoint Specificity

Customized security rules per route with decorators

03 · Architecture

A Revolutionary Architecture

A multi-layered defense system that operates where security decisions have the most context, inside your application.

Core Components

Security Middleware

Central request/response interceptor with full context access

Handler System

Modular security components for different threat types

Decorator Framework

Route-specific security configuration with Python decorators

Redis Integration

Distributed state management across all instances

04 · Features

Complete Feature Analysis

Every capability, mapped to the attack class it defends against. Pick a tab to dive in.

12 · Wrap-up

Conclusion

Moving security intelligence into the application layer addresses the gaps a WAF alone cannot fill.

Guard Core represents a fundamental shift in API security philosophy. By moving security intelligence into the application layer where it has full context, it addresses critical gaps that traditional WAFs simply cannot fill.

Key Advantages

Context Awareness

Understands business logic and application state

Real-Time Behavioral Pattern Detection

Streaming FSM evaluation fires matches within seconds; prebuilt + customizable rules

Granular Control

Different rules for different endpoints via decorators

Real-Time Adaptability

Dynamic rules without restarts or redeployments

Fork-Safe Agent

Production-ready for Gunicorn / uWSGI multi-worker Python deployments

Persistent Outbox Delivery

Events held in Redis until SaaS confirms receipt, survives restarts

K-Anonymous Reputation

Cross-tenant threat sharing gated by consent and bucketed for privacy

GDPR Pipeline

Deletion SLAs, incident tracking, retention policies, audit log out of the box

Developer Experience

Pythonic API that integrates naturally with FastAPI

Cost Effectiveness

Free software with minimal infrastructure requirements

Distributed Architecture

Built for cloud-native, microservices environments

Comprehensive Protection

Covers network, application, and business logic layers

When to use Guard Core

Always

As your primary application security layer

With WAF

As complementary protection for defense in depth

Instead of WAF

Never. They should be used side by side.

For Compliance

Detailed logging and audit trails

For Performance

When WAF latency is unacceptable

For Control

When you need security rules as code

Final Thought

In an era where attacks are increasingly sophisticated and targeted at application logic vulnerabilities, perimeter security alone is insufficient.

The question isn't whether you need Guard Core, it's whether you can afford to operate without it.