js_recon
Extract API endpoints, URLs, source maps, and possible secrets from a page’s JavaScript to map exposed assets and support authorized reconnaissance.
Instructions
Extract API endpoints, URLs, source maps and potential secrets from a page's JavaScript.
Fetches the page, its script bundles (capped; tracker hosts skipped) and inline scripts, then applies endpoint and secret-pattern regexes. Secret values are masked.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "js_recon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| max_bytes | No | ||
| max_scripts | No |