4,167 karma · joined Aug 12, 2022 (4y ago) · 3,309 submissions
comment 3w ago · link · parent
Hardly anyone ever thinks about this despite it being a gaping hole. For all the whining I've ever heard about package managers like npm, this one is even uglier and likely being exploited right now. Its dynamic behavior is by design making it very hard to reliably demonstrate when it's being exploited, but it's a hole nonetheless.
It's perfectly actionable to stop using 3rd party scripts the way I outlined in a reply to a sibling comment. I'm not sure what else you need me to say.
It's very simple. Don't open up your web server's content security policy to domains that you "trust" just because a big name company tells you to. The only rub is that it directly contradicts all the instructions every analytics/ad provider gives for their scripts. Is that the real reason why you're saying it's "not actionable"?
comment 3w ago · link · parent
I'm not sure why you insist on playing whack-a-mole. You'll eventually just end up with a list of every domain the user visits on a regular basis. You're basically "shooting the messenger". Do you not understand that this is the other way around? Do you not understand this is a supply chain attack?
If you insist on warning users, then that could only possibly work against the URLs of the requests behind the scenes, not the domain of the site they intended to visit. That is basically what an adblocker already does in the first place!
But, an adblocker is not a solution to this problem and is just a band-aid. Re-read the rest of my earlier comments.
comment 4w ago · link · parent
That's the standard definition of a supply chain attack. If the website maintainer was acting maliciously or incompetently, it wouldn't be a supply chain attack anymore.
comment 4w ago · link · parent
The scripts should be 100% static files hosted by the same origin and not be obfuscated. These scripts should not make additional requests to inject even more scripts that cannot be known until run time and are specific to that targeted visitor. These scripts should be released in the usual semver tradition with matching hashes that never change without the explicit action by the same domain that the user actually visited (making the nonce obsolete).
Like I said, this is a very old debate with a very simple solution whose only problem is that it breaks the business model of a multi-billion dollar idea. Not only would this tighten up security, but your favorite websites wouldn't lag so hard anymore either. The vast majority of complaints about the web being slow are from the dozens of HTTP requests constantly being made behind your back. This is exactly why so many users feel forced to use an adblocker even though that doesn't always work.
comment 4w ago · link · parent
Do you have a POC of this era of "AI" working out as expected without the part I added after the '+'?
I'm only saying that this is not like the rest of computer science. It's borderline brute force. That's the bottom tier for algorithms and often considered trivial.
comment 4w ago · link · parent
The blame game isn't going to solve this. Blaming it entirely on the website owners/maintainers is only treating the symptoms instead of the disease.
comment 4w ago · link · parent
> Supply chain - a third-party script file that a site loads is infected with malware, and is then loaded on to the site, exposing all visitors.
I already know many will disagree, but this is far too vague for your answer to make much sense. The list of 15k websites isn't given.
Most websites have at least one analytics script. Some of the biggest vendor names in that space have known XSS issues via nonce reuse that they aren't going to fix because it threatens their entire business model.
You usually get the whole clown car as soon as you allow one 3rd-party script for relatively innocent use cases like wanting a heatmap of user interaction.
You should fully expect that such a blacklist would take out most, if not all, of the websites you use every day. The security model for 3rd party scripts tends to be "trust me bro, we're $bigname"
comment 4w ago · link · parent
I don't think "AI" is going anywhere. It's here to stay, but it's also massively overhyped and still somehow misunderstood by those who never got a CS education. There are a lot of charlatans still making absurd claims long after it should have ended.
comment 4w ago · link · parent
Transformers are not a particularly significant academic breakthrough in computer science or engineering, but they are an application of what we used to broadly call "big data". The research had a much smaller impact on the result than the sheer scale at which we started to throw hardware at it and the very permissive situation we found ourselves in regarding the data that feeds it.
None of this really works without the massive amounts of data and hardware. It's enough to make you wonder how many times similar thoughts had been floated before we accepted some variant of the "transformer" idea.
As a consequence, AI is more like 50% political, 30% sales pitch, and 20% "tech".
comment 4w ago · link · parent
This is especially true when you know how to avoid ads otherwise and are confronted with what must be the default ads for the majority of regular users.
It's like a smell. Some are pleasant, some are fascinating, and some are totally nasty, but I don't willingly plug my nose everywhere I go like a psycho.
What would the world be like without smells? This is a serious question I'm asking. How recalcitrant do you really have to be to get offended by all ads and on the principle of the matter?
comment 4w ago · link · parent
Doesn't it make more sense that these things just advertise better on Instagram? These are all things people like to show off on that platform.
> It's almost like rather than identify who I am, they identified the social niche stereotype I identify with, and then pull ads from that reservoir.
So... you're a typical user of Instagram? I'm not following how this alone isn't the largest signal of all.
comment 1mo ago · link · parent
1. Someone else who isn't you figured out how wrong Freud was.
2. What is considered "intuitive" changes over time because of those questions you never had to consider and the answers that you now do.
The less curious you are about the past, the more likely you are to repeat its mistakes. Do not consider yourself immune. It's the people who are as dismissive as you are that are most highly at risk!
comment 1mo ago · link · parent
You're only thinking about new stuff adding "breadth". I think most people would agree with you that new tools rarely have new use cases, so not truly adding "breadth", but that's where we get into "depth".
When looking at long-term learning, there's a lot of "depth" and subtlety in the way the existing tools work. There also comes a point where you have a firm grasp of all implementation details, but are unhappy with the ergonomics of the existing tools to do a particular job. What was an odd use case can become more common with time. This is how new tools and terminologies are born (adding "breadth"), but you have to remember there are always less experienced devs you need to communicate with. Their understanding will be based on these newer tools. Similarly, you spend the rest of your career "catching up" with the writings of the devs more experienced than you.
Why does any of this matter? Why don't we standardize and end this cycle? Well, that would prematurely kill off innovation. AI training may be allowed to become stale, but human knowledge cannot. The goal is always to improve the existing code and the new code.
comment 1mo ago · link · parent
Historically, there has been a lot of pressure to reproduce, but in the modern era this doesn't always make as much sense. I wish there was more research to clarify this phenomena.
We'd potentially be avoiding a lot of grief and angst during young adulthood for those who choose not to be parents if they more clearly understood why it doesn't "feel right". That grief and angst from choosing "wrong" potentially translates to cases of mental illnesses in the children at best and domestic abuse at worst. Even when couples choose not to have children, they can still be very unhappy. It's as much a matter of social justice as it is health.
comment 1mo ago · link · parent
Long before the birth of anyone reading this, we shifted away from the extremes and started caring more about the median person's thoughts and experiences. It's a fundamental aspect of modern western civilization.
What does the median intellect know about romanticism? As a matter of fact, what do you really know about it?
comment 1mo ago · link · parent
This topic has historically been reserved for those fortunate enough to be so leisurely with their time. Haven't you ever considered that you're seeing the beginning instead of the end? Why else would there be so much debate? It's a big change to the status quo.
If you're so convinced you've got this whole greedy game plan figured out, then why isn't it working?
comment 1mo ago · link · parent
Dysfunctional middle management has always traditionally neglected it or actively undermined it, blaming others when things go wrong and taking credit when things go right.
Naive developers are always more than happy to do what they think is "picking up the slack" not realizing it's a trap.
Perhaps most organizations are just now more wise to the fact that using AI to "accelerate the process" is like arming the monkeys with machine guns?
comment 1mo ago · link · parent
There's nothing to discuss here, but I'll try anyway...
I don't think we've ever burned down a city and "started over" just because of obnoxious salespeople harassing and soliciting, antisocial loitering, open air drug problems, homelessness, or even the unregulated food carts making people sick. It's extremely easy to see that these problems are as old as civilization and the parallels with social media, ecommerce, advertising, etc.
We solve them by ousting the old and bringing regulation. Tough shit if you don't like it. It's not a question of "if", but "when". It happens when people get fed up enough. We're not quite there since it's still mostly unproductive whining.
comment 1mo ago · link · parent
I'm sure they can just fire half and double up work or outsource. That's the traditional way and it definitely works. The worst that ever happens is a few will reneg on payroll. Everyone who still chooses to work there is happy enough.
The worst that can happen with AI... well...