HNHacker News
TopNewBestAskShowJobs

peanut-walrus

979 karma · joined December 31, 2018

submissionscomments
peanut-walrus··on Ssl.com: DCV bypass and issue fake certificates for any MX hostname
What? When was the last time you had to bypass a cert warning because of "CA store wars" (whatever that means)? What examples can you give for public CAs giving certs to "whatever"?
peanut-walrus··on I analyzed chord progressions in 680k songs
Wouldn't using relative chords simply show that 99% of songs use the I chord? :)
peanut-walrus··on YAML: The Norway Problem (2022)
I for one did encounter exactly this problem when configuring a list of countries via ansible for geoip whitelisting.
peanut-walrus··on Private Data and Passwords of Hegseth, Waltz, Gabbard Found Online
I hate this article. There are so many obvious and glaring problems with the current US administration, there is no reason to reach for these kinds of straws.

With the amount of leaked and hacked data out there - almost everyone who is active on the internet is in one of these dumps. This is not evidence of any wrongdoing on their part.

peanut-walrus··on Google to buy Wiz for $32B
We use them. The product is genuinely great and I hope Google doesn't mess with it.

For us they replaced a bunch of different tools and a hodgepodge of custom scripts and hacks.

For those who have not heard of them - it's basically asset and vulnerability management for absolutely everything you have running in the cloud. This includes stuff running in your k8s clusters, etc. And they do all this without having to manage a fleet of agents on everything and costing you money in resource usage. Not that Wiz is cheap, far from it :(

peanut-walrus··on How to distrust a CA without any certificate errors
By far the most logical default behavior to me is that if the issuing CA was valid and trusted when the cert was issued, the cert should be considered valid until it expires. This of course means you need a trusted timestamping service or I guess CT can fulfill the same purpose.

For CAs who get distrusted due to reasons which imply their issued certs might not be trustworthy, either revoke the certs individually or use a separate "never trust" list.

peanut-walrus··on Global variables are not the problem
Do those change during program runtime though? I don't think many people have problems with global constants.
peanut-walrus··on IsMyXFeedFucked – Analyze How Your X Feed's Impacting You
Screen recording and processing because it's easier than just scraping now is wild.
peanut-walrus··on Snyk security researcher deploys malicious NPM packages targeting cursor.com
Yeah, it sucks, but that's the way it is. It is super common for bug bounty findings to be ignored or downgraded unless you show actual code exec on their machines or dump some of their creds.
peanut-walrus··on Tell HN: Impassable Cloudflare challenges are ruining my browsing experience
Yeah, this is at least being discussed now for eID. Getting it to a point where it is actually usable for everyone and trusted by everyone will not be easy though. But even in the best case, this would cover maybe 5-10% of internet users in 5 years. What do you do with the other 90% ?
peanut-walrus··on Tell HN: Impassable Cloudflare challenges are ruining my browsing experience
The problem is that any solution so far proposed for this is very privacy-unfriendly.

For example, Google proposed https://github.com/explainers-by-googlers/Web-Environment-In... and this was shot down by privacy advocates (for very good reasons).

So basically the choice for website operators is either to fight the bots and accept that their service will be unusable for some subset of their users or not fight the bots, which will lead to their service becoming unusable for everyone.

More and more, you see services pushing you very hard towards using their app and the reason is that with the app, they are able to actually verify that you are likely not a bot (or rather, in reality, that at least the app is running on an actual physical device, mobile phone bot farms are unfortunately also a thing).

As for Cloudflare - they offer it as a service, so when the website operator has a choice between using them or allocating several engineers for bot-fighting, why would they not just go with Cloudflare? Doing it yourself can be slightly higher fidelity, as you know your customers better, but it is also a lot of effort which could be better spent elsewhere.

peanut-walrus··on Tell HN: Impassable Cloudflare challenges are ruining my browsing experience
Ok, what does the venn diagram of:

1) People who anonymize their IP, use Linux, a browser with noscript, etc

2) People who are OK with having a government issued digital id and having to use it to access the internet

...look like, in your opinion?

peanut-walrus··on Dear OAuth Providers
Even in the case of gmail, which is the best case, you can not be sure the person in control of the Google account is the same as the one that used that gmail address to create an account on your site. The person might have got their Google account hacked, they might have used a shared gmail account to sign up, your service might not have been properly verifying email addresses when they signed up, etc.

But yes, to be fair, if you have email-based password reset functionality, it is not really an additional security vulnerability.

peanut-walrus··on Dear OAuth Providers
No. No. God no. Do not ever do that.

The email address you get from an oauth provider should never be trusted.

peanut-walrus··on Bicameral, Not Homoiconic
> Data are data, but programs—entities that we can run—seem to be a separate thing.

Is this a view some people actually hold? Would be interesting to see some argumentation why someone would think this is the case.

