Iran's crackdown on nationwide protests earlier this month left thousands dead in one of the biggest challenges to the hard-line government in decades.
The president argued in the lawsuit that the agencies failed to prevent a former contractor from leaking his tax returns from nearly a decade ago to news outlets.
President Donald Trump separately urged Democrats and Republicans to vote for a bipartisan deal that would resolve the government shutdown funding fight.
The man accused of carrying out the assault has social media accounts that include multiple photos in support of Trump and criticizing Democrats. The FBI is investigating.