compliance-dast/src/tools/dns_checker.rs and dmarc_checker.rs run dig. Neither the current agent image nor the #307 image has it (bind9-dnsutils was never installed), so both checks fail without saying so whenever DAST runs.
Fix: use DNS lookups inside the process (e.g. hickory-resolver, also for DNSSEC and TXT/DMARC) instead of shelling out, so neither the agent image nor a Werkbank runner needs the tool. Report a failed lookup as a stage error, not as "no findings".
DAST is off in production (source_only), so this belongs with the R1 DAST work.
Part of #309.
`compliance-dast/src/tools/dns_checker.rs` and `dmarc_checker.rs` run `dig`. Neither the current agent image nor the #307 image has it (bind9-dnsutils was never installed), so both checks fail without saying so whenever DAST runs.
**Fix:** use DNS lookups inside the process (e.g. `hickory-resolver`, also for DNSSEC and TXT/DMARC) instead of shelling out, so neither the agent image nor a Werkbank runner needs the tool. Report a failed lookup as a stage error, not as "no findings".
DAST is off in production (`source_only`), so this belongs with the R1 DAST work.
sharang
added this to the R1 · Dynamic & OT depth milestone 2026-09-21 17:08:45 +00:00
sharang
added the bug label 2026-09-21 17:08:45 +00:00
From #998 (closed): every DAST scan now runs the fixed header, CSP, cookie and TLS checks (compliance_dast::checks::run_checks, #1009). The DNS and DMARC checks (tools/dns_checker.rs, tools/dmarc_checker.rs) are left out until this issue lands. Once it does, they can be added to run_checks.
From #998 (closed): every DAST scan now runs the fixed header, CSP, cookie and TLS checks (`compliance_dast::checks::run_checks`, #1009). The DNS and DMARC checks (`tools/dns_checker.rs`, `tools/dmarc_checker.rs`) are left out until this issue lands. Once it does, they can be added to `run_checks`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #309.
compliance-dast/src/tools/dns_checker.rsanddmarc_checker.rsrundig. Neither the current agent image nor the #307 image has it (bind9-dnsutils was never installed), so both checks fail without saying so whenever DAST runs.Fix: use DNS lookups inside the process (e.g.
hickory-resolver, also for DNSSEC and TXT/DMARC) instead of shelling out, so neither the agent image nor a Werkbank runner needs the tool. Report a failed lookup as a stage error, not as "no findings".DAST is off in production (
source_only), so this belongs with the R1 DAST work.Part of the DAST dogfooding Phase 1, together with #999, #1000, #997 and #998.
From #998 (closed): every DAST scan now runs the fixed header, CSP, cookie and TLS checks (
compliance_dast::checks::run_checks, #1009). The DNS and DMARC checks (tools/dns_checker.rs,tools/dmarc_checker.rs) are left out until this issue lands. Once it does, they can be added torun_checks.🤖 Generated with Claude Code
https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9