4 ms·
Capital One's site (which includes a login form) calls out to DoubleClick, Facebook, New Relic, something terrifyingly vague called xg4ken.com, and about a doze
by ceejayoz 7y ago
Capital One's site (which includes a login form) calls out to DoubleClick, Facebook, New Relic, something terrifyingly vague called xg4ken.com, and about a dozen other third parties.
One targeted compromise of any of these scripts would be catastrophic.
- varenc 7y agoFor an example on how to do this with fewer compromises on security, check out Dropbox's homepage. They also call out to a dozen third parties, but the entry point for all the JS is a sandboxed <iframe>, mitigating the fall out if some of that JS becomes malicious.
- kevin_thibedeau 7y agoA company with Dropbox level money should be able to write all of their front end code. It's disgusting that few top 500 companies do.
- varenc 7y agoI don't think any of the third-party JS is for functionality. Many large companies call out to 3rd parties not because they don't want to write code, but because they're using marketing services so they can do things like re-target users for ad displays on other websites. (also many top N companies do use 3rd party code, like React, but they usually re-host that themselves)
- CamperBob2 7y agoDropbox doesn't appear to have the strongest developers on the client side, so perhaps that's true on the front end as well. I still get messages along the lines of, "Your hard drive is full. Dropbox cannot synchronize until you free up some disk space," with 4 GB free, even though many users have complained loudly about that for years. The Dropbox client was also causing weird problems with dropdown menus in MS Office applications for a long time, which took forever to track down. That at least appears to have been fixed now, although I can't (or perhaps don't want to) imagine how it happened in the first place. Dropbox does hard things, HN conventional wisdom notwithstanding, and they do them reasonably well. But they can be very slow to recognize when they're doing something wrong.
- gruez 7y ago>calls out to DoubleClick, Facebook, New Relic, something terrifyingly vague called xg4ken.com, and about a dozen other third parties Now imagine how many npm dependencies the backend or frontend has. How much do you trust marwahaha, yyx990803, or sokra?
- im3w1l 7y agoScript inclusion is worse because you can decide what you send depending on ip, enabling targeted attacks. With NPM you will have to upload the malware for all to see.
- penagwin 7y ago> xg4ken.com is a domain registered under Kenshoo inc. Why did they register such a bizarre domain, that even calls out the exact owner? To avoid blocker-lists for all of 3 seconds? Why not a subdomain, or at least a domain that doesn't look like that?
- t0astbread 7y agoMaybe they wanted their presentational site to run under a different domain than their ad/tracker distribution site so that engineers who unknowingly block their ads can still learn about their business. And blocklist maintainers tend to immediately block root domains I guess. (At least I would if I saw an obscure subdomain from a party I want to block.)
- maximente 7y agoi tried watching the recent US democratic party prez debates on cnn.com and found out that it connects to at least 26 external domains, one of which was called summerhamster.com just checked again and seems to be the same.