Since Pathfinder, Revenant, and Bloodhound, who wears a gas mask, don't possess a specific chemical compound, they're still affected by the toxic traps. ... Since Caustic is the one who created this corrosive gas, it makes sense that he would create a counter to it.