Interesting take on Kalman filters. How much improvement did you see when dealing with deliberately misleading measurements?
Building aegis-filter: Why Standard Kalman Filters Fail in Adversarial Environments
2 Comments
@[Goofy]
Thanks for reading!
In quantitative terms, the difference between standard linear KF and outlier-gated execution under deliberately misleading data is the difference between complete state divergence vs continuous millimeter-level tracking:
Under a standard linear Kalman update without innovation gating: When an adversarial delta (e.g., +150m GPS spoofing step) is injected, the Kalman gain immediately incorporates the corrupted residual into the state vector: x = x + K * (z - x) Because the sensor variance R assumes trusted Gaussian noise, the state instantly jumps by ~85–110m in a single step, which in an autonomous flight control loop causes an unrecoverable dive or motor cutoff.
With aegis-filter's 3-sigma Chi-square innovation gating: The residual (z - x) is tested against the innovation covariance bound before updating: |z - x| > 3.0 * sqrt(P + R) In our 30-step flight simulation containing sudden +150m and -80m adversarial spikes:
100% of the spoofed measurements were gated (Status: SPOOF REJECT).
The filter held state propagation forward via physical model dynamics.
The absolute tracking error stayed bounded between 0.003m to 0.080m throughout the entire flight trajectory instead of diverging by over a hundred meters.
In short: a standard filter suffers complete state divergence (>100m error), whereas innovation gating with Joseph-stabilized covariance keeps the operational state error strictly sub-decimeter.
You can reproduce the exact simulation by running: cargo run --example flight_telemetry directly from the repo (https://github.com/Exploidus/aegis-filter).
Please log in to add a comment.
Please log in to comment on this post.
More Posts
- © 2026 Coder Legion
- Feedback / Bug
- Privacy
- About Us
- Contacts
- You Tube
- Tiktok
- Premium Subscription
- Terms of Service
- Early Builders
I build execution runtimes, microkernel primitives, and line-rate packet engines from first principles focusing on deterministic real-time scheduling, memory safety, and hardware capability enforcement.
Key Technical Focus & Active Work:
• Flight Software & Space Systems:
Ported NASA's Core Flight System (cFS) natively to Exploidus OS (custom capability microkernel) with zero portable core patches. Implemented native OSAL/PSP syscall mappings, a deterministic 100 Hz minor-frame scheduler (SCH), double-buffered Table Services (TBL) for live GNC PID parameter hot-reloading, and BLAKE3 capability-gated effector actuation. Co-authored the Community Security Architecture Proposal v0.1 presented on NASA cFS Discussion #1168.
• Operating System Development:
Architected Exploidus OS, a security-oriented x86-64 microkernel featuring intent-based preemptive scheduling (INTENT_COMPUTE), userspace atomic futex primitives (SYS_FUTEX), and ExFS (crash-consistent filesystem with provenance records).
• High-Throughput Linux Networking & eBPF:
Engineered aegis-filter / xdp-guard (pure Rust), a line-rate Layer-4 ingress defense engine operating at the NIC driver layer (XDP_DROP) to mitigate multi-million PPS volumetric floods before sk_buff kernel memory allocation. Published on crates.io.
• Open Source Contributions:
Identified and resolved an inherited 1-bit specification discrepancy in the CCSDS File Delivery Protocol (CFDP) Metadata PDU closure-requested flag within NASA's F Prime framework (PR #6143, verified by NASA core maintainers).
Core Stack:
C (C99/C11), C++20, Rust, x86-64 Assembly, Linux Kernel Internals, Microkernels, eBPF/XDP, Futex, QEMU, GDB.
Code & Repositories:
• Personal GitHub: https://github.com/rahadbhuiya
• Exploidus Labs: https://github.com/Exploidus
• Research Site: https://exploidus.com Show less
More From rahadbhuiya
Related Jobs
- Spanish Educational Video Scriptwriter / Instructional Content DeveloperIdlewild Co · Full time · Charleston, WV
- Retail Sales Associate Spanish BilingualVerizon · Full time · Germany
- Spanish Bilingual Appointment Setter Work From HomeInsurance Protection Specialists · Full time · Puerto Rico
Commenters (This Week)
Contribute meaningful comments to climb the leaderboard and earn badges!