veko doc
Self-Contained API Reference • Gradual Types • Capabilities • Wasm Sandbox

sec/dast_probes

lib/sec/dast_probes.vk

lib/sec/dast_probes.vk Pure-Veko Dynamic Application Security Testing (DAST) probe suite (VKDAST001-VKDAST012). Emits SARIF 2.1.0 findings with CWE, OWASP Top 10, NIST SP 800-53, and NIST SSDF tags. Zero top-level mutable heap globals; zero capabilities required.

signature
DastResponse = struct { status i64 = ..., headers map[str] = ..., body str = ..., target str = ..., method str = ..., is_https bool = ..., err_msg str = ... }

HTTP response envelope returned by the caller's DAST transport callback.

signature
DastProbeCtx = struct { target_base str = ..., is_https bool = ..., profile enum = ..., routes block[str] = ..., secret_values block[str] = ... }

Execution context passed to run-all-probes.

signature
get-header-ci = fn [hdrs map[str], name str] str

Case-insensitive HTTP header lookup; returns '' when absent.

signature
run-all-probes = fn [ctx DastProbeCtx, send_fn any] block[sarif/Finding]

Executes DAST probe suite (VKDAST001-VKDAST012) using send_fn(method, path_or_target, extra_headers, body_bytes).