Modern and emerging attack surface
Attack surface keeps growing. In 2026 the new additions are standardised metadata files, AI features, and streaming endpoints. Recon finds them the same way it finds anything else: known paths and JS references. The novelty is in what they expose.
Mine the /.well-known/ directory
Section titled “Mine the /.well-known/ directory”The /.well-known/ path is a standard home for metadata. Each file is a lead.
# Sweep the common well-known files across live hostshttpx -l http/live.txt -path '/.well-known/security.txt,/.well-known/openid-configuration,/.well-known/assetlinks.json,/.well-known/apple-app-site-association,/.well-known/ai-plugin.json' -mc 200 -silent -json | jq -r '[.url,.path]|@tsv'| File | What it gives you |
|---|---|
security.txt |
The official reporting channel. Read it before you report |
openid-configuration |
Every OAuth and OIDC endpoint, for the tests in part 2 |
assetlinks.json, apple-app-site-association |
Linked apps and deep-link domains, feeding mobile recon |
ai-plugin.json |
An AI plugin manifest naming API endpoints and an auth scheme |
change-password |
A well-known redirect that sometimes leaks internal URLs |
A 200 is normal for these paths. The lead is a host, an endpoint, or a scheme inside the file that you did not already have. A security.txt that names a staging host is a host to check against scope before you request it.
AI endpoints and MCP servers
Section titled “AI endpoints and MCP servers”2026 apps ship chat and agent features, and those features call tools. Look for /chat, /ai, /assistant, /copilot, /v1/chat/completions-shaped proxies, llms.txt, and Model Context Protocol servers (/mcp, /sse with a tool list).
- Exposed model proxies. An endpoint that forwards to an LLM provider using the site’s own API key. If you can call it freely, you are spending the company’s tokens, and the proxy may let you set the system prompt or model.
- MCP server exposure. An MCP endpoint lists tools the agent can run. If it is reachable without auth, those tools (file reads, database queries, HTTP fetches) may be callable directly. That is a serious finding.
- llms.txt. A guide file for AI crawlers. Harmless itself, but it sometimes names internal or beta paths.
# Look for an AI tool list or model proxy on a hostcurl -s https://example.com/mcp -H 'Accept: application/json' | jq '.tools // .capabilities // .' 2>/dev/null | headServer-sent events and streaming dashboards
Section titled “Server-sent events and streaming dashboards”Admin and monitoring dashboards increasingly push data over SSE (text/event-stream) or WebSockets instead of polling. These streams are easy to miss and sometimes guard less carefully than the REST endpoints beside them. Find new EventSource( in the JS, then open the stream with a low-privilege or no session and see what events arrive.
# Open an SSE stream and watch the events (does it require auth?)curl -s -N https://example.com/api/events -H 'Accept: text/event-stream' | head -20What these responses prove
Section titled “What these responses prove”https://auth.example.com/.well-known/openid-configuration
{"tools": [{"name": "fetch_user_document", "description": "Retrieve document by ID"}]}
data: {"type": "order_placed", "order_id": 49201, "customer_email": "user@example.com"}OpenID configuration
Section titled “OpenID configuration”https://auth.example.com/.well-known/openid-configuration returned 200. The host is publishing the public list of its OAuth endpoints, which the spec tells it to do. Do not report the file. Copy authorization_endpoint and token_endpoint into the part 2 tests. The bug, if there is one, is what those endpoints do.
MCP tool list
Section titled “MCP tool list”GET https://api.example.com/mcp returned a tool named fetch_user_document. You have a name and a description. You do not have a document, and you do not know if the call checks who you are. One call, with an id from your own test data:
curl -s -X POST "https://api.example.com/mcp" \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "tools/call", "params": {"name": "fetch_user_document", "arguments": {"doc_id": "test-doc-1"}}, "id": 1}'A document body and no session is the finding. A 401, or an error and no document, means the tool list was only a catalog.
SSE event
Section titled “SSE event”The stream sent order_placed for order 49201, with an email. If that connection used your session and the order is yours, the stream is working. Open it with no cookie, then with the other test account. Another customer’s order on either of those is the bug. Your own order on your own session is not.
When an AI feature expands scope
Section titled “When an AI feature expands scope”A program that launches an AI feature in 2026 just grew its attack surface. That is a recon signal, not only a novel bug class. Treat a chat box, an “ask AI” button or an agent the way you would treat a new subdomain: map what it can reach.
Prompt injection becomes relevant when the AI feature acts on untrusted input and then does something. It may read your data, call a tool, render markdown that can carry links or images, or summarise a page an attacker controls. The recon question is “what can this feature touch?”. If the answer includes other users’ data, internal tools, or outbound requests, the prompt-injection surface is worth a careful, in-scope test. Keep proofs benign: show the model followed injected instructions to reveal a system prompt or make a harmless tool call, not to exfiltrate real data.
Next, feed what you learned back into recon in delta recon.
Open local graph around this page
Linked from here
Links out to
Recon AtlasFor authorized testing only. Your scope is the map edge.