Spying on the population was a big driver behind the THIRD amendment:
No Soldier shall, in time of peace be quartered in any house, without the consent of the Owner, nor in time of war, but in a manner to be prescribed by law.
While forcing the colonists to provide housing and upkeep for the soldiers sent to oppress them was an economic issue, there was more to it than that.
A soldier "quartered" in a colonist's house also served as a spy for the crown and its army. He eavesdropped on the conversations of the family and visiting friends. He had the opportunity to view their records when they weren't home (or even if they were). He reported anything suspicious to his unit. His presence inhibited getting together with others to hold private discussions, especially about opposing (by protest or otherwise) anything the government was doing. He was a continuous walking search, fed and housed by the people he was investigating.
It seems to me that law-enforcement and intelligence agency spyware, such as keyloggers and various data exfiltration tools, is EXACTLY the digital equivalent: It is a digital agent that "lives" in the home or office of the target. It consums the target's resources (disk space, CPU cycles network bandwidth) to support itself. It spies spying on the activities and "papers" of the target, reporting anything suspicious (or anything, actually) back to its commander, to be used as evidence and/or to trigger an arrest or other attack. It is ready, at a moment's notice, to forcefully interfere with, destroy, or corrupt the target's facilities or send forged messages from him.
Spyware is EXACTLY one of the most egregious acts (one of the "Intolerable Acts") that sparked the American Revolution. I'd love to see the Third brought back out of the doldrums and used against these "digital soldiers" the government is "quartering" inside our personal and private computing devices.