frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Qwen 3.8 27B is excellent, but it defaults to overthinking things

https://simonwillison.net/2026/Aug/16/qwen-38-27b/
433•bilsbie•9h ago•191 comments

GIMP Development Update

https://www.gimp.org/news/2026/08/16/dev-update-august-2026/
124•lumpa•5h ago•60 comments

On A.I. regulation and messaging

https://twitter.com/DarioAmodei/status/2088758816376807762
43•jacquesm•6h ago•33 comments

Linear algebra done right

https://linear.axler.net/
58•the-mitr•3h ago•28 comments

A third world engineer responds to “RISC-V: They should have known better”

https://rvembedded.com/blog_post/12/
495•Narishma•15h ago•260 comments

Beware the Permanent Periphery

https://asteriskmag.com/issues/15/beware-the-permanent-periphery
7•m-hodges•6d ago•0 comments

Anthropic's 'watermark' text adulteration in Claude is a perversion of writing

https://daringfireball.net/2026/08/anthropics_watermark_text_adulteration_in_claude_is_a_perversi...
228•ropbear•10h ago•214 comments

Reticulum – Decentralized Mesh Network

https://reticulum.network/
116•sudo_cowsay•8h ago•27 comments

Claude: System Prompts

https://platform.claude.com/docs/en/release-notes/system-prompts
645•tosh•20h ago•254 comments

AGI-64 Brings Sierra Adventures to the Commodore 64

https://meanhamster.com/news/agi-64-brings-sierra-adventures-to-the-commodore-64
81•erickhill•7h ago•10 comments

Show HN: Vocal Slice – Cut audio by selecting text, fully on-device

https://vocalslice.com/
35•terranivium•6d ago•25 comments

Rhombus 1.1 is now available

https://blog.racket-lang.org/2026/08/rhombus-v1.1.html
75•spdegabrielle•8h ago•24 comments

Gakutensoku

https://en.wikipedia.org/wiki/Gakutensoku
19•benbreen•3d ago•0 comments

Low-Tech Ceramic Water Filter

https://wiki.lowtechlab.org/wiki/Filtre_%C3%A0_eau_c%C3%A9ramique/en
174•Bluestein•5d ago•44 comments

HackEurope 2026: A short rant on AI and hackathons

https://duti.dev/blog/2026/spr/
19•mindracer•1h ago•2 comments

Design 3D-printable parts by talking

https://nurb.dev/
17•mkmk•2d ago•9 comments

How do I permanently disable random Google Photos popup to backup photos? (2024)

https://support.google.com/photos/thread/256212140/how-do-i-permanently-disable-google-photos-pop...
105•dt3ft•3d ago•70 comments

SIMD in the 90s: Programming Intel's Pentium MMX

https://pikuma.com/blog/programming-intel-pentium-mmx-simd
114•ibobev•3d ago•48 comments

Applying a photosynthetic process to treat “dry eye”

https://www.science.org/content/blog-post/taking-tip-plants-eyes
43•gumby•8h ago•11 comments

Interview with Amit Patel, Creator of “Solar Realms Elite” (2013)

https://breakintochat.com/blog/2013/02/18/amit-patel-creator-of-solar-realms-elite/
52•bananaboy•1w ago•13 comments

Dancing with friends and enemies: boids' swarm intelligence (2012)

https://community.wolfram.com/groups/-/m/t/122095
41•surprisetalk•5d ago•5 comments

Prolly: A content-addressed ordered map built on prolly trees

https://github.com/crabbuild/prolly
43•forhappy•7h ago•3 comments

The AI Credit Resale Economy

https://vectoral.com/blog/who-are-the-token-brokers
278•mlenhard•18h ago•113 comments

Red queen hypothesis – A new way forward for self-improving AI

https://www.cst.cam.ac.uk/news/red-queen-hypothesis-new-way-forward-self-improving-ai
56•hardlianotion•12h ago•11 comments

Strong gravitational lensing and microlensing of supernovae (2024)

https://infoscience.epfl.ch/entities/publication/644cad8a-6c9b-4b02-bcf3-b8b6e8c614c5
10•andsoitis•5h ago•1 comments

