HNHacker News
TopNewBestAskShowJobs

staticassertion

13,486 karma · joined June 1, 2016

@insanitybit
submissionscomments
staticassertion··on Notion leaks email addresses of all editors of any public page
Isn't this very typical? Also, what is the proposal?
staticassertion··on "cat readme.txt" is not safe if you use iTerm2
This ignores that by publicly releasing the patch is motivated.
staticassertion··on "cat readme.txt" is not safe if you use iTerm2
> The author of iTerm2 initially didn’t consider it severe enough to warrant an immediate release, but they now seem to have reconsidered.

It's funny that we still have the same conversation about disclosure timelines. 18 days is plenty of time, the commit log is out there, etc.

The whole "responsible disclosure" thing is in response to people just publishing 0days, which itself was a response to vendors threatening researchers when vulns were directly reported.

staticassertion··on How to make Firefox builds 17% faster
Would it be possible to do somethign like editions for proc macros, or have crates establish "this is a v2 proc macro" or something? There are a lot of things I'd love to see change in a v2 but it'd all be breaking.
staticassertion··on No one owes you supply-chain security
I think that they arguably do when they publish to a registry. I think that crosses a bridge from "I'm just writing software" and "I'm publishing software for consumption". Arguably, to be clear, I don't have very strong feelings, but I think there is a distinction between "I've placed code online" and "I've explicitly published it for use".
staticassertion··on No one owes you supply-chain security
Sorry I'm just gonna copy some of this directly from tweets about sandboxing that I'd written.

I think it is a mistake to say "cargo build does not need to be sandboxed because cargo test is not". A very tricky part of sandboxing is sandboxing code you don't own. I own what code runs in tests, I do not own what code runs in cargo/ build scripts.

I can take responsibility for isolation in test/ci/prod. Those are tractable problems because I can design my tests/prod code to be friendly to sandboxing. I can not do that with build scripts or proc macros, I can't actually do much at all.

The solution for "sandbox cargo" ends up being "sandbox the entire dev environment", which is a very difficult problem to solve - you lose tons of performance, UX, and the security is lacking due to how much gets placed into the sandbox.

I strongly feel that cargo is in a much better position to help me out here. I can't even know if an update to a crate happened that suddenly added a build script without additional tooling.

As for typosquatting,

> If you think you can remember the URLs for each package you use, you’re probably wrong.

Most people aren't using urls so I don't get this. The issue is typing `cargo add reqwest`. Typosquatting algorithms solve this.

I did some math.

If crates.io had adopted a policy of "no crates within edit distance of one", 15% of crates would have been blocked across all time.

+Exception for same author: 14%

+Exclude <=4: 9%

+Swap from edit distance to actual typo detection algorithm: 5%

5% of crates would have needed a name change across all time. That number will likely decrease drastically as existing names are taken.

Yes, Rust needs radically more funding in these areas. Companies need to step up. Sandboxing, typo squatting, better auditing tools (ie: I need to know when `cargo udpate` adds a dep with a new build script, etc), TUF, etc, all need to be priorities.

staticassertion··on A security scanner as fast as a linter – written in Rust
Legitimately, I have had to stay away from certain linting tools because of how slow they are. I'll check this out.

cfn-lint is due for one of these rewrites, it's excruciating. I made some patches to experiment with it and it could be a lot faster.

staticassertion··on We've raised $17M to build what comes after Git
Sure, but that doesn't really change anything. The poster plainly states:

> Money is not given to good ideas (though, it doesn’t hurt). Money is given to friends.

I have an obvious counter example. I'm sure money is invested for all sorts of reasons to all sorts of people. I'm also sure that money is not exclusively invested based on friendships, and I'm quite sure that money is at times invested based on the merits of an idea. Obviously those merits have to correspond to the ability to form the basis of a successful company, unless it's a philanthropic investment.

staticassertion··on We've raised $17M to build what comes after Git
You can think that because you've read the article.
staticassertion··on We've raised $17M to build what comes after Git
You didn't click the link. Who are you to say that they aren't solving actual problems? You might not be their target. The whole article is dedicated to explaining why they're building their product.
staticassertion··on We've raised $17M to build what comes after Git
I'm sure VCs give money to friends but I didn't know any investors when I raised millions. They invested money because they thought it was a good idea.
staticassertion··on Assessing Claude Mythos Preview's cybersecurity capabilities
I genuinely have no clue what you're talking about. What did I call ai slop?? Who said I hate ai????? No clue. Electron???? What are you talking about lol
staticassertion··on Project Glasswing: Securing critical software for the AI era
> These aren't projects you would characterize as people being cavalier.

I probably would. You mentioned the linux kernel, which I think is a perfect example of software that has had a ridiculous, perhaps worst-in-class attitude towards security.

staticassertion··on Peptides: where to begin?
It's a bit vague and I have to balance that out against a lot of stuff you've said so idk.
staticassertion··on Peptides: where to begin?
I don't care what "slogan" you say, I'm just trying to see if you hold the opinions of an antivaxxer and for some reason you refuse to make any claim that would help avail me of that position.
staticassertion··on Assessing Claude Mythos Preview's cybersecurity capabilities
> The majority of vulnerabilities are in newly committed lines of code. This has been shown again and again

That's fine, I wouldn't argue against that. It doesn't really change things, right?

> From a marketing standpoint Anthropic is showing that they're able to direct 'compute' to find vulnerabilities where human time/cost is not efficient or effective.

Yes, they've demonstrated that.

