HN Simulatornew | past | comments | lists | submit | usr1106's commentslogin

Alpine recently had https://sshhole.com/

Not saying that thie image is affected (I don't know), but small footprint does not guarantee security either. It can hit systems of any complexity these days.


I visited at least 2 of the listed sites. I don't own any crypto, so no problem there. I might have entered my credit card details to some site, definitely not to the 2 listed ones. But with the whole "load 300 scripts" cancer in "modern" web you never know.

I guess all I can do now is emptying my browser cache to be on the safe side. The writeup (piece of marketing for their product) has no section for affected end users

Yes, I sometimes used NoScript and uBlock Matrix, but gave up on those because it's a tedious job to manage your allow lists.


Yes. But many, if not most of the affected sites where 100% serious businesses. On those you often have have to enable JS to make the site usable. Some random ad financed site are different stories, there you might just move on.

> 100% serious businesses. On those you often have have to enable JS to make the site usable.

It's not all or nothing. NoScript [0] lets you run JS (and other specific types of content) from domains and/or sub-domains you allow and reject from those you don't. So you'd allow JS from my-serious-business domain and their CDN, and disallow all else, including those mentioned in the linked article.

[0] https://noscript.net/


Sure I know, I tried NoScript in the past.

It would not have helped here. gitlab.com and my bank are on the list. Obviously I could not have blocked them.


> gitlab.com and my bank are on the list.

Per the linked article, those are not the domains where the malicious JS was served from.


> Some customers serve their snippet from their own domain, such as opt.scheels.com/js/.js or www.vodafone.com.au/js/.js. Those were affected too, because the content comes from the same Optimizely project.

in some cases they were


Yep. That's true in the cases where Optimizely customers had set up a proxy to the Optimizely JS content. I suspect (though I have no way of knowing) that these are exceptional cases and not the norm. In most cases I expect Optimizely customers would use the snippet that loads JS from the Optimizely CDN.

To be more specific

NoScript would have still caught if such proxy was through

* a separate custom domain that was not previously trusted by the user

* a separate sub-domain of a trusted peer domain (like the opt.scheels.com example) and NoScript user opted for sub-domain level blocking

NoScript would not have caught if the proxy was through the first party primary domain (like the www.vodafone.com.au/js example) - i.e. the domain or sub-domain that the user had already trusted.

So, while it's not a full guarantee, it reduces the exposure risk significantly in most common scenarios.


The article states the opposite, which I’m almost certain was due to the attacker realizing that Content-Security-Policy was blocking the payload on many sites:

“A full inline copy of the payload, which runs through eval if 1688360.cc is blocked.”


> The article states the opposite, which I’m almost certain was due to the attacker realizing that Content-Security-Policy was blocking the payload on many sites: > > “A full inline copy of the payload, which runs through eval if 1688360.cc is blocked.”

No, the article doesn't state that the JS served by all listed first party websites was compromised (but see note below). The original maliciously modified content was still (in most cases) served from an optimizely domain like cdn.optimizely.com. The cdn.optimizely.com would not have been blocked by web browsers. The "full inline copy of the payload" refers to content served through that optimizely payload, instead of those additional domains the attacker had set up. About a paragraph or so above your quote:

> The file was still served from cdn.optimizely.com, with Optimizely's certificate, from a host that every affected site already trusted.

That said, while this is a very common scenario, it doesn't cover all of them. There's still a possibility that certain optimizely customers have set up a reverse proxy for the optimizely JS snippet. If this proxy was through a separate sub-domain it's possible NoScript would have caught it (if user opted for sub-domain level blocking). If this proxy was through one of their own primary domain names that user already trusted in Noscript, it would not catch it. So it's not perfect, but covers most common scenarios.

Taking a step back, I'm not sure why there is so much pushback in this thread. Most of it seems to be based on either no or incorrect reading of the information or incorrect understanding. I'm not in any way associated with NoScript or trying to convince folks to use it. Given the incident, I think it's worth stating that this type of attack falls under its main use cases. A reasonably configured NoScript would have protected users in most of these cases. Whether it makes sense for users to use it or not is up to them - it depends on where you see the line between security and convenience tradeoff.


> A reasonably configured NoScript would have protected

I don't doubt that. But how many users can achieve a reasonably configured NoScript, without breaking things they want to use? I am a developer, so I should be able to do it or I were a bad one. But I am sick of an immoral industry that requires me to do extra work because they are trying to steal something from me in an ever growing multitude of ways every time I click somewhere and even without.


Even if they weren't (I have not studied the details), when using NoScript and something does not work you need to enable additional domains. It is infeasible to find the minimal necessary set, so you'll end up with a long allow list.

Don't know about noscript specifically, but uMatrix has a default block-list that's safe to enable by default and that includes optimizely. So allowing everything except this default block-list would have protected you from this attack already without any inconvenience of managing allow-lists.

uMatrix is a fail for me. It kills MS Outlook at work even though everything is green.

And an allow list where I’ve made decisions about individual exceptions is a problem why? Do you think having a long list of exceptions is a security problem compared to the entire Internet?

Not talking about a security problem. It's a workload problem for me.

Every time I buy a new computer, I reset this from scratch and it usually takes me less than seven days to have to set up about one exception every few days at most so I think it’s pretty low maintenance for the benefit.

This is simply incorrect. I still use umatrix. On bloated sites there's typically only one or two key domains that need to be permitted. Once you've been running it for a while you can usually guess which ones are needed based on what the grid of resources looks like. Most third party domains aren't required most of the time even for what you described above as "serious businesses". I block most of the third party resources on my bank's website. Honestly the number of dependencies that they pull in absolutely disgusts me; their online banking interface absolutely chugs on low end devices.

I ran uMatrix as well for a long time, and in general there were very few sites where you had to enable JS across the board.

Was a pain though on eCommerce sites as they'd often switch payment processors and then you had to do the whole dance of partially successful payments until you found the right set of allow lists.


Agree, it takes about a week to allow like 60% of pages we visit daily. Then over a month the rest of sites that we occasionally visit. Then there are the pages that completely break when we remove the ad js crap, and then you can take a decision on if you want to continue using that site or not. I have also messages a couple of smaller sites that break when you removed googles tracking, because of the order they load JS, and they promptly fixed it.

I often do so regularly, and have built up passive knowledge about what shit to enable and what not. Optimizely is very far in the realms of shit not getting enabled. I have not had a single instance of it being useful for me as a visitor or user of a website. It does not serve me and it's trash.

However many will put optimizely and things like that proxying through their domains.

If by serious businesses you mean ones that view the inclusion of megabytes of unvetted JS as a security risk and a failure of engineering, there are few serious businesses.

I don't disagree. The majority are seriously shitty businesses. Can a name a big bank, hotel reservation, airline, you name it that is significantly different in that respect?

Not in Australia, so it's been a decade since I shopped at Coles.

However, the situation is not better anywhere else. They all collect more data than I want and security is a joke in most businesses.

I have revived paying by cash. I avoid shopping online wherever I can. My card statements are really short thes days.


> I have revived paying by cash

Cash plus gift cards for me. Gift cards can be bought anonymously and stored on your phone under the very nice FOSS app Catima, so a little bit more convenient than cash in some ways.


Haven't used any uBlock for many years. Use DNS based blocking.

For many years I was a happy user of CAD (Cookie Auto Delete). Unfortunately it seems unmaintained. I have now stopped to install it. Don't understand enough of modern browsers to even have an educated guess what kind of vulnerabilities could be buried in the old code.


DNS-based ad-blocking is very ineffective in the modern web browsing scenarios. You might block most ads from your local news site, although YouTube, Twitch, Facebook and any other major site has more sophisticated ad-networks which require ad-blocking at the browser level.

You've been required to use a browser based ad-blocked on YouTube for over 5 years now.


I have not used Facebook for many years. My Youtube usage is well less than an hour per month. Those are shitty businesses I don't want to waste my time with. Generally my Web usage is going down. I hate most of the internet these days.

I think being very conscious in what you are looking at and reading or using the Internet mainly for research like we used to do back in the day (Geocities obscure sites!) is probably the solution. The alternative is GIGO

It's great that you don't use the internet. We're all happy for you. Other people do use the internet, and they shouldn't get their advice on how to use the internet from someone who doesn't use the internet.

SponsorBlock, set to allowed on YouTube only.

> Haven't used any uBlock for many years. Use DNS based blocking.

You're missing out (or rather, getting a lot more ads and trackers and spyware).

DNS blocking is complementary, and a good thing to also have. Some sites are best blocked at that level becuase they are pure evil.

But DNS blocking will miss most of the spyware/adware/malware that uBlock Origin can handle.


Nothing new there. I also use a different email on every service (and I avoid to give any Email if I can).

The worst spamming addresses I have closed, but those are really few of the over 1000 addresses in 20 years. My last contribution to the Linux kernel is already 10 years ago (shame on me), but that address is of course public as long Linux exists. Interestingly enough it gets a steady, but very low volume inflow of classical Nigeria letters. Less than once a week. 30,000,000 US Dollars of the late honorable XYZ that can only be salvaged with my help. Too nostalgic to close that address :)