Protobuf has LSP support

https://buf.build/blog/protobuf-lsp
152•theanonymousone•14h ago•101 comments

The Life and Death of Direct File [pdf]

https://www.ischool.berkeley.edu/sites/default/files/vinton_report_5.pdf
184•ronbenton•8h ago•91 comments

MathCode, Mathematical Coding Agent

https://math-ai-org.github.io/mathcode/
90•homarp•14h ago•28 comments

Tell HN: Cloudflare silently injects its analytics when you switch nameservers

484•stagas•15h ago•127 comments

Stripe will reportedly acquire OpenRouter for $7B+

https://techcrunch.com/2026/08/16/stripe-will-reportedly-acquire-ai-gateway-startup-openrouter-fo...
338•zacharyozer•12h ago•206 comments
Open in hackernews

CaMeL: Defeating Prompt Injections by Design

https://arxiv.org/abs/2503.18813
71•tomrod•1y ago

Comments

simonw•1y ago
I've been tracking prompt injection for 2.5 years now and this is the first proposed mitigation for it that feels genuinely credible to me. Unlike most of the others it doesn't rely on using other AI models to try and spot injection attacks, which is a flawed approach because if you only catch 99% of attacks your system will be broken by motivated adversarial attackers.

(Imagine if we protected against SQL injection or XSS using statistical methods that only caught 99% of attacks!)

I wrote up my own extensive thoughts on this paper last week: https://simonwillison.net/2025/Apr/11/camel/

Admittedly I have a bias towards it because it builds on a proposal I made a couple of years using dual quarantined and privileged LLMs: https://simonwillison.net/2023/Apr/25/dual-llm-pattern/

I'm particularly tickled that a DeepMind academic paper now exists with a section titled "Is Dual LLM of Willison enough?" (Spoiler: it is not.)

jaccola•1y ago
I read your (excellent) blog post just now. This reminds me very much of the Apple "Do you want to share your location" feature.

Do you think that this practically limits the usefulness of an LLM "agent"?

In your email example it is all well and good for me to check it is indeed sending to bob@mycompany.com and confirm it as trusted from now on, but what if my agent is doing something with lots of code or a lengthy legal document etc.. Am I right in thinking I'd have to meticulously check these and confirm they are correct (as the end user)?

