middle.network · Outside-in Use Case Brief DevSecOps & AppSec · https://middle.network/use-cases/pr-third-party-endpoint-prescreening/
DevSecOps & AppSec AppSec Gate · Supply Chain

Block risky newly registered or blocklisted external domains before code merges

Extract public hostnames locally in CI and screen domain age, ASN ownership, dangling CNAMEs and DNSBL reputation without uploading source code.

The problem

A pull request introduces a new third-party webhook, analytics script or vendor API domain that was registered four days ago or sits on a spam/malware blocklist.

Why internal tools miss it

SAST and SCA scan your source code and npm/PyPI packages, never the real-world reputation, age or takeover risk of external domains referenced in config files.

How middle.network solves it

Your CI runner extracts public hostnames locally (zero source code uploaded) and queries middle.network passive APIs to flag young, expiring or blocklisted endpoints before merge.

Hypothetical scenario Example target: webhook.pay-partner-demo.xyz

Typo-squatted webhook hostname caught inside a pull request before merge

A developer wiring a new payment webhook in FinCore Labs mistypes a vendor domain in .env.production, accidentally pointing live event payloads at a 5-day-old lookalike domain.

Without outside-in verification

Unit tests mock HTTP calls, SAST sees valid syntax, and production customer webhooks silently exfiltrate to an attacker-registered lookalike.

With middle.network
  1. Step 1
    Local CI Diff Extraction

    A 20-line script extracts only newly added public hostnames from the PR diff; secrets and private code never leave the runner.

  2. Step 2
    Screen Age, WHOIS, ASN & Blocklists

    middle.network immediately reports domain age = 5 days, privacy-shielded registrar and unexpected bulletproof ASN.

  3. Step 3
    Gate PR & Prevent Exfiltration

    The pull request fails automatically with a plain-English explanation; the developer catches the typo in two minutes.

Outside-in tool playbook

Run these exact live checks in order - free on the website with zero sign-up.

Domain and IP ownership
1. Check registration age & expiry

Domain age and expiry checker

Was this external domain registered days ago or about to expire?

Try live
Email delivery and reputation
2. Screen DNSBL reputation

Email blacklist check

Is the target domain or IP listed on active abuse blocklists?

Try live
Network and routing
3. Verify hosting network & ASN

BGP / ASN lookup

Does the endpoint live on the vendor expected cloud or an odd host?

Try live
Domain and IP ownership
4. Inspect registrar & locks

WHOIS lookup

Are registration status codes and dates consistent with an established vendor?

Try live

One run, two audiences: Plain English and Technical proof

Every check outputs executive-ready wording alongside raw technical verification so teams never waste time translating findings.

Plain English (PR Security Warning)Stakeholder-ready

This pull request adds an external domain registered only 5 days ago on an unexpected hosting network. Newly registered lookalike domains are a common supply-chain typo risk - confirm ownership with the vendor before merging.

Next step: Verify the exact official webhook hostname with the vendor and update .env.production.
Technical Detail (CI Security Output)Engineer view
RISK webhook.pay-partner-demo.xyz: domain-age=5d (<30d threshold)
whois: created 5 days ago, clientTransferProhibited absent
PR gate: exit 1 (source files stayed local in runner)
Scale from ad-hoc check to automation

Zero source-code upload: wire passive screening into any CI runner

Domain Age, WHOIS/RDAP, Blacklist, Subdomain Finder and ASN are all passive endpoints ready for free self-serve API keys today.

More DevSecOps use cases

Common questions

Extract public hostnames locally in CI and screen domain age, ASN ownership, dangling CNAMEs and DNSBL reputation without uploading source code.

Explore DevSecOps hub
Does PR endpoint pre-screening upload our source code to middle.network?
Never. Your own CI runner parses changed files locally and sends only public hostnames to our API. Private IPs, secrets and source code stay inside your pipeline.
What age threshold should teams flag for new third-party domains?
Most AppSec teams flag domains under 30 or 90 days old for manual review, while failing automatically on active DNSBL hits or claimable CNAMEs.
Can we run this on n8n or GitHub Actions?
Yes. Both a ready-to-paste Node.js/Python CI script and our 44-tool n8n node support this workflow out of the box.