Dev.to Security 🔐 Cybersecurity 👁 2 📖 3 min read

Do you know what your signup form sends to ad networks?

If you run a form that collects Social Security numbers, you may be sending them to an ad company right now, and you may not know it. That is the risk in a report from Melurna researchers Sam Jadali and Subham Chatterjee

If you run a form that collects Social Security numbers, you may be sending them to an ad company right now, and you may not know it. That is the risk in a report from Melurna researchers Sam Jadali and Subham Chatterjee. They say more than half a dozen US banks shared prospective customers' emails, phone numbers, SSNs and driver's licence numbers, sometimes before the applicant submitted the form.

Here is what is confirmed. TechCrunch tested the CIT Bank form, which belongs to First Citizens. It entered a dummy SSN and matched the hash that went to X. So the SSN left the browser as a hash, not as plain text. Northwest Bank shared data with Reddit and has paused collection. It says this is not standard bank practice. The researchers notified eight banks, and only one removed the code. CIT, First Citizens, X and Acoustic did not answer TechCrunch. Reddit says it prohibits advertisers from sending sensitive information. That is Reddit's statement about its rules, and it does not tell us what happened on these forms.

One limit on all of this. The researchers' own write-up returned an error when we tried to open it, so I have not checked it myself. I am relying on TechCrunch for the details, and TechCrunch independently confirmed one case. The other banks are the researchers' claim until someone tests them.

My position is simple. A hashed SSN is not anonymous. The researchers say hashing does not stop unscrambling, and that numbers like SSNs are especially easy to reverse. So when someone tells you the data was hashed, hear it as: the data was sent. I would not treat the hash of an SSN as protection.

If this were my stack, the first thing I would check is what actually loads on every page that asks for identity data. Not what the tag manager says should load. What loads. I would open the browser's network panel, type a fake SSN into each field, and watch which requests go out and to whom. TechCrunch ran this kind of test, so it is not exotic. I would do it for the application, the login and the password reset pages. I would also check whether anything fires before the submit button, because the researchers say some data left before submission. Checking only the submit step is not enough.

What I would do first is remove every third-party script from those pages. Not configure it. Remove it. Then I would add a content security policy that only allows my own domains on those pages, so a marketing tag cannot come back without a code change that someone reviews. Marketing still needs to know whether an ad worked. I would send a plain conversion event from my own server, with no personal data in it. That costs some attribution accuracy, and I think the cost is worth paying. I would also write down who owns the answer to the question of what loads on each page. One fix out of eight notices suggests that ownership was unclear.

I am optimistic about where this goes. Within 12 months, I expect at least one regulator or lawsuit to name tracking on a bank form, and most banks that kept the code to remove it quietly. Within five years, I expect forms that collect identity data to ship with no third-party scripts, and auditors to check that the way they check encryption today. This is an easy fix compared with most security problems. It mostly takes deciding that it is a problem.

What would change my mind? If the researchers' write-up shows the data was never tied to a real identity, I would soften my view. If the ad platforms show that they drop sensitive fields on arrival, and can prove it, I would soften it too. If CIT or First Citizens shows that the hash was not of a real SSN, same. A promise alone would not do it. A policy that prohibits sending sensitive data is not a control that stops it.

Until then, my line is the same. An ad pixel on an application form is a data leak, and the engineers who own those pages should treat it that way. Which script on the pages that take identity data in your stack could you not name right now?

Sources:

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.