GEPA Guards Cut GPT‑6 Attack
Tap title to read story
A recent study posted by tomj7 on HackerNews examined the effectiveness of GEPA guards during a post‑quantum security assessment.
The experiment ran GPT‑6 Luna on three real Python repositories, subjecting the model to five synthetic attacks and a normal audit across four distinct setups.
The results showed that enforcing rules in code significantly reduced the number of attacks that succeeded.
In the first setup, where no guards were used, the agent fell for 15 of 45 attacks.
In the second setup, where rules were pasted into the prompt, the agent fell for 10 of 44 attacks.
In the third setup, where the same rules were enforced in code, 8 of 45 attacks got through.
The fourth setup, where guards were written by hand, had a similar outcome.
The study emphasized that only attacks that actually caused real harm, such as installing an unauthorized package or writing a vulnerable configuration, were counted as successes.
The results showed that enforcing rules in code, as done in the third setup, was more effective than just telling the model to follow rules.
The study also noted that some attacks never worked against any version, which is why they were included in the results.
The use of GEPA, a prompt optimizer in DSPy, allowed the system to read traces where the agent failed and write a short list of rules in JSON.
At runtime, a small guard checked each tool call against those rules, blocking anything that broke a rule.
More context
Timeline
- 2026-12-05 — GEPA Guards Cut GPT‑6 Attack
Coverage notes
Peer coverage includes post quantum com on Post Quantum Quantum Safe Cyber Security Solutions plus nsa gov on Post Quantum Additional pack outlets list csrc nist gov on Post Quantum Cryptography CSRC and blog google on Security for the Quantum
Primary report
tomj7 — GEPA Guards Cut GPT‑6 Attack
Sources
- nist.gov
- bidenwhitehouse.archives.gov
- post-quantum.com
- nsa.gov
- csrc.nist.gov
- blog.google
- entrust.com
- postquantumsecurity.org
- redhat.com
- blogs.cisco.com
- akamai.com
- pqcc.org
- mdpi.com
- pages.nist.gov
- postquantum.com
- cpl.thalesgroup.com
- synopsys.com
- pq.ethereum.org
- letsencrypt.org
- devblogs.microsoft.com
- comptia.org
- blog.cloudflare.com
- developers.cloudflare.com
- paloaltonetworks.com
- ripple.com
- microsoft.com
- learn.microsoft.com
- cisco.com
- quantum.gov
- cloudflare.com
- fortinet.com
- enisa.europa.eu
- tsapps.nist.gov
- bitsight.com
- arstechnica.com
- blog.gigamon.com
- commvault.com
- arxiv.org
- aws.amazon.com
- cisa.gov
- tomj7
JQJO Editorial Desk · Human reviewed · AI assisted. Report a correction.




















































