156 karma · joined Dec 4, 2018 (7y ago) · 37 submissions
ex-chief scientist, contrast security
security dork
1.
Compaction Laundering: Provenance Destruction in Context-Compacting Coding Agent(arxiv.org ↗)
9 points · by nahsra · 4w ago · 2 comments
comment 1mo ago · link · parent
This term came from an era where companies or projects were disrespectful and dismissive towards security researchers. Those orgs were generally bad risk practitioners, and they coined the term "responsible disclosure" to mean "you send us the info and we'll do whatever we want with it, for however long we want, etc".
Many security people (like me) prefer the term "coordinated disclosure" as a way to indicate a practice where both discoverer and patcher participate in a good faith, communicative, and timely process to get things fixed for the community.
The difference can be summed up like this: if I report vulnerability X to company Y, and company Y sits on it for 3 years, that is not responsible. It is more "responsible" (especially today) to report it to the public, so they can protect themselves in a non-official-patch way, because the likelihood of bad guys knowing about it and exploiting it are approaching near-certainty.
These terms are obviously not super scientific, but I try to point out the history whenever it comes up.
comment 2mo ago · link · parent
But, even if these attacks work .001% of the time, we will still need tools like these for higher assurance work.
That being said, I would never use this one, because OP is using AI slop everywhere, so I assume the product is totally vibed, and offers little in the way of new insights into the problem space.
comment 6mo ago · link · parent
Imagine asking such a system, "look at my postprandial response to dosing for the past week and make ratio suggestions for breakfast, lunch, and dinner." This is genuinely helpful, saves time, and well within the reasoning limits. You could spot check if you like.
Is it worth setting up such an assistant for the value you'd get out of it? I guess that's on the user and how many similar use cases exist.
comment 1y ago · link · parent
Just because you can hit some germ-line cells in the liver, for example, doesn’t imply you’ll have good penetration into the reproductive organs.
We can’t zap people and change all their DNA at once, unless we can intervene at the point it’s just a few cells.
comment 1y ago · link · parent
In no way would I describe CGM as solved, and this would go a long way towards filling many of the gaps, especially in younger / older / less compliant patient populations.
11.
Show HN: Pixeebot – a GitHub App that fixes your Sonar findings (Java/Python)(pixee.ai ↗)
10 points · by nahsra · 2y ago · discuss
comment 2y ago · link · parent
> Do you have an example of how you inject context into the codemods?
When you say "context", I want to make sure we're talking about the same thing, and the question makes me think we're not there yet. We're basically saying that storytelling about the changes is very important, so we bake invariance into the APIs of codemods themselves, so codemod authors are forced to provide descriptions, reasons, justification -- whatever -- at the key points.
comment 2y ago · link · parent
Most terms are pretty standard now. And most of them have good reasons for existing — usually to align the founders and investors. Just because a term is complex and could benefit the investor doesn’t mean it’s meant to mislead.
But, I’m interested in some examples that might shake my opinion about up!
14.
Show HN: Codemodder – A new codemod library for Java and Python(codemodder.io ↗)
37 points · by nahsra · 2y ago · 8 comments
comment 2y ago · link · parent
This is hugely important. Decide on linters, static analysis, refactoring tools, etc., and after a deliberate selection process, never argue about them or their results again. Just make the tools happy and move on.
I've also seen high functioning teams choose and agree on an API design philosophy. Arguing about design with no boundaries the discussion feels like arguing about the entire open ocean. Limiting the universe to a small set of design inspiration (kind of like a standard set of UI components) prevents lots of discussion that doesn't help the team or the business.
For as many things as possible, we should be able to point to something outside of the team, and chosen by the team, and say "this is how we've chosen to do it and we're not going to fight about it."
comment 2y ago · link · parent
However, she did win the Nobel prize and I have found source after source that suggests she seemed to be fundamental to the development of the science.
My point remains -- you could literally substitute her name with one of a thousand names associated with high profile biomedical miracles to have originated from prestigious universities.
comment 2y ago · link · parent
> Doudna joined Yale's Department of Molecular Biophysics and Biochemistry as an assistant professor in 1994.
... and now works at UC Berkeley.
David Liu [2], who pioneered base editing, a generational improvement on classic CRISPR, works at Broad Institute (which is a collab between Harvard and MIT):
> He is the Richard Merkin Professor, Director of the Merkin Institute of Transformative Technologies in Healthcare, and Vice-Chair of the Faculty at the Broad Institute of Harvard and MIT
I absolutely loathe the current social meta where people are allowed (even celebrated) for thoughtlessly punching upwards, regardless how broad the brush (boxing glove?) seems to be. Are there shitheads in these institutions? Undoubtedly. Are there also a ton of really brilliant people who have good intentions, have integrity, and deserve your utmost respect? Undoubtedly. Are the shitheads more likely to be located in administration? My bet is yes, because the scope of administration is a lot more political, but again -- we have to be careful.
Is it anywhere near accurate to say "They’re all wrought with dishonesty and self preservation"? I don't see how this statement could be supported with anything other than personal emotion. Anti-intellectualism is just another form of dangerous prejudice and should be treated as such. You can sign me up for metaphorically stringing up this particular asshole.
I also say all this as someone who didn't go to a prestigious school.
Happy New Years!
[1] https://en.wikipedia.org/wiki/Jennifer_Doudna [2] https://en.wikipedia.org/wiki/David_R._Liu
21.
Show HN: Codemodder – A new codemod library for Java and Python(codemodder.io ↗)
13 points · by nahsra · 2y ago · 4 comments
comment 3y ago · link · parent
Inference is so slow, and almost everything about fuzzers are meant to be super fast. Maybe there's a late stage part in crash validation/analysis where you can use it but my bias is that we're just not there yet.
comment 3y ago · link · parent
Trivial vulnerabilities are easily discoverable yes -- but, they are also trivially discoverable by standard automation available today. I've found GPT-4 to be shockingly bad at vulnerability analysis for all except the most popular vulnerability classes. My speculation is that there just isn't enough literature on these vulnerability classes for it to have practical mastery of them.
Complex vulnerabilities are the emergent phenomena of multiple events across a codebase and it's dependencies, involving control flow, data flow, while missing type information and other runtime data. Even Anthropic's 100K context windows won't nearly fit it all, and if you stuff all the code into embeddings, the ability to reason across all this space will be poor.
You can train a model to ask very pointed questions about particular snippets, but wholesale LLM-based analysis to find vulnerabilities seems like it'll be extremely slow, expensive and inaccurate.
comment 3y ago · link · parent
The question isn’t “is this possible and has anyone ever done it” - it was was “has the FBI ever used a botnet’s existing C&C patch all the infected hosts”?
It doesn’t seem like it, but I don’t track this stuff closely so I’m happy to be corrected.
comment 3y ago · link · parent
I've done some limited consulting in this space in my career, and I agree that the code (and architecture) I've seen is pretty brittle junk. It's on par with the worst enterprise code I've seen. It's a numbers game for them. And, it's just a different work experience and skill tree that drives people to create "great code" (as it would be measured in professional software development circles.)
comment 3y ago · link · parent
I totally get that we "treat the patient" -- that's sort of what I'm hinting at with the demographics. But, in my opinion this thing you said:
> we don't have actual data about how much an extra X% outside of target ranges matters in terms of clinical outcomes and complication rates. We only really started getting this data with CGM and complications in these mild states would require very large cohorts and long (10-20 year) follow-ups to detect differences as they're likely to also be mild.
... is not the same as saying "we know that 70% TIR is safe to live with no complications". I don't think any of the guidelines are that confident, because there's not enough evidence yet. Consider this study (discussed at [1]):
> Overall, increasing time spent with glucose levels in the target range of 70–180 mg/dL (3.9–9.9 mmol/L) was associated with decreasing risk for microvascular complications. For instance, 50.0% of the 10 individuals in the lowest category for TIR (<40%) had at least one microvascular complication, compared with just 27.3% of the 99 people in the highest category for TIR (≥70%).
> Moreover, El Malahi said that the 180 people with microvascular complications had significantly lower average TIR than the 324 individuals without, at 60.4% versus 63.9%.
This suggests to me that a difference of 4% of TIR can seriously affect long-term outcomes. And, by the way, even those with the highest TIR still had microvascular complications higher than the normal population. On top of that, we know that genetic and environmental factors may be at play.
Therefore, my monkey math is that 75%+ as a TIR goal may mean that even if the patient is an order of magnitude more vulnerable to complications, microvascular or otherwise, they have a much better shot.
And, unfortunately, the typical western diet with 3 meals a day and snacks, you have to be "good at managing diabetes" to get to 75%+ TIR. Thanks for reading my ramble.
[1] https://diabetes.medicinematters.com/easd-2020/glycemic-cont...