If that's the case, even in the email example many users probably wouldn't notice bob@mycumpany.com. Equally, this feels like it would be a non-starter for cron-like, webhook-like, or long-running flows (basically anywhere the human isn't already naturally in the loop).

P.S. They must have called it CaMeL for the two LLMs/humps, otherwise it is the most awful backronym I've ever seen!

gnat•1y ago
My first thought was "oh, it's Perl's taint mode" which added another layer of meaning to the CaMeL name.
rurban•1y ago
Unfortunately not. It just is a primitive intermediate layer of checks for each tool access. Which should be default for each such api call anyway.

It's by far not a proper capability based design as advertised.

simonw•1y ago
> Do you think that this practically limits the usefulness of an LLM "agent"?

Yes, I do. I think it limits the usefulness a lot. Sadly it's the best option we've seen in 2.5 years for building AI "agents" that don't instantly leak your private data to anyone who asks them for it.

I'd love it if someone could come up with something better!

daeken•1y ago
> (Imagine if we protected against SQL injection or XSS using statistical methods that only caught 99% of attacks!)

For what it's worth, we do that all the time: WAFs (web app firewalls). I can't begin to tell you the number of applications whose protections against XSS and SQLi were a combination of "hope we got it right" and "hope the WAF covered us where we didn't".

Once consulted on an M&A vetting gig, where they pulled me after a day because the sheer number of critical findings meant that there was no way that they would move forward. They used the WAF+prayers method.

simonw•1y ago
Yeah, I have low opinions of WAFs!

They're actually a pretty good comparison to most of the other proposed mitigations to prompt injection: slap a bunch of leaky heuristics over the top of your system (likely implemented by a vendor who promises you the world), then cross your fingers and hope.

lostnground•1y ago
After a cursory read, I see how this might prevent exfiltration, but not potential escalation.

It seems like it keeps you inside a box, but if the intention of my attack was to social engineer Bob by including instructions to whitelist attackers@location to hit with the next prompt, would this stop me?

simonw•1y ago
I don't think it would. Social engineering attacks like that are practically impossible to prevent in any system where an LLM displays content to you that may have been influenced in some way by untrustworthy tokens.

They talk about that in the paper in section 3.1. Explicit non-goals of CaMeL

> CaMeL has limitations, some of which are explicitly outside of scope. CaMeL doesn't aim to defend against attacks that do not affect the control nor the data flow. In particular, we recognize that it cannot defend against text-to-text attacks which have no consequences on the data flow, e.g., an attack prompting the assistant to summarize an email to something different than the actual content of the email, as long as this doesn't cause the exfiltration of private data. This also includes prompt-injection induced phishing (e.g., "You received an email from Google saying you should click on this (malicious) link to not lose your account"). Nonetheless, CaMeL's data flow graph enables tracing the origin of the content shown to the user. This can be leveraged, in, e.g., the chat UI, to present the origin of the content to the user, who then can realize that the statement does not come from a Google-affiliated email address.

NitpickLawyer•1y ago
> this might prevent exfiltration

Eh, I'd say it limits the exfil landscape, but it does not prevent it. As long as LLMs share command & data on the same channel at their core, leaking data is pretty much guaranteed given enough interactions.

So it would be useful as a defence in depth tool, but it does not guarantee security by itself.

thom•1y ago
This works by locking down the edges of the system (e.g. tools) not to do stupid things, and maintaining provenance information end to end to inform that. That’s great if the attack is “send this sensitive document to baddie@evil.com” but it offers nothing when workflows devolve into pure text, where the attack could be to misinform or actively social engineer. I suppose you’d class this as necessary but not sufficient.
simonw•1y ago
That's true, but it is at least addressed in the paper - see comment here https://news.ycombinator.com/item?id=43759505
petesergeant•1y ago
So an initial LLM takes trusted input and a list of tools, and puts together an executable Python script using those tools. Some of those tools use LLMs for extraction purposes from downstream data, but the downstream LLMs don’t have access to tool usage, so even if the data to evaluate has malicious data, the worst thing they can return is a misleading string that’s not re-evaluated by an LLM, it’s simply set in a Python variable.

This feels like a lot of engineering for quite a narrow mitigation, and I guess I’m a little surprised to see a paper on it. Perhaps I need to start writing up some of my own techniques!

mentalgear•1y ago
Definitely, I'd be interested even if you could just outline them!
petesergeant•1y ago
Here is one I wrote today on LLMs that can handle chat input like humans write: multiple disjointed messages arriving asynchronously that need to be treated as one: https://sgnt.ai/p/interruptible-llm-responses/

I use a similar technique to the article for trying to avoid jailbreaks by putting untrusted input through zod to check I got back a JSON structure of the right shape, which has been very effective.

I’ve been sprinkling lexical in-memory search throughout prompts to save inference calls, which has been very effective

noodletheworld•1y ago
I have to say I’m a bit skeptical.

The problem with a sandbox that executes arbitrary code (which is what this is; convert a request into code and execute it in a restricted runtime), is that if you expose APIs in that sandbox that can “do things”, then you have to be extraordinarily careful with your security policies to allow “good actions” and deny “bad actions”.

The side channel attacks are a good example; what if fetching an external url is the task you want an agent to perform?

How do “know” in your security policy what a good url is and what a bad one is?

What if the action is to apply a change to a database element? How does your security policy know how to only allow “good” updates?

Certainly you can hand craft guard rails (security policies), but at the end of the day you’re no closer or further than any other environment where you’re executing arbitrary code; it just takes different efforts to find the holes in those security policies and apis.

Ie. it’s easy to say “if you write a good sandbox and covert your LLM request into code and run it in the sandbox you’re fine”.

…but you’re as fine as your sandbox is; if your goal is a sandbox with holes in it for privileged actions; guess what, the arbitrary code you run in it can call those privileged actions.

Certainly the data provenance is a cool idea, but I foresee see a lot of “but but but…” when people try to enforce the boundaries in practice.