Insights

All Publications

Technical research and field notes from our security consulting practice. We publish what we learn so the broader community benefits.

2024
Database Security

Simple Queries, Hidden Dangers

How innocuous-looking PostgreSQL queries can hide performance time bombs and create denial-of-service opportunities.

2023
AI Security

Grounding LLMs with Precise Code Intelligence

How compiler-accurate code navigation data prevents hallucinated outputs in AI-assisted development tools.

2022
Database Security

The Hidden Risks in Database Migration Pipelines

Broken migrations, deadlocked indexes, and schema drift as silent production vulnerabilities.

Database Security

When Autovacuum Becomes a Performance Risk

Tuning PostgreSQL's maintenance daemon for high-transaction systems to prevent availability risks.

2021
Application Security

Securing Commit Graph Traversal at Scale

Pre-computed visibility maps replaced in-memory graph traversal, eliminating denial-of-service risks.

Database Security

Why Your PostgreSQL Version Is a Security Decision

Statement-level triggers with transition tables were the only way to build efficient audit logging.

Database Security

Implementing Transparent SQL Audit Logging

PostgreSQL triggers and JSONB for application-agnostic audit trails without modifying application code.

2020
Infrastructure

Migrating to PostgreSQL: A Cloud of Mistakes

When missing indexes on multi-gigabyte tables turned a routine migration into a production outage.

Application Security

Optimizing a Code Intelligence Backend for Security

Profiling-driven optimization that reduced attack surface while improving throughput by 5x.

Code Review

Auditing an Accidentally Quadratic Indexer

A code intelligence indexer consumed 8 minutes per run due to repeated AST traversals. Single-pass caching cut it to 24 seconds.

Architecture

Eight Architectures in 527 Commits

How a backend's evolution through eight major rewrites revealed operational security tradeoffs at every turn.

2019
Code Review

How a Circular Import Created a Silent Vulnerability

A circular dependency caused a security-critical constant to silently evaluate to NaN, breaking git commands for two weeks.

Application Security

Environment-Specific Bugs and the “Works on My Machine” Threat

A developer's shell alias masked a malformed RPC call that passed in production.

Application Security

A Denial-of-Service Bug in Go's Standard Library

Go's os.RemoveAll entered an infinite loop when a directory contained over 1024 undeletable entries.

2018
Code Review

Testing Patterns That Catch Security Regressions

Interface mocking patterns in Go that verify error handling, cache poisoning resistance, and parameter validation.

2017
Infrastructure

Build Reproducibility and the Unstable API Trap

When a Redis module API changed its function signature between builds, the linker stayed silent and the runtime crashed.