Outside-in cyber risk reduction for DevSecOps and AppSec teams
Pre-screen third-party domains in pull requests, catch claimable dangling CNAMEs, enforce DMARC and SPF in CI, and archive timestamped ISO 27001 and SOC 2 evidence.
middle.network closes the external blind spot left by SAST, SCA and cloud posture scanners. Security teams extract public domains locally in pull requests and check domain age, claimable dangling CNAMEs, certificate transparency logs, DMARC enforcement and DNSBL reputation automatically before code ships.
- Who it is for
- DevSecOps engineers, AppSec teams, security architects and CISOs reducing external attack-surface risk.
- What it covers
- PR endpoint pre-screening, subdomain takeover checks, CT log auditing, email spoofing enforcement and compliance evidence.
- Why it matters
- Attackers exploit forgotten subdomains, newly registered webhook domains and weak DMARC policies that internal scanners never see.
- How to integrate
- Parse changed config locally in CI (zero source code uploaded), query the middle.network API and gate merges on material risk.
See live subdomain takeover detection, Certificate Transparency logs and security header grading in seconds.
Pick the workspace built for your role at portal.middle.network
Same fast outside-in telemetry engine, tailored navigation, KPIs, connectors, and reports for every team.
Cyber risk reduction and operational resilience outcomes
Eliminate dangling CNAME takeovers
Combine Certificate Transparency logs with live DNS resolution and cloud takeover fingerprinting to flag claimable subdomains.
Prevent brand and email spoofing
Enforce SPF lookup budgets, DKIM keys, DMARC quarantine/reject and MTA-STS across active and parked domains.
Continuous outside-in audit evidence
Every finding includes plain-English impact, raw records and control mappings for ISO/IEC 27001:2022, SOC 2 and NIST CSF 2.0.
Why AppSec and DevSecOps teams trust our outside-in telemetry
External risk tools often rely on stale monthly scans or black-box risk scores you cannot explain to an engineer. middle.network runs live checks on demand, pairs an 18-family hostile-payload and malformed-HTTP scanner with cloud CNAME takeover fingerprinting, and signs every outbound web probe with Ed25519 Web Bot Auth so your WAF knows it is genuinely us.
Every web check carries RFC 9421 Web Bot Auth signatures and a 30-day verifiable visit receipt at /bot/.
Our HTTP parser inspects Log4Shell, shell/SQL/template injection, hidden IP iframes and request-smuggling shapes without executing a byte.
Findings map straight to ISO/IEC 27001:2022 Annex A, SOC 2 CC6/CC7 and NIST CSF 2.0 with exact timestamps and raw records.
Pre-screen newly introduced external domains in a pull request
Every snippet below runs immediately with a free self-serve API key - copy, paste and point at your own domains. Prefer visual workflows or AI assistants? Use our official n8n node or hosted MCP server.
// scripts/prescreen-pr-domains.mjs
// Extracts public hostnames from changed files locally; never uploads source code.
const API = 'https://api.middle.network/v1/tools';
const KEY = process.env.MN_API_KEY;
const domains = process.argv.slice(2); // e.g. webhook.partner.io api.vendor.com
const post = async (tool, input) => (await fetch(`${API}/${tool}`, {
method: 'POST',
headers: { Authorization: `Bearer ${KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({ input }),
})).json();
let failed = false;
for (const domain of domains) {
const [age, bl, subs] = await Promise.all([
post('domain-age', { domain }),
post('blacklist', { target: domain }),
post('subdomains', { domain }),
]);
const daysOld = age.data?.ageDays ?? null;
const risks = [];
if (daysOld !== null && daysOld < 30) risks.push(`newly registered (${daysOld}d old)`);
if (bl.status === 'fail') risks.push(`blocklisted: ${bl.summary.plain}`);
if (subs.status === 'fail') risks.push(`takeover risk: ${subs.summary.plain}`);
console.log(risks.length ? `RISK ${domain}: ${risks.join('; ')}` : `OK ${domain}: ${age.summary.plain}`);
if (risks.length) failed = true;
}
if (failed) process.exit(1);# Check a domain for dangling CNAMEs and subdomain takeover risk
curl -sS -X POST "https://api.middle.network/v1/tools/subdomains" \
-H "Authorization: Bearer $MN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"domain":"example.com"}}' | jq '{status, summary, findings}'# prescreen_vendor.py - check vendor domain age, ASN and blocklist status
import os, requests
API = "https://api.middle.network/v1/tools"
HEADERS = {"Authorization": f"Bearer {os.environ['MN_API_KEY']}"}
def run(tool, payload):
r = requests.post(f"{API}/{tool}", headers=HEADERS, json={"input": payload}, timeout=30)
r.raise_for_status()
return r.json()
domain = "example.com"
for tool, payload in [("domain-age", {"domain": domain}), ("dmarc", {"domain": domain}), ("blacklist", {"target": domain})]:
res = run(tool, payload)
print(f"[{tool}] {res['status'].upper()} - {res['summary']['plain']}")- Local runner extracts public domains from the PR diff.
- middle.network screens age, CNAME takeover and blocklist risk.
- High-risk hosts flag the PR and alert Slack or Teams.
How outside-in screening pairs with internal security controls
| Cyber risk area | Internal security tool | middle.network outside-in check |
|---|---|---|
| Third-party supply chain | SCA checks npm/PyPI package CVEs. | Screens external API, CDN and webhook domains for young age, expiry, unexpected ASN and DNSBL hits. |
| Cloud teardown hygiene | IaC state tracks active cloud resources. | Audits CT logs and live DNS for orphaned subdomains and claimable dangling CNAMEs. |
| Phishing & brand abuse | Email gateway filters inbound spam. | Verifies outbound SPF, DKIM, DMARC enforcement, MTA-STS and parked-domain lockdown. |
| Compliance & third-party risk | Questionnaires rely on self-attestation. | Produces independent timestamped evidence mapped to ISO 27001, SOC 2 and NIST CSF 2.0. |
Step-by-step guides and playbooks
All guidesQuestions
Pre-screen third-party domains in pull requests, catch claimable dangling CNAMEs, enforce DMARC and SPF in CI, and archive timestamped ISO 27001 and SOC 2 evidence.
Get a free API key