The PE4312 is a 50Ω, 6-bit RF digital step attenuator available for around 2 USD. Pretty neat for implementing real digital AGC!
For half-the-price we can get the alternate Archiwave ARW637 or ARW621A ICs which work very similarly to PE4312!
References: