Skip to content

Staging token scoring decisions

6 min readRecon Atlas

TL;DR. Decide whether a host flagged by the latest token keeps its slot in queue.tsv or enters suppression. The common mistake drops the host from testing entirely when a keyword matches by accident. The decision hangs on whether queue.tsv reflects attack surface rank or asset exclusion.


This deepens the scoring engine principles covered in Scoring and triage engines.

Passive

Your scoring script flags latest.example.com as staging because kw_staging matched the token latest. The question is whether that host stays in queue.tsv, and what you write down if you suppress it.

The tempting wrong answer removes the host from queue.tsv immediately. That reaction confuses triage priority with asset discovery. A host with an unearned keyword match remains an active, in-scope web application. Stripping it from the queue blinds you to valid attack surface. Another tempting wrong answer leaves the inflated score in place. That choice wastes limited active scanning slots on hardened production documentation while true pre-production targets wait.

You have runs/2026-11-14/queue.tsv, httpx.json, and etc/score.conf in hand. The scoring stage operates entirely on local files at 0 packets per second.

You follow one of two branches based on asset classification:

Branch 1: The host stays in queue.tsv. Choose this branch when latest.example.com resolves to target infrastructure in 203.0.113.0/24 under ASN 64496 and represents a production environment. The token latest marks a release tag, production API pointer, or documentation branch. Keep the host in queue.tsv. Update score.conf to enforce word boundaries around keywords. Recompute the score so the host loses the staging bonus weight. The host drops to its baseline score and waits for standard scanning.

Branch 2: You suppress the host. Choose this branch when latest.example.com points to an external vendor documentation service or an accepted risk deployment that program policy bars from testing. The host stays in queue.tsv for inventory records. You append a suppression line to programs/example/state/suppress.txt. Downstream deduplication reads that file and drops any vulnerability findings from the host.

The trade-offs balance coverage against resource limits. Correcting the keyword pattern preserves triage ranking without losing inventory coverage. Suppressing an entire host in suppress.txt silences recurring alerts. However, broad suppression rules risk hiding future takeover risks if external DNS changes.

The scoring decision relies on five fields produced across your passive and probing stages.

The field url originates from httpx.json. The probing tool emits one JSON line per responsive web server discovered from resolved.txt.

The field title comes from the HTML title tag extracted by httpx during probing.

The field kw_staging comes from ~/pipeline/etc/score.conf. The config stores regular expressions matched against hostnames and page titles by awk.

The field why is generated in memory by awk during stage 4 scoring. When a regex matches, awk appends the signal label and its trailing comma to the string.

The field score is computed by adding configured integer weights whenever an extraction rule fires.

The input data has clear boundaries. httpx.json cannot contain out-of-scope hostnames because stage 0 enforces scope/in-scope.txt and scope/out-of-scope.txt before probing begins. httpx.json cannot contain offline hosts. The file score.conf cannot contain negative staging weights. The resulting file queue.tsv cannot invent URLs absent from httpx.json.

# SAMPLE, invented
50 https://latest.example.com 200 Example Release Portal staging,new,
65 https://staging-api.example.com:8080 401 Internal Auth Service staging,port8080,new,
30 https://docs-latest.example.com 200 Vendor Docs Engine staging,

Record 1 asserts that https://latest.example.com is a live service returning HTTP status 200, titled “Example Release Portal”. It asserts the host was first seen in the current run and triggered kw_staging and w_new. It does not assert that the application runs pre-production code or contains test accounts. The next command tests whether the token latest matches kw_staging when regex boundaries are applied:

Terminal window
# Test whether kw_staging matches latest without word boundaries
awk 'BEGIN { kw="(^|[^a-z])(dev|stag|staging|uat|test|qa|preprod|sandbox)([^a-z]|$)"; host="latest.example.com"; if (host ~ kw) print "match"; else print "clean" }'

Record 2 asserts that https://staging-api.example.com:8080 runs on port 8080, returns HTTP 401, appeared for the first time, and matches kw_staging on the label staging. It does not assert that default credentials work. The next command passes this host to the active scanning stage at the top of the queue:

Terminal window
# Extract high scoring hosts for active nuclei scanning
awk -F'\t' '$1 >= 50 { print $2 }' runs/2026-11-14/queue.tsv > current/priority-targets.txt

Record 3 asserts that https://docs-latest.example.com returned HTTP status 200 and gained 30 points from kw_staging. It does not assert that example.com controls the underlying web server. DNS resolution shows a CNAME alias pointing to an external third-party software provider. Drop reason: vendor-hosted documentation excluded by program policy. You drop the host from active testing by appending it to the suppression file:

Terminal window
# Suppress findings from the external vendor documentation host
echo "host:docs-latest.example.com # 2026-11-14 vendor-hosted docs, false staging match on token latest" >> programs/example/state/suppress.txt

A convincing dud occurs when latest.example.com displays the page title “Example Management Portal (latest)”.

The triage script calculates a score of 55 points: 30 points for kw_staging and 25 points for kw_panel. An analyst assumes this is an unhardened administrative dashboard and schedules deep vulnerability scans.

The check that kills the finding examines the server header and response body:

Terminal window
# Inspect headers and title to verify the deployment environment
curl -s -I https://latest.example.com | grep -iE 'server|x-served-by|location'

The response reveals a public static site hosted on 203.0.113.10 under ASN 64496. The portal title refers to read-only changelog documentation for the latest public software version. The administrative features do not exist on this endpoint. The word latest is a documentation release tag.

When recording notes on this outcome, write: “Host latest.example.com is a public static changelog; the token latest reflects documentation versioning and does not represent an unhardened staging environment.”

This step cannot inspect server behavior, request parameters, or application logic.

The scoring engine processes only static strings extracted by httpx and regular expressions defined in score.conf. It cannot distinguish an authentication bypass on an actual staging build from a public static documentation site using the same hostname token.

The check that catches this gap is dynamic technology and header profiling in the active probing stage:

Terminal window
# Profile the target for live application technologies and authentication headers
httpx -u https://latest.example.com -title -tech-detect -status-code -silent

This remains a separate step because scoring evaluates thousands of discovered hosts on local disk at 0 packets per second. Sending HTTP requests with deep parameter checks across the entire domain inventory would flood network gateways and violate authorized scan rate limits.

Stop testing immediately when triage reveals that a host flagged with latest is an ordinary production endpoint or an external documentation mirror.

Follow these operational thresholds:

Spend no more than 3 minutes verifying the true nature of a flagged hostname. Check the CNAME record, inspect the TLS certificate subject, and verify the root HTTP title.

If the host represents valid production infrastructure, keep it in queue.tsv. Update etc/score.conf to tighten kw_staging with word boundary anchors. This prevents false score inflation on future automated runs.

If the host points to an external service excluded by policy, add host:<fqdn> to programs/example/state/suppress.txt with a timestamp and rationale. Do not delete the host from raw enumeration logs.

The pipeline must fail closed. If etc/score.conf is missing, unreadable, or contains syntax errors in kw_staging, the script terminates with exit code 3. It halts execution before launching active scanners.

The score stage writes its output to runs/2026-11-14/queue.tsv.

The file contains five tab-separated columns: score, url, status_code, title, and why.

The next pipeline stage reads queue.tsv and asks one question: “Which hosts score above the priority threshold to receive deep vulnerability scanning tonight?”

The output hands off directly to the scanning and validation stages detailed in Validation and evidence.

Where Claim Why it is uncertain
etc/score.conf Hostnames containing the token latest represent non-production deployments. Software teams frequently use latest to designate current stable production documentation and build releases.
state/suppress.txt Suppressing a host by name removes noise without reducing security coverage. External DNS records may change over time, pointing an ignored hostname back to sensitive internal infrastructure.
queue.tsv Lowering a host score prevents active vulnerability scanners from touching it. Small target inventories allow even low-scoring hosts to fall within the top target cutoff.
Connections0 backlinks · 2 outgoingFull graph →
Open local graph around this page
Open full graph →
Click a node to open · Drag to reposition · Scroll to zoom

Linked from here

No other pages link here yet.

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