Secret police definition [1]
> Secret police (or political police) are police, intelligence, or security agencies that engage in covert operations against a government's political, ideological, or social opponents and dissidents. Secret police organizations are characteristic of authoritarian and totalitarian regimes.
Security police definition [2]
> In some countries, security police is the name given to the secret security and intelligence services charged with protecting the state at the highest level, including responsibilities such as personal protection of the head of state, counter-espionage, and anti-terrorism.
Specific example for Swedish 'Security Police'.[3] if you look up any EU agency with similar roles it will be found that they are all security, not secret.
1: https://en.wikipedia.org/wiki/Secret_police
FWIW, the distinction is not as clear cut to me. In the 1970s, the ruling government body (social democrats) passed on information in order to make registers of political opponents in the far left and far right to SÄPO.
More of that part here: https://sv.wikipedia.org/wiki/S%C3%A4kerhetspolisen#%C3%96ve...
The Nixon watergate scandal was also similar to your first definition there.
Palantir, founded by Peter Thiel (currently funding JD Vance), is building a vast person database [1].
I believe their biggest customer is the US government, and is being used by ICE [2].
1: https://beyondthefirewall.substack.com/p/palantirs-new-maste...
2: https://www.404media.co/leaked-palantirs-plan-to-help-ice-de...