peanut-walrus··on Building a distributed log using S3 (under 150 lines of Go)
Building a system to write logs is easy. Getting something to actually read and process them is difficult.
peanut-walrus··on Advent of Code 2024
I love AoC, but I hate the timing. December is always the busiest month of the year, so I really almost never find the time for it :(
peanut-walrus··on Jaguar Cars rebranding without any cars
Ah yes, rebranding, what the marketing department does every few years to justify their existence.
peanut-walrus··on Shift Left Is the Tip of the Iceberg
Can we please stop naming things after directions? I don't want to shift left/right/up/down and my data center has no north/south/east/west. Just say what you actually want to say without obfuscating.
peanut-walrus··on RCE Vulnerability in QBittorrent
Not to downplay this vulnerability, but I feel like relying on (valid tls cert+domain name) combination as the only line of defense for code paths which allow remote code exec is a recipe for disaster. At a minimum, if your application is downloading and executing some artifact from the internet, it should always be fixed to a particular version of the artifact and it should verify the hash of the downloaded artifact before executing.
peanut-walrus··on Just want simple TLS for your .internal network?
So what? Do you keep secrets in your domain names?
peanut-walrus··on Router Security
This site is about securing consumer level routers. Nobody using one of those has a network where the internal layout is valuable to a bad guy.
peanut-walrus··on Avoiding downtime: modern alternatives to outdated certificate pinning practices
There are ways a bad actor can get enough temporary control of your domain that they can issue a domain-validated certificate without actually breaching your service (BGP, DNS hijacks, Cloud provider vulnerabilities, etc). These cases you really need to catch with CT monitoring and CAA does help somewhat as well. And ACME uri pinning should mitigate this completely.

Edit: just to clarify, I agree with the article in principle, pinning public certs is just not a workable solution in the current TLS ecosystem and should be avoided, but the author of the article does not understand what attacks pinning is supposed to prevent in the first place, as the solutions offered do not offer the same security guarantees.

peanut-walrus··on Avoiding downtime: modern alternatives to outdated certificate pinning practices
Surprisingly low quality article from Cloudflare.

None of the solutions offered address the risk that pinning tries to mitigate, namely that you have a client who trusts a misbehaving/rogue/malicious CA (perhaps you installed a VPN or AV or something that added a system-wide CA to your machine?) and their connection to your service gets mitm-d.

Shorter certificate lifetimes - does nothing to mitigate that risk.

CAA records - not checked by client, only ensures that if a malicious actor somehow gets a hold of your domain, they need to use a particular CA to issue their publicly-trusted malicious cert.

CT monitoring - yes, for WebPKI certs, but does not protect against the risk above, as the bad CA-s are likely not sending certs to CT log.

Distributed DCV checks - sure, this is something CA-s should be doing, not something you have control over.

ACME URI in CAA - operational issues quite likely, good if you can pull it off, but again, does not address the risk above.

What is an actual alternative to cert pinning? Your API should have an additional layer of encryption with keys that you have full control over.

peanut-walrus··on Attacking UNIX Systems via CUPS
Tried it out, looks like at least on Debian the filter gets invoked with limited user privileges, so not world-ending, but still bad. And it does require user interaction, but my gut feeling is that this can be bypassed with some cleverness.

However, this is only for this particular exploit. The behaviour where cups-browsed automatically downloads and installs printers from random untrusted places on the internet is insane, especially as it does it for all printers it discovers on the local network by default. At minimum anyone on a LAN can cause a DoS type attack against all Linux workstations on the same LAN by just advertising a few million printers via zeroconf.

peanut-walrus··on Who uses Accept-Language header?
I do not ever use any OS or other software in my native language, however I do want most non-technical websites to display in it when possible. How do I communicate that?
peanut-walrus··on Greppability is an underrated code metric
These are all extremely good suggestions. Especially the flattening bit - yes, it's verbose as hell, but it just makes so much sense whenever you have to deal with the code any time after writing it. Helm charts, please take note, the docs even say that "In most cases, flat should be favored over nested.", yet almost every time I have to deal with a Helm chart, it's a mess of nested structures.
peanut-walrus··on No "Hello", No "Quick Call", and No Meetings Without an Agenda
"Calls are ephemeral" is a feature, not a bug. Real-time chat should be as well. Slack storing messages until the end of days is an anti-feature.
peanut-walrus··on Roblox is the biggest game in the world, but is unprofitable
They have positive cash and are paying their employees well. That's what a company should be doing rather than paying peanuts and hoarding wealth like a dragon. Especially as it seems they are actually profitable, just hiding it with accounting.
peanut-walrus··on Flaw has Microsoft Authenticator overwriting MFA accounts, locking users out
Honestly, the only way I see forward is FIDO with dirt cheap NFC cards as keys. Need to log in to somewhere? Get the card from your wallet and touch it to your phone/laptop. It has to be cheap enough that for any company with paying customers it makes more sense to physically mail them a card if they don't already have one than to support any alternative auth methods.

Most services won't even need a second layer of auth, if someone steals your wallet - do they really care about your reddit account?

← PreviousPage 4 of 7Next →