The Algorithm That Might End Pipeline Leaks