Files
NeuroSploit/neurosploit-rs
Joas A SantosandClaude Opus 5 bc0ee6ca27 test(skills): drive the catalogue through several rounds, not one call
Every test written for the exploration work so far checks a single call to
route. That proves a round can be selected; it does not prove the loop
advances, which is the thing the loop exists for and the thing that was
broken three separate ways this week.

Add a walk that drives the catalogue on disk the way exploration_loop does:
start at round 1, route, record what ran, feed findings back, go again under
the same budget and gates. On a typical web recon it reaches three rounds —

  round 1  no capabilities yet, recon-driven: sqli_error, idor, jwt_manipulation
  round 2  the SQLi minted admin_access, credential, internal_host, so
           sqli_union and sqli_blind arrive by declared chain while
           cloud_iam_privesc and container_escape arrive by capability alone
  round 3  privilege_escalation chains to exposed_admin_panel and
           account_takeover_chain; ssrf and auth_bypass by capability

Three tests: that it runs more than one round and no round repeats the one
before it, that rounds finding nothing wind the loop down rather than paying
for skills on stale recon, and that max_rounds holds under a productive run.

The findings are synthetic, so this proves the machinery advances and stops
where told. It does not show the selections pay off against a real target —
that still needs an engagement with API keys and something to point at.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-12-04 13:09:47 -03:00
..