Better HN
topnewbestaskshowjobs
Log inSign up

darkamaul

969 karma · joined Mar 15, 2021 (5y ago) · 138 submissions

Submissions

comment 1d ago · link · parent

I was not aware, but after reading the issue linked above, Trusted Publishing (or more accurately, short lived token credentials) already work for GitHub Actions workflows.

They link this issue in the docker-action repo: https://github.com/docker/login-action/pull/1048, merged last July.

comment 1d ago · link · parent

That's a great change by Github here. pull_request_target has been the source of numerous security incidents (see the examples listed in the blogpost), with little benefits to the user.

zizmor [0], a linter for GitHub Actions, flags it as part of its default audits. I would also recommend everyone to check the results of the default scan of zizmor on their project:

```

cd <my-project>

uvx zizmor .

```

[0] https://zizmor.sh/

comment 1d ago · link · parent

It's also the thing that allowed frictionless automated build/test/deployment for many projects, and helped streamline CI.

Sure, there are limitations, but you can use different jobs, with restricted environments for the more sensitive tasks.

comment 4d ago · link · parent

> Claude and I have had a great time together with such breadth in recent months, but this time Claude far outpaced me near the finish line. No, Claude flew, and danced, and sparkled near that finish line.

I quite love the remark here, this feels quite poetic. And it shows, what most experts have already said, that the correct way to use AI to do great things is the Centaur model: frontier AI + domain expert.

comment 5d ago · link · parent

To be able to effectively turn a single byte overwrite into ACE is still challenging because you will corrupt outside of your buffer, but this corruption must be meaningful.

I would be curious to see how they were able to exploit it here.

comment 5d ago · link · parent

We will never know, but there is a chance that the Calif's researcher model decided to look at the open and closed issues / PRs of the repo.

Nonetheless, being able to understand the criticality of a finding, and how to exploit it are other skills, that still require supervision.

comment 6d ago · link · parent

> Every official release from 1.9.5 through 1.31.8 contains the vulnerable code, including the master branch on Nov 10, 2026.

I guess this is time to patch, because the config they share in their blogpost looks fairly standard.

comment 1w ago · link · parent

I like those experiments but they are just experiments.

You won’t be able to maintain this project for the next 10 years, understand what should be deprecated and what should be added. The only options forward to move this one step ahead are either to get this adopted by the current team or continue to update this as the original project moves on….

I see why this result looks impressive, but I’m also wondering what’s its future looks like - probably ending up in an abandoned GitHub repository with no other commits.

comment 1w ago · link · parent

For sure I would love to get access to P0 researchers for a m 10k/months, but i don’t believe you can hire such talent for this sum.

They are one of or maybe the most skilled security research team that’s doing public research and their blog is the source of many modern exploitation techniques

For a while, asking your agent to act like a P0 researcher was a nice nudge to find better bugs !

comment 1w ago · link · parent

Not directly the subject but they switched from Material for MkDocs to Zensical.

It’s quite sad to see that one of the main (or the biggest?) documentation system for the Python completely alienated its user base and led to this fork.

comment 2w ago · link · parent

I haven't checked, but I believe that most member states have not yet passed the bill, despite the deadline of the european union.

So companies are not even breaking the law, just delaying the process...

comment 2w ago · link · parent

Apparently, in France, the bill is not yet ready, and given the current state of legislative process, I don't think it's going to be ever voted before the next elections.

Again, member states miss European deadlines, but since it has no practical consequences, I don't see a why they would do it differently.

comment 2w ago · link · parent

> > No. This includes (but is not limited to) all generative AI tools like Claude, Codex, ChatGPT, Cursor, Gemini, and Windsurf

Based on the tool listed here, you can probably know when this policy was first written. For instance, Windsurf is long gone and Cursor is not tier 1 anymore.

Crazy to think how much the space of AI coding agent has evolved in less than 2 years.

comment 2w ago · link · parent

I would also recommend hosting your blog content on GitHub and deploy using GitHub Actions. They’re free for open source projects.

And simply use Cloudflare generous free tier to host your website and protect it from ddos.

comment 2w ago · link · parent

Orange Tsai almost did that last week where he used calc to pop Edge [0] to reverse the chain where edge popped calc

[0] https://x.com/orange_8361/status/2115654643141489057?a=qallN...

comment 2w ago · link · parent

I have quite the opposite experience here where I almost never use the assistant. I much prefer the frontier labs alternative (I’m lucky enough to have my work pay for the subs).

comment 2w ago · link · parent

