It’s pretty close to the plot of “Burn After Reading.”
Two people have access to (what they believe to be) state secrets and try to sell them to a foreign government, but are unknowingly dealing with a US agent the whole time
I just watched it recently and I made similar connection. I naturally hope the connection is in my head only. Plus, in this case, it would appear the couple was already a part of IC. Does someone remember of the top of their head percent of US population engaged in it? Past 10% leaks like that are practically guaranteed.