Live data from Hacker News

Thank HN: Five months ago, I was feeling like a loser, now I am opposite

news.ycombinator.com

11–20 of 226 posts

Re: Thank HN: Five months ago, I was feeling like a loser, now I am opposite

#11

Happy to hear you've made some positive changes! That said, as a cybersecurity practitioner, this: >a lot of compliance and security related tasks which added zero benefit to our service scares the bejeezus out of me. Security is never of zero benefit.

The OP could mean that the security-related tasks added zero benefit because they were unnecessary tasks that didn't result in increased security.

There are plenty of security-related tasks that have zero, or even negative, benefit.

- Obtaining EV certificates for your websites.

- Enforcing password rotation every 90 days.

- Adding a webapp firewall in front of your static file hosting (e.g. S3).

Re: Thank HN: Five months ago, I was feeling like a loser, now I am opposite

#13

Happy to hear you've made some positive changes! That said, as a cybersecurity practitioner, this: >a lot of compliance and security related tasks which added zero benefit to our service scares the bejeezus out of me. Security is never of zero benefit.

It might not be zero, but in some cases it could be lots of additional work for some marginal benefit

Re: Thank HN: Five months ago, I was feeling like a loser, now I am opposite

#17

What is peoples obsession with FAANG companies?

Stable job. Good pay. And let's face it seems most startups these days is some crypto bullshit.

FAANG is "growth & engagement", not much better though. At least crypto is easy to ignore, while "engagement" relies on it getting in your way and being hard/impossible to ignore.

Re: Thank HN: Five months ago, I was feeling like a loser, now I am opposite

#19
Just a suggestion, but if your relationship with your wife depends on your personal circumstances and mood, then it sounds not very strong. Might be worth taking advantage of this good period to do some relationship strengthening exercises while you can so that when the next downturn happens, you can both understand each other's and your own feelings better. I'm not talking about random activities like going to the beach but finding a good self-help book or therapist and sitting down together working through it regularly. It's easy for problems to grow silently until they're too big to fix. Relationships are far more important than jobs, money or houses.

Re: Thank HN: Five months ago, I was feeling like a loser, now I am opposite

#20

Happy to hear you've made some positive changes! That said, as a cybersecurity practitioner, this: >a lot of compliance and security related tasks which added zero benefit to our service scares the bejeezus out of me. Security is never of zero benefit.

I agree with both. Real security is never of zero benefit, but I've worked on a lot of "security" tickets that are of no pragmatic benefit:

1. Angst to clean up the latest non-vuln. vuln. (e.g., the use of the vuln. library doesn't meet the requirements listed in the vuln. for it to be vuln., or the vuln. is researcher spam and … isn't really a vuln., but good luck trying to get someone to understand that, or where a vuln. gets publicized but your upstream OS is derping around and hasn't actually released the patched version yet)¹

2. ill-advised attempts to add TLS or similar: adding TLS is not trivial (you do have to have the cert available, so that the ends can validate), but I've seen a lot of TLS additions, e.g., on top of a secure network, or where TLS is bolted on but the library is set to "don't verify". (Worse, this is the default in many libraries: as someone implementing TLS, industry would be greatly helped by having defaults that were secure. PG, MySQL, I'm looking at you.) In one case an auditor asked the mobile apps to do cert pinning — which they did, without ever involving the BE engs. (They weren't told they needed to!) The next cert rotation broke both mobile apps, and broke both differently: the Android app pinned only the private key (and had a NPE if it wasn't RSA) and the iOS app pinned the cert, so that one was truly broken. I've also seen a VPN setup where the clients were configured to accept any leaf cert issued by a public web PKI CA … and check nothing else. (I.e., anyone could go to that CA, get a leaf, and it would MitM the VPN.)

3. adding yet-another-security-linter that has problems with every little thing. E.g., we had one that really disliked that we did string concatenation in our SQL queries. But we were concatenating parameterized queries, as the search parameters (including the number of parameters), came from the user. So a program would need to add, e.g., "AND column > ?" to the query, and append the value to the parameter list. Ended up switching some of that to SQLAlchemy, through which it couldn't see, even though it was functionally the same. SQLAlchemy did work with a better internal AST, though, so it caught some errors our query builder caught only after bugging. I also have a linter from my current security team that files a bug for each package in a container that has vulns. against it. But it does not ever update its bugs, … so you don't know if anything is actually fixed. (I'm not patching package by package; I'm usually invalidating a cache & forcing it to do the equivalent of "apt-get update && apt-get upgrade", so I'm going to close a bunch of tickets all at once … but I have no way of knowing which ones.)

4. Audits, where the auditor asks things like "do you use RC4, TLS, or AES?" which … good grief

5. concerns about PII handling for information that's part of a public (government) record.

¹my default disposition is to patch, regardless of theoretical exploitability, if it is trivial to do so. But if it's not trivial — e.g., if the upgrade is a SemVer incompatible upgrade that requires me to rebase the entire monolith on to a new web framework and I lack the resources to do that right now, and the vuln.'s conditions to be exploited say we're not vuln., I am going to take the pragmatic approach of "we're ignoring this, as it doesn't apply to our codebase."

Post reply on HN