mirror of
https://github.com/CyberSecurityUP/NeuroSploit.git
synced 2026-12-05 18:44:48 +01:00
feat(skills): add routing frontmatter so the exploration loop can run
No shipped agent had frontmatter. Not five, as a `grep '^---'` suggests — that matches horizontal rules in the body. Zero files begin with it. That made the exploration loop dead code. `route` scores a skill as 10*(trigger hits) + 0.5*priority + 25 per chain edge from a finding, and its no-metadata fallback is gated on `round == 0`. The loop starts at `round = 1`. So every skill scored 0.0, was dropped by the `score > 0.0` filter, `next_round` returned empty, and the loop hit `break` on its first iteration — every run, in all six modes. Add frontmatter to 91 core skills: 207 chain edges across injection, file access, SSRF and cloud, auth and access control, client-side, deserialisation, CMS, infra and LLM. Priority is >= 10 throughout, the floor at which a single trigger hit clears the score >= 15 gate that `next_round` applies past the first round. Chains encode the escalation paths the harness is meant to walk on its own: ssrf to cloud metadata to IAM privesc, sqli to postgres RCE, file_upload to command_injection, sourcemap_exposure to js analysis to api_key_exposure, jwt_manipulation to alg confusion to privilege_escalation. Four tests, three of them against the shipped catalogue on disk: that it routes at round 1, that a confirmed ssrf finding pulls cloud_metadata_exposure in by chain, that no chain edge names a skill that does not exist, and a regression pair pinning the round-1 behaviour that was broken. 439 skills still carry no frontmatter and reach only the round-0 sweep. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f8856e6fe4
commit
68c1f5d879
92 files changed
+711
No files matched your search
@@ -1,3 +1,9 @@
|
||||
---
|
||||
triggers: php
|
||||
chains: command_injection, privilege_escalation
|
||||
priority: 24
|
||||
max_rounds: 1
|
||||
---
|
||||
# PHP2Shell CVE-2026-109618/109619 Exploit Agent
|
||||
|
||||
CWE-416 (Use After Free) · CWE-119 (Buffer Overflow)
|
||||
|
||||
Reference in new issue
Block a user