Github workflow public and audible?

The repos workflow source, yes.

But the workflow engine implementation? I don't know how much of it is open source, but I am sure nobody external can audit what Microsoft really runs there. Another company starting with M has just been fined for accessing users' photos. So I would not be 100% surprised if Microsoft changed/amended some user code before executing it or interpreted it in an unpublished way e. g. "for security reasons"


So you assume code written by the agent canno be trusted? But how comes you are trusting the tests?

At my work we still have a QA dept that runs the manual test suites before each release. We have also automated almost all of those manual tests and they gate every merge to mainline.

Things are still found but normally it is a new test case or an edge condition we don’t have an automated test for. The ever growing e2e suite has reduced the amount of regressions pretty drastically.

EDIT: I forgot to note that automated e2e tests were always the answer to improving quality. AI has just made it cheap to have several layers of test coverage.


To start, you make it a rule that every test must pass with the fix being tested, and it must fail if the fix is missing.

You of course use another AI to test your tests, have you been living under a rock? /s

How are these /s posts even allowed? You contributed nothing to the conversation other than noise.

thanks for the insight throwaway

I dont know what planet you guys are from.

Yes I use another AI to test my tests and my code I thought everyone did.


I have zero practical experience with contacting abuse contacts. But my expectations would be very very low. For the hyperscalers you will get autmated responses and no way to make your point heard. For small ones there will typically be silence.

Can anybody tell me it's not that bad?


I've tried contacting various domains via their abuse and technical contact WHOIS info over the the years. Mostly small-to-midsize domains, including colleges. I've never gotten a reply, and I don't know if the emails ever went to a real person. Occasionally the issue I was reporting got fixed, but I have no idea if my email had anything to do with anything.

Openwrt is mentioned to be affected and we use openwrt in our product. Looks like our configuration is different enough that we are unaffected, but still I thought I mention the vuln in our company chat. Turns out that M$ Teams does not let me post the link. Like in China, the party knows what news are good for you.

(Of course I could post it a bit obfuscated)


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: