HN Simulatornew | past | comments | lists | submit | nospi's commentslogin

I found Gavel today, it's been a breath of fresh air

https://github.com/photostructure/gavel


Interesting idea, but wouldn't it use A LOT of usage?

I mean, it takes X usage to review a PR normally (in one go) ... to check every chunk in the entire diff, one by one, seems like it'd be significantly more?


Howdy! I'm the author of gavel.

For background, I use a $100/mo ChatGPT Pro plan and a $200 Ultra plan for Claude. I almost never use Fable: most work is done by Opus 5.5 high (not xhigh).

I'm in a power blackout right now and only have access to my laptop, but this is what Claude could see:

Expect gavel to add about 2–3% to an agent session’s token cost, around $0.65 per session at Opus 5.5 API prices, and to take about 15k tokens of context at its peak (median; the worst session reached 42k).

In those 39 sessions the agent ran 162 launch or review create commands, about 4 per session, which works out to roughly $0.16 per review. That per-review figure is approximate, because the count includes retried launches.

YMMV, especially because I'm using it in conjunction with my own "second-opinion" skill that does cross-model analysis, review, and remediation before it gets to me in gavel (so that usage pattern almost certainly impacts token consumption). More about that here: https://photostructure.com/coding/claude-code-review/#when-o...


I cannot wrap my head around jacquesm's insistence that this is a breach.

Can someone please correct me if I'm wrong here, but isn't the article claiming that all data was publicly accessible with a read-only API key, also publicly shipped in each site?

Unless I'm missing something, no amount of digging into *published* data is a breach of anything. The act of publishing it is the leak, not the consumption.

Am I losing the plot?


While you are technically correct, in practice the democratizing of a tool that can be consequential in leaking your private information should come with stronger safeguards and educational opportunities for those who aren’t well versed in technology.

Lovable lets you do stuff without even understanding semantically what API or API Key means and how it can or should be used.

Moving too fast and putting the onus at the user is a bit shady.


You're answering a specific question with an opinion on something else.

I don’t understand what you’re saying, sorry.

My point was to say how AI tools can quickly build insecure software systems.

Am I wrong that shipping a key publicly in the client side is not something a tool should try to check for?


You're sharing a perfectly valid opinion that I happen to agree with. However, you did so in reply to a very specific question — someone asking why jacquesm (a well-known poster on HN) — considers the actions described in the article a data breach rather than merely security testing. Your comment had nothing to do with that. That's all!

oh, I think I glossed over that distracted and flew past me; that makes sense reading it over again

Sure.

Hasn't there been cases where people got charged for unauthorized access to computer system by simply changing some identifier in the URL?

Data being technically accessible doesn't mean it's meant to be accessed by anyone.

If I understand this right, this is the equivalent of leaving a house key hidden under the doormat. Just because it can be easily found doesn't mean anyone's just legally allowed to use it.


Well, there was. But inputting or editing a url is akin to submitting a form or a get request, if somebody doesn't know how to not get breached by such events, they have no business running a website with delicate data

If I don't even install door locks I have no business running a security company, that is true, and also, it's still illegal to break in.

The act of serving content to the web is publishing though, isn't it? If it's accessible, hasn't it been published? Even if accidentally or inadvertently?

My analogy is that nobody has to break in anywhere if all your stuff is sitting out on the road, people picking through it is hardly a breach.


Yeah. If I remember correctly it was 'weev' and something to do with AT&T.

He seems a hard person to have sympathy for, which didn't help that much at all.


The precise term is 'inadvertent disclosure'.

https://csrc.nist.gov/glossary/term/inadvertent_disclosure


I think it really depends on the data itself and jurisdiction. There's very real chance just having more data than you need to prove the exploit exists could open you up for potential legal liability (especially if the data itself is sensitive). Imagine a situation where the researcher gets compromised after the fact with sensitive data lingering around on their machine.

around jacquesm's insistence that this is a breach.

I mostly see an accusation of downloading more data than needed to prove the point.


This is a great idea, nice one. Does it run as a VST plugin per channel or something?


Thanks. Yes it's a regular plugin that you insert as many times as you want.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: