Skip to content

Validation layer

8 min readRecon Atlas

A finding that fails a second look wastes your morning. Before a finding reaches you, the pipeline re-checks it: does the response still match, is the status sane, is the version really the vulnerable one. It saves the request, response and matching lines into one folder per finding and routes by severity. It never reports. A rematch is a reason to look, not proof.


Scanners produce false positives for boring reasons: a soft-404 page that contains the string a template looks for, a WAF challenge page, a load balancer that answers differently on the second request, a cached error. If every one of those reaches your phone, you will mute the phone. The validation layer removes the cheap-to-detect false positives so the ones you see are worth seeing.

It is a filter for your attention. It cannot prove a bug. Only you can, by hand, in the reporting guide’s confirm step.

Each check is cheap and catches a specific failure.

Check How Catches Noise
Response content rematch Re-run the same template; compare the fingerprint, which includes the extracted values Flaky matches, one-off error pages, caching artefacts Light active
Status code sanity Matched status must not be a WAF block (often 403, 406, 429 or 503 with a challenge page) WAF and rate-limit pages that contain matched strings Passive on stored data
Soft-404 check Request a random path on the same host; if it returns the same length and status as the “finding”, the finding is the error page Catch-all routes that return 200 for everything Light active, one request
Tech version check Compare the version in the response with the affected range of the CVE Product-name-only matches tagged as vulnerable Passive on stored data
Scope recheck Pass the matched-at URL through the scope filter Redirects that a template followed out of scope Passive
Terminal window
# Soft-404 check for one finding: compare the finding's length with a random path on the same host
u="https://dev.example.com/.env"; r="${u%/*}/$(head -c8 /dev/urandom | od -An -tx1 | tr -d ' \n')"; for x in "$u" "$r"; do curl -s -o /dev/null -w '%{http_code} %{size_download}\n' "$x"; done

If both lines print the same status and size, the “exposed file” is the site’s catch-all page. Drop it.

The worked pipeline re-runs each new finding’s template once, against the finding’s base URL, at a very low rate, and saves the output separately.

Terminal window
# Re-run one template against one base URL at 2 requests per second, saving JSON lines
nuclei -u https://dev.example.com -id exposed-env -rl 2 -jsonl -silent -o evidence/2d7bbe2f093b189d/verify.jsonl

Two details matter:

  • Base URL, not the matched URL. Nuclei templates add their own path to the target. Passing https://dev.example.com/.env as the target would make the template request /.env/.env. The worked pipeline strips the path first; its first draft did not, and the stubbed test caught it.
  • Request and response capture. Nuclei’s JSON lines output includes the raw request and response for each finding unless you pass -omit-raw (older versions used -irr to include them; check the README for your version). The pipeline extracts both into text files.
Re-run result Status written to meta.txt Meaning
Same fingerprint returned rematched The same template matched the same content twice, minutes apart
Different fingerprint unconfirmed Something changed: content, matcher, or it was flaky
No output unconfirmed Not reproducible right now: fixed, flaky, blocked, or rate-limited

A rematch rules out one-off flukes. It does not rule out a consistent false positive: a template that always matches a particular error page will rematch every time. It does not tell you whether the leaked value is real, current or sensitive, and it says nothing about impact. That is why the label is rematched, not confirmed. Confirmed is a word only you write, after the manual step below.

Every new finding gets a folder named by its fingerprint. The pipeline fills it; you add to it during confirmation; the report writing guide pulls the report’s evidence from it.

programs/example/evidence/2d7bbe2f093b189d/
finding.json the original Nuclei JSON line, plus the fingerprint
verify.jsonl the verification re-run output (empty if nothing matched)
request.txt the raw request, from the re-run if it rematched, otherwise the original
response.txt the raw response, truncated to 50 KB
matched.txt the extracted values, one per line
meta.txt status, severity, template, URL, run stamp
screenshot.png added by an optional screenshot stage (see Part 11 exercise)
manual.md written by you: what you checked by hand, and when
# evidence/2d7bbe2f093b189d/meta.txt, written by the worked pipeline
status=rematched
severity=critical
template=exposed-env
url=https://dev.example.com/.env
run=2026-11-13T021704Z

rematched means the verification re-run returned the same fingerprint. It does not mean the leaked value is real, current, or sensitive. response.txt stops at 50 KB. A token past that cut is not in the file.

Stage Input Output Failure mode Noise
Verify and collect new-findings.jsonl evidence/<fp>/, triage.tsv Re-run times out after 120 seconds: finding kept as unconfirmed, logged. Disk full: folder incomplete; the disk check in Part 9 prevents this Light active, one template per finding at 2 req/s
Terminal window
# Evidence readable only by you
chmod -R go-rwx ~/pipeline/programs/*/evidence

Severity decides how fast a finding reaches you, not whether it is real. The pipeline uses the template’s severity as a first guess and routes on it.

Template severity Route When you see it
Critical Immediate notification, plus an escalation channel if configured (Part 7) Within minutes
High Immediate notification Within minutes
Medium Daily digest Next morning
Low and Informational Weekly summary, or not collected at all Once a week

The worked pipeline only runs medium and above, so low and informational results never appear unless you widen the tags in a weekly deep pass.

Every platform holds the reporter responsible for the report. An automated submission can turn out to be a false positive, a duplicate of your own earlier report, out of scope, or a misjudged severity. Any of those lands on your reputation, and some programs ban automated submissions outright. There is no time pressure that justifies it: the minutes saved are tiny next to the cost of one bad report.

The minimum manual confirmation step for each severity:

Severity Minimum manual step before a report
Critical Reproduce in a clean browser or with curl from the evidence request. Confirm the data or access is real and current, using only what proves it. Check scope and policy for the asset and technique. Check for duplicates (see duplicate checking). Then report the same day
High All of the above, and confirm impact with your own accounts where possible, not real users’ data
Medium Reproduce once by hand. Check that the program pays or accepts this class; many mark exposure-only mediums informative. Decide whether a chain raises it
Low and informational Read the policy’s exclusions first. Most programs exclude these. Report only if the policy invites them or you can chain them into something higher
  1. Open evidence/<fp>/meta.txt and request.txt.

  2. Reproduce with curl or in your proxy, from a clean session.

  3. Write what you saw, the date and the time into evidence/<fp>/manual.md. This is your record if a program asks later.

  4. Only then move the folder to reports/ and start writing.

A host running a product with a CVE published in the last 90 days is worth a look before the crowd patches or reports it. The pipeline tags such hosts; it never treats the tag as a finding.

The flow: build a list of products you see on your programs, ask a CVE source which of them had CVEs published recently, and write the matching product names to state/cve-tech.txt. The scoring stage adds w_cve to any host whose httpx tech field names one of them.

ProjectDiscovery’s CVE search tool is now vulnx. The repository that used to hold cvemap points to it. vulnx needs a free ProjectDiscovery Cloud key for more than a handful of queries. The README says unauthenticated use is limited to about 10 requests per minute.

Terminal window
# Install vulnx and authenticate with your ProjectDiscovery Cloud key
go install github.com/projectdiscovery/vulnx/v2/cmd/vulnx@latest && vulnx auth --api-key "$PDCP_API_KEY"
Terminal window
# Products seen across all programs, from the tech field of the latest httpx runs (lowercase, no version)
jq -r '(.tech // [])[]' ~/pipeline/programs/*/current/httpx.json | sed 's/:.*//' | tr '[:upper:]' '[:lower:]' | sort -u > ~/pipeline/etc/products.txt
Terminal window
# For each product, ask vulnx for CVEs younger than 90 days; keep products with at least one hit
while read -r p; do n=$(vulnx search --product "$p" --vuln-age "<90" --json 2>/dev/null | jq -s 'length'); [ "${n:-0}" -gt 0 ] && echo "$p"; done < ~/pipeline/etc/products.txt > ~/pipeline/etc/cve-tech.txt

The --product, --vuln-age and --json flags appear in the vulnx README as of this writing, but the JSON output shape is not documented there in detail. Run one query by hand and look at it before trusting the jq -s 'length' count. Product names in vulnx may not match httpx’s tech names exactly (apache versus apache http server); keep a small mapping file if they differ. Copy the result into each program’s state/cve-tech.txt, or symlink it.

If you prefer a public source with no tool, the NVD CVE API 2.0 accepts a keyword and a publication date range. The range can be at most 120 days, and both start and end dates are required. Without an API key the rate limit is low, roughly 5 requests per 30 seconds; with a free key it is higher. Check the NVD developer pages for current limits.

Terminal window
# CVEs published in the last 90 days that mention jenkins (UTC dates, NVD API 2.0)
curl -s "https://services.nvd.nist.gov/rest/json/cves/2.0?keywordSearch=jenkins&pubStartDate=$(date -u -d '90 days ago' +%Y-%m-%dT00:00:00.000Z)&pubEndDate=$(date -u +%Y-%m-%dT23:59:59.999Z)" | jq -r '.vulnerabilities[].cve.id'

Keyword search is crude: it matches descriptions, so “jenkins” also returns plugin CVEs that need a plugin you may not see. That is fine for a score signal and useless as evidence. OSV (osv.dev) is strong for open-source packages by ecosystem and version, and weaker for server products seen from the outside. Use it when you know a package and version, for example from a JavaScript bundle.

What you have Label What it means
Product name matches a fresh CVE fresh-cve in the score A reason to look first. Most such hosts are patched or not affected
Exact version in the affected range Still unconfirmed Banners lie, backports exist, distributions patch without changing the version
Safe proof the vulnerable behaviour exists Confirmed by you Only now a reportable finding, and only within what the policy allows

Programs usually reject “you run version X, which has CVE Y” without proof of exploitability. The program strategy guide covers version-driven hunting as a strategy: how widely a version is deployed, and how to prove a match safely.

Stage Input Output Failure mode Noise
CVE refresh (weekly) etc/products.txt etc/cve-tech.txt API key missing or rate limited: the file keeps last week’s contents; log the age of the file and alert if it is older than 14 days Passive, queries a third-party API only

Next, decide which findings interrupt you and which wait for a digest in Notification and delivery.

Connections11 backlinks · 6 outgoingFull graph →
Open local graph around this page
Open full graph →
Click a node to open · Drag to reposition · Scroll to zoom

Recon AtlasFor authorized testing only. Your scope is the map edge.