Since August, @Paaastha and I have made $409k in bug bounties on @Hacker0x01
With AI agents doing most of the work against some of the most hardened attack surfaces in the industry.
So far we have used Opus 4.8, GPT-5.6, Kimi K3, GLM 5.3 and DeepSeek 4.1
My experience is most offensive security harness fails at scale when the target is not source code.
However there are Five things we learned building it that worked for me 🧵
[I asked agent to summarise the setup what I call LoupeFactory]
Jenish Sojitra
@_jensec
2/ An agent may only learn from evidence, never from its own opinion.
After each stretch of work, a fresh agent writes what was learned as single lines: how the target works, setups that work, what was tried, proven primitives.
A line is admitted only if it points to a saved run with a working control.
And every line has a death condition: a fact dies when a run contradicts it, a setup recipe dies when its control fails.
Memory that can't expire turns into hallucination with a filing system.
After each stretch of work, a fresh agent writes what was learned as single lines: how the target works, setups that work, what was tried, proven primitives.
A line is admitted only if it points to a saved run with a working control.
And every line has a death condition: a fact dies when a run contradicts it, a setup recipe dies when its control fails.
Memory that can't expire turns into hallucination with a filing system.
2:24 PM UTC · Dec 2, 2026 · 15.8K Views
109561
Jenish Sojitra
@_jensec
3/ The factory debugs itself after every run.
We count every command the agents ran: at the target, in analysis, or on paperwork.
Our first long run: 25,290 steps, and only 17% touched the target.
Each fix goes into the factory for every program, not into one prompt.
We also plant faults in the factory's own code, 898 of them so far, to prove its tests would catch a regression.
We count every command the agents ran: at the target, in analysis, or on paperwork.
Our first long run: 25,290 steps, and only 17% touched the target.
Each fix goes into the factory for every program, not into one prompt.
We also plant faults in the factory's own code, 898 of them so far, to prove its tests would catch a regression.
2:24 PM UTC · Dec 2, 2026 · 12.1K Views
104625
Jenish Sojitra
@_jensec
4/ The cost of an agent is steps × context, not output.
In one hunt, 6,477 steps re-read 1.3 billion tokens.
About 83% of the bill was the model re-reading its own memory.
So we engineer steps: a wait costs one step, a page is never longer than the harness shows whole, a look at a running command returns only what's new.
Token efficiency is an architecture problem.
In one hunt, 6,477 steps re-read 1.3 billion tokens.
About 83% of the bill was the model re-reading its own memory.
So we engineer steps: a wait costs one step, a page is never longer than the harness shows whole, a look at a running command returns only what's new.
Token efficiency is an architecture problem.
2:24 PM UTC · Dec 2, 2026 · 10.9K Views
204328
Jenish Sojitra
@_jensec
5/ A role is a page, and pages contaminate.
We gave five reviewer agents the report writer's instructions.
All five rewrote the report instead of reviewing it.
We gave five others a page of their own. None did.
Now every report is read cold by two agents that share nothing with the writer: one as the triager, one as the team that owns the component. A third replays the exploit from a second account.
We gave five reviewer agents the report writer's instructions.
All five rewrote the report instead of reviewing it.
We gave five others a page of their own. None did.
Now every report is read cold by two agents that share nothing with the writer: one as the triager, one as the team that owns the component. A third replays the exploit from a second account.
2:24 PM UTC · Dec 2, 2026 · 9.8K Views
102817
Jenish Sojitra
@_jensec
6/ Code does what needs no judgment. The model does everything that does.
Scope, evidence, pausing, counting: plain code. An agent cannot talk its way past any of it.
Where to look, what an odd result means, when to climb: the model, with no code guessing for it.
Most agent frameworks get this boundary backwards.
Scope, evidence, pausing, counting: plain code. An agent cannot talk its way past any of it.
Where to look, what an odd result means, when to climb: the model, with no code guessing for it.
Most agent frameworks get this boundary backwards.
2:24 PM UTC · Dec 2, 2026 · 9.3K Views
112814
Jenish Sojitra
@_jensec
7/ We don't write better prompts.
We run a factory: evidence-gated memory, a cost model, cold readers, and a system that measures itself after every run.
Same models as everyone. Different results.
We run a factory: evidence-gated memory, a cost model, cold readers, and a system that measures itself after every run.
Same models as everyone. Different results.
2:24 PM UTC · Dec 2, 2026 · 8.5K Views
205037