[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


It's over.
https://sansec.io/research/polyfill-supply-chain-attack
>>
Extremely based.
Death to all embedded outside domain scripts.
>>
>>101176346
Hm, a great example of what happens when you sell to the Chinese.
>>
>>101176346
Good. The sooner all libraries die, the better. Internet is unusable today because all "front-end engineers" are drooling retards who can't even write document.getElementById and end up importing several megabytes of obscure code even for the simplest shit. Kill all libraries, kill all bloated javascript, make internet usable again.
>>
I wonder how many services like this are already compromised, and just waiting to become active.
>>
>100k+ sites embed it
so like 0.001% of all the sites?
>>
>using libraries

gonna be a big ol' yikerino from me neighbor.
>>
>>101176521
>0.001% of all the sites
but 99.999 of all the traffic
>>
>>101176521
retard
>>
>>101176346
>Loading executable code over the network that you have no control over
Are web devs this fucking retarded?
>>
>>101176346
https://www.bleepingcomputer.com/news/security/cloudflare-we-never-authorized-polyfillio-to-use-our-name/
>Further, to keep the internet safe, Cloudflare is automatically replacing polyfill.io links with a safe mirror on websites that use Cloudflare protection (including free plans).
mitmflare
>>
>>101176346
>not using sub resource integrity
you get what you fucking deserve.
>>
>>101176346
>mfw EU was forcing every website to local store thirdparty libs
EU boomers win again, jeets lose
>>
>>101176546
Webdevs aren't even taught how to build elements by hand nowadays, they think frameworks were always part of the language.
>>
>>101176546
>Are web devs this fucking retarded?
As a web dev, I say yes.
>>
>>101176579
there's nothing wrong with lightweight frameworks
>>
>>101176546
there is literally nothing wrong with this if you assert the code matches a well known shasum.
>>
>>101176554
this. it's insane people think that is a good thing
>>
>>101176599
>lightweight
>frameworks
umm, sweaty...
>>
>>101176554
there's no chance cloudflare won't get compromised at one point, it's too big of a target
>>
>>101176558
Polyfill.js serves polyfills based on user agent, so the hash isn't known beforehand.
>>
File: 1719508494277.jpg (43 KB, 379x379)
43 KB
43 KB JPG
>>101176346
>googie anailytics
my fucking sides. also javascript was always insecure and always will be, this is another fearmongering nothingburger niggergoonhitlerposter making shill posts.
>>
>>101176606
>check hash
>doesn't match
>web site is now broken
Nice going, smart guy.
>>
>>101176628
then it's shit.
who uses that shit?
>>
>>101176621
larp
>>
>>101176510
seconding this
>>
99.99% of people on this thread do not need polyfill. BLOCK IT using ublock or similar. Web devs and web standards are both retarded.
>>
>>101176346
> Chinese owner of the popular Polyfill JS project
just quit fucking using chinksect libraries
>>
>>101176628
>supporting browsers older than nightly builds
>>
>>101176554
These sites are too powerful and use their powers too often for me to not see the extreme dangers when (not an if) they abuse their power. Since they have the capability, it will only be a matter of time when they use it against political foes, commercial rivals, etc
>>
Local cdn or decentraleyes would not have helped in this scenario, Because they fetch a new copy of the library every time the server reports a hash change.
>>
>>101176510
>go to site
>blank page unless you enable javascript
JS-wielding soidevs have ruined the web
>>
File: file.png (57 KB, 881x581)
57 KB
57 KB PNG
>>101176788
it's much worse. the domain & project was sold to chinks and the chinks started using it for malware. nobody had any idea about it.

https://web.archive.org/web/20240229113710/https://github.com/polyfillpolyfill/polyfill-service/issues/2834
>>
File: Ironic.png (901 KB, 1200x775)
901 KB
901 KB PNG
>>101176554
Oh, yes, thank god this supply chain attack that had to be planned for months could be stopped because a nice corporation we know nothing about after one day popped into existence can just rewrite on a whim all our requests to protect us. How very kind of them, I'm so glad that it's the good guys the ones who have literally infinite power over internet haha.
>>
>>101176346
>go open-source go broke
every time
>>
>>101176579
framework have nothing to do with this, you don't have to load them from remove sites
in fact they're already included into the site you serve, most of the time
>>
>someone makes fun of a troon dying
>google/cloudfare does a hostile takeover of their domain

>literal malware affecting millions of people
>"We can't do anything other than mitm the traffic"

Fucking clown world
Reminder that Cloudfare refused to drop terrorist websites that were hosting torture and execution videos but would drop people for being racist
>>
>>101176554
the mitm you know...
>>
File: 1680369659158919.jpg (13 KB, 320x320)
13 KB
13 KB JPG
>>101176346
>China compromised the WEF
BASED BASED BASED BASED BASED BASED BASED BASED
>>
>>101176904
I hope jiatan makes a comeback and backdoors something like systemd or firejail
>>
File: 1689880904259.jpg (121 KB, 736x911)
121 KB
121 KB JPG
>>101176346
>OH NOO, NOT THE WEBSITE OF THE WORLD ECONOMIC FORUM
Seeth more, ZOG slaves.
China won.
>>
>>101176905
They're rewriting the response to your request for a page
That page contains a list of other pages your browser should request

You're making different requests client side
Nothing is intercepting your requests and modifying them between you and the server
>>
File: glowjak.png (98 KB, 427x400)
98 KB
98 KB PNG
>>>101176905
>They're rewriting the response to your request for a page
>That page contains a list of other pages your browser should request

>You're making different requests client side
>Nothing is intercepting your requests and modifying them between you and the server
>>
>>101176951
kek
>>
>>101176980
Are you retarded?
>>
>>101176903
>go to site
>blank page unless I update my browser
>try to update my browser (Ubuntu)
>update fails and breaks my apt packages
>browser can no longer be launched
>switch to a different browser
This shit is why I try not to update. There's a non zero chance that it breaks everything and forces me to update my entire OS
>>
>>101177059
This literally doesn't happen
>>
we've had tools for this for ages and I keep telling people to use it:
You can load JS into browsers only if the file matches the hash you put in your website.
Browser loads the third party js, sees that the hash matches the one you specify, off you go. When compromised, browser loads JS, sees that the hash doesn't match, and it breaks.
Then some webdev disables the hashchecking to fix the website after some complaints and it doesn't matter so HEYHO
>>
>>101176980
the absolute state
>>
>not blocking javascript
>>
File: SandWooorm.jpg (146 KB, 1400x1400)
146 KB
146 KB JPG
>>101176346
Retard here. Why do people use polyfills if their epic JS bundles shit and die when they encounter any of the new syntax features like async/await, template string literals? AFAIK people don't use Babel to shittify their bundles for the 0.00001% of IE11 users.
>>
File: 1627845689000.png (194 KB, 375x493)
194 KB
194 KB PNG
>>101177059
>Ubuntu
Your own fault
>>
>>101176925
>from remove
remote*
>>
>>101176966
wtf I love china now. how can I hook up with this cute girl?
>>
>>101176980
so this is the power of /g/...
>>
>>101176966
>exposed shoulders
for what reason
>>
>>101177295
separating men and their semen
>>
File: Tohru shrug.gif (1.56 MB, 540x460)
1.56 MB
1.56 MB GIF
>>101176346
>use third-party dependencies
>get supply chain attacked
Every time.
>>
>>101177059
I'm on Ubuntu and use Brave from their own repository, never had a problem

Emacs on the other hand...
>>
>>101177075
It literally did happen, to me. And when I tried to fix it I found several people online experiencing the same thing. Chrome needed a dependency which I couldn't install due to broken apt packages. Couldn't install that dependency or revert to the working version of Chrome. So I use Firefox now on that computer.
>>
>>101176628
>An integrity value may contain multiple hashes separated by whitespace. A resource will be loaded if it matches one of those hashes.

solved problem
>>
>>101176630
>mfw half of the scams in the world would be nonstarters if sites used proper fonts
>>
>>101177418
emacs tried to install brave and had problems?
>>
WEF.. China.. corporate culture..

that's why im not a javascript fan. the language is great but many things are already settled and wont change. better cope with undevelopment
>>
>>101177635
>the language is great
>>
File: shits_fucked.jpg (361 KB, 982x832)
361 KB
361 KB JPG
>>101177499
>>101177075
Here's the proofs. I spent 3 hours trying to solve this and gave up. If it turns out there's an easy solution and I'm a retard then I will be grateful for to know what it is.
And before you ask, I already tried the stuff on SO.
Also, this isn't the first time this sort of thing has happened to me. It's kind of ironic because this sort of thing is why I want to avoid updating - but at the same time this problem is caused by lack of consistent updates (eventually the gap between releases is so big that you can't update and it breaks like this)
>>
>>101177686
>the absolute state of loonix cucks
maybe try to call your wife's bull and see if he can satisfy your dependencies for you
>>
>>101177686
>willingly using google's botnet browser
Firefox does not have this problem.
>>
>>101177686
upgrade your ubuntu it is too old
>>
>not hosting the script yourself to save a few pennies of server costs
They did this to themselves
>>
>>101176346
How does it inject malware on phones? The extent of what it can do is redirect people to fake websites, unless there is some serious browser vulnerability.
>>
>>101176510
Web pages shouldn't have scripts in the first place. HTML was designed for documents, not apps. All of the problems with the web come from people wanting to use a toy scripting language for documents as an application language. You would think it's retarded if people rewrote all their programs as Word documents with Visual Basic macros, but it's a huge fad to rewrite programs as HTML documents with JavaScript.
>>
>>101177882
if you can make a retarded boomer's phone open a link he didn't intend to, you're 90% done. just make a fake login page or make them download something, at least someone will fall for it. you don't actually need a 0day for that
>>
>>101177912
microsoft is rewriting parts of w11 in react (like the start menu) and more and more programs are moving to web-based ui (like the ubuntu installer)
I hate this clown world
>>
>>101176346
web browsers should not run any executable code.
>>
>>101176393
Tsmt d e s u
>>
>>101176346
HOLY FUCK, JIA TAN JUST FLEW OVER MY HOUSE
>>
>>101177653

i mean dynamic part, around ES5 years. when those coffeescript livescript were born. then api and new styles became unbearable, it took jsx/typescript path
>>
>>101177686
Wants libnss3 not libnss3-dev
>>
File: 1714789385677370.jpg (208 KB, 780x751)
208 KB
208 KB JPG
>>101176521
>using a react site
>using a node.js site
>using polyfill
you can retroactive deez nuts
>>
>>101177952

the move is good. react isnt. windows 11 is not good because other, unrelated factors. its a asymmetric software warfare. new game is good, but have to put directx12 for it, which runs only on windows12 or something like that. they modify javascript to play those games
>>
>>101176903
Blank page? Then I just leave and never go back.
>>
ALL WHITU DEVILS FEEL OUR WRATH
>>
>>101177527
>just include 653532 hashes per dependency bro
>>
>>101176346
>redirects mobile users to a sports betting site
wtf? i didnt want to gamble but this gambling site showed up on my phone so i might as well gamble
>>
>>101176626
cloudflare already was completely compromised in the past:
https://en.wikipedia.org/wiki/Cloudbleed
>>
lol

first it was north korean hackers, then russian hackers, now everything's a chink
>>
>>101177686
You haven't gotten any helpful answers so far so I will give you one. Debian-based distributions commonly tend to enter this dependency hell state as a consequence of meddling with things you aren't supposed to. For example adding new repositories to /etc/apt/sources.list (or running commands that add new repositories). There is zero chance of ending up with an issue like this if you use the OS the way it's meant to be used, with Ubuntu you're sort of in a limbo state but with base Debian you aren't supposed to install a package if it's not in the stable repo, or if you do then you aren't supposed to use apt. The problems you mentioned like installing an update and uninstalling your entire system can only be caused by breaking your apt sources which requires immense user retardation.
>>
>>101178350
>meddling with things you aren't supposed to
>aka installing software outside the (((curated repository)))
Debian might be genuinely more cucked than iOs.
>>
>>101178275
Now it's Chinkbleed.
>>
>>101178350
>There is zero chance of ending up with an issue like this if you use the OS the way it's meant to be used
Debian regularly can't keep their browsers up to date because Debian's dependencies are ancient:
https://www.theregister.com/2021/12/10/debian_firefox_issues/
"""
The problem is that Firefox 91, the current ESR version, includes several dependencies that the current stable version of Debian – 11.1 "Bullseye" – can't fulfil, which poses the maintainers a problem: either update some components of the graphics stack, just for Firefox, or force the Debian version of Firefox to use older dependencies, which is doable but doesn't fix the problem, so it will happen again when the next ESR appears.

Debian releases get updates for five years, but Mozilla puts out a new Firefox ESR annually, so this will be a nuisance for years to come.
"""
>>
>>101176346
Based. Kill interpreted bloated meme langs. Now we have WebAssembly. Move to Go, Rust and C++
>>
if you are using more than like 2 js dependancies you deserve it
>>
>>101176346
If you use 3rd party hosts for your js libraries then you deserve to be compromised. How much effort is it to fucking copy bloat.min.js to your own fucking server?
>>
>>101178535
womm
>>
>>101178619
WebAssembly is even worse than JavaScript. It's binary blobs on the web. It doesn't even have heap allocation and forces you to put everything in the blob.
>>
>>101178524
>might be
Apple invented rocks and you live under one.
>>
>>101178627
2 js dependencies pull in 20 dependencies, which pulls in 200 dependencies, which pulls in 2000 dependencies.
>>
>>101178653
>It doesn't even have heap allocation and forces you to put everything in the blob.
that's not an accurate representation
>>
>>101178653
>forces you to put everything in the blob
wrong:
https://developer.chrome.com/blog/wasmgc/
>>
>>101176346
it is not exactly malware, it is so China can communicate to spies in various other nations, it only works when a spy logs on a certain website then it kicks on and the communication line opens
>>
>>101176510
Extremely based and correct. The pathetic level of web devs I encounter is mind-boggling to me. Here's a recent story from work.

>be sysadmin
>web devs come to me with what they want to do
>combine 6-7 repos into one statically generated site using docosaurus
>they ask me for github api token in CI to do it
>"why would you need a token?"
>"to fetch the other repos"
>"eeeeeee.... are they private?"
>"no"
>see what they have constructed
>find a monstrocity of 800+ JS lines that fetch EVERY SINGLE FILE from the 7 repos INDIVIDUALLY via github api
>"but why? why would you do any of that?"
>"how else?"
>"submodules? fetch a zip? clone it? wtf?"

I have no words for these amazing "full stack" devs.
>>
>>101176606
So a malicious site can't hurt me if the shasum matches?
Also, 4chan can be made without javascript. I long for the day it changes. I can then block all JS
>>
>>101178762
Forgot to add they added like 30 node js modules for github api handling and file handling to do that.

I literally can't even with these people.
>>
this is literally a solved problem with the integrity attribute or self-hosting the JS you use.
>>
>>101176965
SystemD is backdoored most likely. 99% sure. Microsoft funds it.

Just because a backdoor hasn't been found doesn't mean it doesn't exist. Moreover there have been severe "bugs and exploits" that could very well have been intended but unless that's proven it won't be called backdoor or anything but bug and exploit.
>>
File: .png (211 KB, 2513x975)
211 KB
211 KB PNG
>>101178810
google adsense doesn't allow self-hosting nor gives you integrity hashes.
how would anyone pay for hosting in your world?
>>
>>101178644
>>101178659
>barely intelligible seething
Now try formulating an argument instead of being outraged at people not worshipping your distro of choice.
>>
>>101176346
Javascript is the new flash
>>
test
>>
>>101176346
>support older browsers
not my problem, at work I configured TypeScript to emit ESNext and Vite to emit ES2022. No point in supporting old browsers when they've auto-updated for years
>b-but I use Firefox 3.5 with updoots off
I dont care, you're as rare as a tranny thus dont deserve my attention.
>>
>>101176903
React 19 fixed this. You can now compile React components to fully static, JS-free, HTML.
>>
>>101176934
Racism is bad in a special way that terrorism isn't.
>>
>>101176346
nooooooo muuuuuh secuuuuuurityyyyy!!!!!!!!!!!!!!!
aaaaaaa muuuuuh secuuuuuurityyyyy!!!!!!
>>
>>101178762
Wait, they're downloading hardcoded URLs for hundred of files instead of using git as well as adding node_modules to a repo?
>>
>>101176346
>http://polyfill.io/
Blocked by Ublock Origin. I wonder if DecentralEyes would have prevented this.

>>101176934
Cloudflare was started with a DHS grant. DHS was stood up after the 9/11 false flag to spy on and harass the enemies of israel by mossad spy Michael Chertoff. Cloudflare's original marketing strategy was to sign up all of the cybercriminals in the world.

In case you haven't figured this out, "terrorism" is used to control the White European populations of the Anglosphere, the US, and Europe with fear broadcasted through the jewish media. This is why the re-branded DARPA LifeLog project known as Facebook automatically promoted ISIS while in parallel targeting White people. The pseudo-governmental jew managed tech sector helped the US "intelligence" community recruit young dumb people to attack all of the enemies of israel in the middle east under the banner of ISIS. The US armed and backed ISIS against Assad on behalf of israel, which controls the US congress with bribes and/or slander. Keeping "terrorism" sites online benefits the regime. "Terrorism" is the threat that if we don't support eternal wars overseas that are bankrupting us at home and flooding our country with hostile aliens, the "terrorism" will have to be conducted domestically against us. This threat keeps White Europeans in check. It also creates the illusion that we have common cause with israel, who controls our media, tech sector, and the federal government.

Domestic Whites who have figured out all of the lies of the regime are the highest priority target of the regime because they are teaching other people the truth, which can't be un-learned. The people who don't know how the system works are unwittingly the pawns of the system and are therefore a non-priority for the plutocracy that rules the US.

That's how it works.
>>
>>101177686
>knowingly installing jewgle chrome
use chromium or iridium or brave
>>
>>101178124
I literally can't access my bank account if I disable js. What a time to be alive.
>>
>>101179803
Yes to the first, part. Fortunetely they are not stupid enough to commit node_modules. Though i have seen that many times before in my career too.

Every time the web dev team contacts my I roll my eyes thinking "oh boy, here we go again".
>>
>>101179915
Just go withdraw cash once a month. I can even pay my property taxes with cash.
>>
>>101179938
I'm still facepalming: do they think that github IS git?
>>
>>101180036
I think their reasoning was kinda like this:

>we want to build this with docosaurus
>to do that we have to write a docosaurus plugin
>the plugin has to be written in js
>we can't use git in js (I'm guessing they thought that)
>we need to fetch files via api instead

I'm not 100% sure that's correct, there might be several wrong assumptions in their reasoning. But honestly I have my hands full of other garbage that's more important than to argue with them for days to turn that into a 20 max line bash script that would do the same thing.

Their reasoning was also that "they don't want all the files". But then just make a whitelist/blacklist and remove after unpacking a ZIP or something. Why download everything via API.
>>
File: seething.png (37 KB, 434x327)
37 KB
37 KB PNG
>>101176510
but importing dozens of scripts from all over the internet via scripts to generate html is the right way to do things
>>
>>101176628
>fagman forcing people to updoot larping about muh security again
first wifi, now this, all just to make people udpooot to the latest flatshit garbage.
No, i wont use windows 11, I wont update chrome nor use linux, fuck off pajeets
>>
>>101177686
skill issue. my hint to you: dev build <> public build
>>
>>101177912
So you mean you don't want buttons to do useful things on the page and such? They would have to direct you to another page
>>
>>101176393
Fpbp
>>
>>101176346
>javascript compromised
always was
>>
>>101178916
>new
>>
>>101176393
This, oh god, so much this.
Now I have a good argument to fuck anyone who defends this.
>>
>>101176965
Why firejail?

>>101178888
>Microsoft funds it
Source?
>>
>>101182541
>source
microshit employs lennart, and what do you think they pay him to do?
>>101181616
>>101176393
script tags that just have a src attribute were the real mistake. Force webshitters to embed their diarrhea directly in the HTML and we can get back to something resembling sanity
>>
>>101176346
Gotta catchem all. Disgusted but not revolting. Entrance approved work ways. Non social but highly conversable deeds.
>>
>>101177366
Meep moop
>>
File: file.png (494 KB, 1080x527)
494 KB
494 KB PNG
-ACK
>>
>buy some shit middleware
>ransomware all its users
>??????
>profit!
huh hacking is easy
>>
>>101176346
>to support older browsers
This is why companies force updates on the end-user
Old software is inherently compromised
>>
>>101176554
>injects arbitrary js code to any website served if it contains a forbidden secuence of bytes
Wow, thanks cloudflare!
I love when big corporations keep me safe and secure
>>
>>101176554
Cloudflare is literally a trojan horse.
>>
>>101182931
Not really. It's a MITM.
>>
>>101177282
that's a man with a filter, guaranteed
>>101177295
exposed shoulders are the chinese state approved version of cleavage



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.