staticassertion··on Peptides: where to begin?
It sounds like you don't want to say that you think vaccines are generally safe. So, I'm going to go ahead and call you an anti-vaxxer.
staticassertion··on Assessing Claude Mythos Preview's cybersecurity capabilities
If people want exploitable syzkaller reports, following spender is free!
staticassertion··on Assessing Claude Mythos Preview's cybersecurity capabilities
Oh, that. That's true, I didn't know Mythos found that one. I guess I will not comment further on it until there's a write up (edited out a bit more).

> It is easy to turn this into a denial-of-service attack on the host, and conceivably could be used as part of an exploit chain.

So yeah, perhaps some evidence to what I'm getting at. Bug density is too low in that project, it's high enough in others. I'll be way way way more interested in that.

> But then, this thing is just.. I don't have a word for this. Just randomly read paragraphs from the post and it's like, what?

I read about 30% and got bored. I suppose I should have been clearer, but my impression was pretty quickly "cool" and "not worth reading today".

staticassertion··on Assessing Claude Mythos Preview's cybersecurity capabilities
I'd love to see them point at a target that's not a decades old C/C++ codebase. Of the targets, only browsers are what should be considered hardened, and their biggest lever is sandboxing, which requires a lot of chained exploits to bypass - we're seeing that LLMs are fast to discover bugs, which means they can chain more easily. But bug density in these code bases is known to be extremely high - especially the underlying operating systems, which are always the weak link for sandbox escapes.

I'd love to see them go for a wasm interpreter escape, or a Firecracker escape, etc. They say that these aren't just "stack-smashing" but it's not like heap spray is a novel technique lol

> It autonomously obtained local privilege escalation exploits on Linux and other operating systems by exploiting subtle race conditions and KASLR-bypasses.

I think this sounds more impressive than it is, for example. KASLR has a terrible history for preventing an LPE, and LPE in Linux is incredibly common. Has anything changed here? I don't pay much attention but KASLR was considered basically useless for preventing LPE a few years ago.

> Because these codebases are so frequently audited, almost all trivial bugs have been found and patched. What’s left is, almost by definition, the kind of bug that is challenging to find. This makes finding these bugs a good test of capabilities.

This just isn't true. Humans find new bugs in all of this software constantly.

It's all very impressive that an agent can do this stuff, to be clear, but I guess I see this as an obvious implication of "agents can explore program states very well".

edit: To be clear, I stopped about 30% of the way through. Take that as you will.

staticassertion··on Peptides: where to begin?
[flagged]
staticassertion··on Peptides: where to begin?
> There's a lot of definitions for both of those words.

Sure. I don't think that that implies we have the right system currently or that we can't come up with good definitions. And again, "informed" is almost definitely already an understood term in medicine since "informed consent" is already understood.

> they generally don't understand how these drugs work, what the risk profiles, are or how dosing should be managed.

That's fine. I don't think they have to understand how they work. They have to have the risks conveyed appropriately to them. They might make a call that's ultimately harmful. Adults can do that, they should be allowed to do that.

> "immiment" is a different word than "egregious" isn't it?

Well, yes. If I had defined "egregious" as the same word, that wouldn't be very helpful.

> Malnutrition, cancer, and death are pretty egregious as well, even if they occur maybe months or years in the future, aren't they?

Not really. Things that take years to happen are a lot less serious, especially as they can be monitored for. But again, this can all be explained to the patient. I'd say the bar for "egregious" should be very, very high. When in doubt, give patients the power to choose.

> Literally, enough people are fucking this stuff up that we have pop culture references to it: "ozempic face". Losing weight this rapidly is unsafe.

That isn't compelling. How many of those people are getting ozempic from a nurse practitioner at one of these compound pharmacies? If anything, I'd bet that doctors taking the time to ensure patients are informed would lead to a reduction here.

staticassertion··on Peptides: where to begin?
[flagged]
staticassertion··on Peptides: where to begin?
That doesn't support the claim that people who take peptides are anti-establishment.
staticassertion··on Peptides: where to begin?
> because it is known to

I thought that this was not yet substantiated in human trials? There's a plausible mechanism and, I think a mouse trial, right?

staticassertion··on Peptides: where to begin?
> This means you can't say that oral vs injected is "equally effective" because you can't assert that BPC 157 is effective at all

Is that true? It seems that you can say that they were equally effective without quantifying an effect. It could be the case that both are equal in that neither has an effect, which this would validate. Then you can just point to other studies to claim effectiveness of injected.

staticassertion··on Peptides: where to begin?
> And with very rare exceptions, it's as useful as watching someone workout when you want to gain muscle.

Who cares? I never made broad claims about their efficacy, the author did.

> Oral peptides are snake oil for the most part.

The author's claim is not nuanced by "for the most part", that's why I quoted it directly.

Besides, I was merely clarifying what the other poster was likely referring to.

staticassertion··on Peptides: where to begin?
I actually think "informed" is almost definitely defined already. Doctors already need to provide informed consent, so I think it would borrow from that. As for "egregious", I also suspect that this is understood already in a similar vein, but perhaps not - I'd suggest that this is effectively "would near definitively cause imminent harm".

FWIW I do not think that most people agree with this.

staticassertion··on Peptides: where to begin?
I didn't say that you can't maintain muscle mass. I'm saying your performance will suffer.
staticassertion··on Peptides: where to begin?
That's not the exact quote lol you cut out the exact part I was referring to.

> because unless a really substantial amount of engineering has gone into it, any given peptide is going get the same treatment from your digestive system as a chicken breast does, i.e. a complete teardown

> Every single YouTube video and blog post I have read about peptites is exclusively about injectable supplements.

Collagen peptides, ghk-cu, and many other peptide supplements are often taken orally.

← PreviousPage 5 of 34Next →