Skip to main content

build_attack_chain

Function build_attack_chain 

Source
pub fn build_attack_chain(
    records: &[ScanRecord],
    injectable: &[InjectableEndpoint],
) -> Option<Vec<String>>
Expand description

Build a credible attack chain from evidence only. Returns None when no chain can be justified, so the report can state that explicitly instead of inventing one.

Supported chains:

  • Injectable endpoint flagged by the scanner.
  • Publicly known exploitable CVE (public exploit, KEV, or Metasploit module).