News for hackers. Stuff that matters.
Re:We All Dodged a Bullet by mikewarot on Tuesday September 09, 2025 @12:21PM (#45184257)
>Saved by procrastination!

Seriously, this is one of my key survival mechanisms. By the time I became system administrator for a small services company, I had learned to let other people beta test things. We ran Microsoft Office 2000 for 12 years, and saved soooo many upgrade headaches. We had a decade without the need to retrain.

That, and like other have said... never clicking links in emails.

Re:We All Dodged a Bullet by mesofile on Tuesday September 09, 2025 @03:14PM (#45187247)
This is how I feel about my Honda, and to some extent, Kubernetes. In the former case I kept a 2006 model in good order for so long I skipped at least two (automobile) generation's worth of car-to-phone teething problems, and after years of hearing people complain about their woes I've found the experience of connecting my iphone to my '23 car pretty hassle-free. In the latter, I am finally moving a bunch of workloads out of EC2 after years of nudging from my higher-ups and, while it's still far from a simple matter I feel like the managed solutions in EKS and GKE have matured and greatly lessen the pain of migrating to K8S. I can only imagine what I would have gotten bogged down with had I promptly acted on my bosses' suggestion to do this six or seven years ago. (I also feel very lucky that the people I work for let me move on these things in my own due time.)
Re:We All Dodged a Bullet by cirelli94 on Wednesday September 10, 2025 @03:11AM (#45194274)
In the meantime you had for years a car without connecting your iphone, so you completely didn't have that feature! There are pros and cons everywhere, but I'm more prone to change often and fix things that wait for feature to be stable and meantime do without them. Of course, when I can afford it, e.g. not in changing my car every two years :')
Re:We All Dodged a Bullet by rascul on Wednesday September 10, 2025 @02:45PM (#45201982)
> In the meantime you had for years a car without connecting your iphone, so you completely didn't have that feature!

Such a feature can be added.

Re:We All Dodged a Bullet by rollcat on Wednesday September 10, 2025 @09:25AM (#45197300)
This.

At $PAST_DAYJOB we've adopted Docker "only" around 2016, and importantly, we've used it almost identically to how we used to deploy "plain" uWSGI or Apache apps: a bunch of VMs, run some Ansible roles, pull the code (now image), restart, done.

The time to move to k8s is when you have a k8s-sized problem. [Looks at Github: 760 releases, 3866 contributors.] Yeah, not now.

Re:We All Dodged a Bullet by nottorp on Tuesday September 09, 2025 @01:10PM (#45185071)
Not in the "npm ecosystem". You're hopelessly behind there if you haven't updated in the last 54 seconds.
Re:We All Dodged a Bullet by ainiriand on Tuesday September 09, 2025 @03:01PM (#45187010)
Well in this case it makes sense to update fast isn't it?
Re:We All Dodged a Bullet by ohdeargodno on Tuesday September 09, 2025 @02:04PM (#45185863)
Sorry, the "npm ecosystem" command has been deprecated. You can instead use npm environment (or npm under-your-keyboard because we helpfully decided it should autocorrect and be an alias)
Re:We All Dodged a Bullet by efilife on Tuesday September 09, 2025 @02:43PM (#45186642)
this seems to be a clever joke. sad to see it dead
Re:We All Dodged a Bullet by RedShift1 on Tuesday September 09, 2025 @12:29PM (#45184404)
I'll reply to you tomorrow
Re:We All Dodged a Bullet by TYPE_FASTER on Tuesday September 09, 2025 @12:48PM (#45184713)
...by then it might be working again anyway, or the user figured out what they were doing wrong.

"Hey, is it still broken? No? Great!"

Re:We All Dodged a Bullet by blamestross on Tuesday September 09, 2025 @01:40PM (#45185514)
"Just wait 2 weeks to use new versions by default" is an amazing defense method against supply chain attacks.
Re:We All Dodged a Bullet by kevinrineer on Tuesday September 09, 2025 @01:55PM (#45185726)
Its also really ineffective defense against 0 days!
Re:We All Dodged a Bullet by blamestross on Tuesday September 09, 2025 @02:40PM (#45186589)
Sadly we don't have any defense against 0 days if an emergency patch is indistinguishable from an attack itself.

Better defense would be to delete or quarantine the compromised versions, fail to build and escalate to a human for zero-day defense.

Re:We All Dodged a Bullet by minitech on Tuesday September 09, 2025 @06:22PM (#45190164)
> Sadly we don't have any defense against 0 days if an emergency patch is indistinguishable from an attack itself.

Reading the code content of emergency patches should be part of the job. Of course, with better code trust tools (there seem to have been some attempts at that lately, not sure where they’re at), we can delegate that and still do much better than the current state of things.

Re:We All Dodged a Bullet by ozim on Tuesday September 09, 2025 @04:49PM (#45188836)
IF I put my risk management hat on - 0 days in npm ecosystem are not that much of a problem.

They stop working before can use them.

Re:We All Dodged a Bullet by easterncalculus on Tuesday September 09, 2025 @07:56PM (#45191215)
In the context of a single system, there is no such thing as an "effective defense against 0 days" - that's marketing babble. A zero day by definition is an exploit with no defense. That's literally what that means.
Re:We All Dodged a Bullet by hdjrudni on Wednesday September 10, 2025 @12:24AM (#45193251)
That doesn't sound right.

> A zero-day exploit is a cyberattack vector that takes advantage of an unknown or unaddressed security flaw in computer software, hardware or firmware. "Zero day" refers to the fact that the software or device vendor has zero days to fix the flaw because malicious actors can already use it to access vulnerable systems.

If I never install the infected software, I'm not vulnerable, even if no one knows of its existence.

That said, you could argue that because it's a zero day and no one caught it, it can lie dormant for >2 weeks so your "just wait awhile" strategy might not work if no one catches it in that period.

But if you're a hacker, sitting on a goldmine of infected computers... do you really want to wait it out to scoop up more victims before activating it? It might be caught.

Re:We All Dodged a Bullet by saberience on Wednesday September 10, 2025 @06:19AM (#45195606)
Yeah but zero days usually refers to some software which is commonly installed. E.g. a zero day in the version of windows or mac os that most people are using.

No one bothers finding 0-days in software which no one has installed.

Re:We All Dodged a Bullet by booi on Tuesday September 09, 2025 @08:07PM (#45191319)
Is there some sort of easy operational way to do this? There are well known tech companies that do this internally but afaik this isn't a feature of OSS registries like verdaccio
Re:We All Dodged a Bullet by fclairamb on Wednesday September 10, 2025 @01:36AM (#45193723)
Renovate is a great (and free) tool to update your dependencies. By default it will update packages in the hours (often minutes) of their release but you can change that behavior with the minimumReleaseAge parameter.

https://docs.renovatebot.com/configuration-options/#minimumr...

Re:We All Dodged a Bullet by Apfel on Wednesday September 10, 2025 @09:00AM (#45196998)
The one big problem Renovate brings is when it automerges and breaks everything with e.g. a TypeScript upgrade. It's simple enough to handle and prevent but has required quite a lot of developer education for those who are not particularly frontend-focused in my experience.
Re:We All Dodged a Bullet by jamietanna on Wednesday September 10, 2025 @01:05PM (#45200660)
Interesting, so you've enabled Renovate's automerge functionality for dependencies?

Renovate uses signals like your CI to work out whether things break before an automerge occurs - does that mean your CI didn't catch the breakage? Or something I've missed?

(there's also the "merge confidence" that can help here)

(I'm soon to be working at Mend on Renovate full time)

Re:We All Dodged a Bullet by jamietanna on Wednesday September 10, 2025 @01:02PM (#45200617)
Yep, Renovate's `minimumReleaseAge` is what you want here

Dependabot has recently added this functionality too - it's called `cooldown`

https://docs.github.com/en/code-security/dependabot/working-...

(I'm soon to be working at Mend on Renovate full time, but have been a big fan of Renovate over other tools for years)

Re:We All Dodged a Bullet by jamietanna on Thursday September 11, 2025 @01:54PM (#45214283)
For anyone following, we (Renovate maintainers) are making this an inbuilt "best practice" that users who already opt into using the `config:best-practices` preset will start getting for free!

https://github.com/renovatebot/renovate/pull/37967

Re:We All Dodged a Bullet by wallrat on Wednesday September 10, 2025 @04:23AM (#45194792)
There are dependency firewalls that let you enforce this (e.g. https://docs.bytesafe.dev/policies/delay-upstream/). Don't know any OSS solutions though.
Re:We All Dodged a Bullet by pixl97 on Tuesday September 09, 2025 @06:45PM (#45190436)
Works great for new exploited packages. Not so great for already compromised software getting hit by a worm.
Re:We All Dodged a Bullet by efreak on Thursday September 11, 2025 @04:24PM (#45215761)
I ran office xp on my desktop and 2000 on my laptop until I got to college and _needed_ to upgrade so I could do work with others. Block it with the firewall and you're good. Now I mostly use WordPad, and use a recent (but rarely updated) version of open office on the rare occasions I actually need an office suite or spreadsheet.

If you're worried about vulnerabilities in older software these days, Windows has built-in security features that can help with that, from the sandbox to controlled folders access (intended for ransomware protection, I believe; I use it to prevent my media server from modifying tags)