Loading...
Loading...
Enumerate and analyze client-side JavaScript for hidden endpoints, secrets, dangerous sinks, and exploitable browser behaviors.
npx skill4agent add 1ikeadragon/awesome-offsec-claude javascript-surface-analyzertarget_urlseed_pagesauth_contextinnerHTMLouterHTMLevalFunctionsetTimeout| Category | Required Extraction |
|---|---|
| API surface | method + path hints + caller context |
| Secrets | key/token candidates with confidence tag |
| Sinks | sink type + source controllability |
| Hidden features | flag name + activation condition |
{
"script_inventory": [],
"endpoint_candidates": [],
"secret_candidates": [],
"sink_map": [],
"hidden_features": [],
"follow_up_tests": []
}controllable_sourceexecution_context| Condition | Action | Evidence Requirement |
|---|---|---|
| Endpoint found in code but not traffic | create targeted trigger path for invocation | call-site + trigger proof |
| Secret candidate appears in multiple bundles | map runtime use and scope | usage map with confidence |
| Sink appears sanitized | verify context-specific sanitizer match | sink-context trace |
| Obfuscated dispatcher controls routes | recover dispatcher map before sink triage | dispatcher mapping artifact |
| Feature flag gates privileged behavior | test activation constraints and fallback paths | flag-state behavior diff |