You could argue that it also includes the assistant that I’m barely using at all… Why is this included in the sub while the main reason I use Kagi is the search, and the search itself is not included if performed via an agent?

comment 2w ago · link · parent

I'm a happy subscriber / user of Kagi, but I don't understand why their API usage is not _included_ within your plan.

If my agents are running internet search for me; why should I pay extra? My usage of Kagi has diminished since the raise of agents, so it should compensate. Maybe simply adding a soft cap to prevent abuse, but that's a bit lame to have to pay twice.

comment 2w ago · link · parent

I have been using cmux for a year before transitioning to Rex. In the end I realized I only used two features of cmux: tabs and workspaces.

And I liked it but I had the feeling it’s starting to be a be bloated and they started pushing features with their account I don’t need.

So far Rex has been a great alternative.

comment 2w ago · link · parent

1/ Claude and Codex, but mostly Codex with the Business Plan 2/ No other models 3/ Default CLI most of the time, plus some agent-made tooling for some orchestration 4/ No - frontier models are already super good at this 5/ I'm using Dot, and I find it helpful as a workload dispatcher

I also don't see many differences anymore in the various frontier model - between GPT 6-Sol or Astra or Fable or Opus 5.5... Maybe my tasks are easy enough, or maybe I'm missing a lot here.

comment 2w ago · link · parent

I would be curious to see the distribution of these vulns in the codebase:

- What subsystems are affected?

- What's the median age of the vulnerable code? Is more recent code stronger than old ones?

- What is the type of vulnerabilities found? Memory corruptions, logic bugs, race conditions, ...

This is an impressive result, but we need more info to understand how well this would translate to another codebase, and what lessons can be drawn from this experiment. Not every company has ~million dollards in tokens to spend.

comment 3w ago · link · parent

I see two main benefits of using paper ballots. The first one is that is easy to explain and everyone understand how it works. Your grandparents, probably your kids of a certain age... When you start talking about electronic voting, the system becomes much more complex, and you need to trust someone else assessment of the system.

The second one is that you can enrol interested people in the process, for instance during the vote counting. In France, any voter can register to participate during the night. This creates a sort of community engagement which is extremely important in my opinion.

comment 3w ago · link · parent

Orange is a legend and this chain is extremely impressive here.

No memory corruptions, no heap shenanigans, just pure logic bugs, almost made easy to understand for the reader.

As a bonus, they also posted a reverse chain: popping Edge from calc [0].

[0] https://www.youtube.com/watch?v=Bh1zglq4mLE

comment 2mo ago · link · parent

I wonder what's the ceiling for these plans' prices. At some point, it becomes a non-negligible fraction of the salary for the employee, especially in non-US employment markets.

comment 2mo ago · link · parent

A timeline to help understand what happened :

- Aug 6: Off By 1, the security lab of 1Password publishes their blog post (current title: Why AI-generated vulnerability patches still require expert human review)

This article gets some specialized and mainstream press coverage

- September 15 : Trail of Bits publishes a rebuttal on their blog 1Password's AI patching benchmark is misleading

- September 22: Suha publishes the current blog post

The main idea in the rebuttal is that the headline number (26 percent only of the AI generated patches are flawless) is misleading because the experiments were not well designed.

comment 2mo ago · link · parent

In coop [0], a VM manager we developped to sandbox agent usage (i.e. give them freedom to do their stuff, but in an isolated environment from your main machine), we try to solve this by having an intermediate proxy (coop-proxy).

Instead of forwarding ANTHROPIC_API_KEY / OPENAI_API_KEY into the guest, we simply run a reverse-proxy within the VM that replace a constant-time token with the real API key on the host.

Works well enough in practice

[0] https://github.com/trailofbits/coop

27.

1Password's AI patching benchmark is misleading(blog.trailofbits.com ↗)

37 points · by darkamaul · 2mo ago · 9 comments

comment 2mo ago · link · parent

Silly question - but how do you apply the cooldown to brew itself ?

I would think this is one of the most critical dependency that you would not want to get right away at let it rest for a couple of days

comment 2mo ago · link · parent

I _think_ (disclaimer: I have only read the documention of the two tools) they overlap quite a bit. The main idea is to get VM isolation for your agents env.

comment 2mo ago · link · parent

I use coop daily and found it super convenient for my use case (ie letting agents go on with no access to my other projects or personal files)

I would recommend anyone that has desire to provide stricter boundaries to agents to give it a try - while remembering that a motivated agent would probably be able to escape it :)

12345