Recent submissions

Comment · 1 day ago
My VPS was auto-updated and restarted more than 14 days ago. The logs have rolled already. Probably October 12 early morning.

Another reason NixOS will continue to grow :)

Comment · 5 days ago
> JavaScript also has monkey-patching, and it's also very common. E.g. SolidJS replaces objects with dependency-tracking proxies.

And the proxies make it slow as Python. Plain objects cannot suddenly become proxies, so the runtime can treat them as a special case.

Comment · 4 months ago
You know that prompt injection is a thing, right? Giving opencode access to bash and malicious input is not very far from piping it right into bash.
Comment · 5 months ago
Exactly. Although if you do >> 8 while working with uint8, it will be the fastest :)
Comment · 5 months ago
Comment · 5 months ago
Then you also have to auto-update the containers, if it's a public facing service. Either you'll have to build containers yourself or hope the developer pushes a new update whenever the base image has relevant security fixes.
Comment · 5 months ago
VSCode extensions often contain binary blobs, so it won't catch basically anything. It would also be a bit expensive.
Comment · 5 months ago
At least my password won't leak as often with yubikey, but the attacker can still hack my shell to execute fake sudo. Even if I type /bin/sudo explicitly, there is ptrace, LD_PRELOAD or just replacing the entire bash binary.

In practice yubikey sudo keeps you much safer today, as almost nobody uses it and malware won't be prepared for it

Comment · 5 months ago
Ok, so the malware runs a keylogger / clipboard logger, gets the password and runs sudo on it's own. Or replaces your shell by putting exec ~/hackedbash into your bashrc

Password on sudo is only useful if you detect the infection before you run sudo

Comment · 6 months ago
Whitelisting also quite likely doesn't work ("of course I will allow my agent to run find, that can do no harm")
Comment · 7 months ago
Same tool is very handy if you hypothetically wanted to control spread of anything else, like anti ice apps for instance.

Also hash matching is so easily bypassed you can be sure they really want to add some "AI" detector as well

Comment · 7 months ago
and cross-platform UI
Comment · 7 months ago
Do you know if there is override this specifically when I want to install a security patch? UV just claims that package doesn't exist if I ask for new version
Comment · 7 months ago
Except that LiteLLM probably got pwned because they used Trivy in CI. If Trivy ran in a proper sandbox, the compromised job could not publish a compromised package.

(Yes, they should better configure which CI job has which permissions, but this should be the default or it won't always happen)

Comment · 7 months ago
If you change this you break a common optimization:

https://github.com/python/cpython/blob/3.14/Lib/json/encoder...

Default value is evaluated once, and accessing parameter is much cheaper than global

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton