A standalone, unauthenticated surface mapper for Salesforce Experience Cloud sites.
A standalone, unauthenticated surface mapper for Salesforce Experience Cloud sites.
Point it at a community/site host and it classifies every reachable prefix (Aura / LWR / Visualforce / denied / dead), builds the guest-accessible object map, counts and samples what the guest user can actually read, pulls field descriptors, inventories files, walks Apex/Aura method surfaces, and raises findings - all read-only by default, with evidence for every claim it makes.
No login flow is ever performed. An optional --sid / --token lets you
reuse an existing authenticated session for read-only requests; the tool
never authenticates on your behalf and the only write path
(--set-debug-mode) is explicit, scoped, and off by default.
Use responsibly. This tool is for authorized security testing - engagements you have permission to run, bug bounty programs that permit this kind of enumeration, CTFs, and your own infrastructure. See Safety model and Legal / responsible use.
Experience Cloud sites routinely expose more to the guest user than
their owners realize - the data API behind a "login required" page often
still answers unauthenticated, and object permissions drift from what the
UI implies. sfdc-autoprobe automates the enumeration a careful tester
would do by hand, logs every request as evidence, and hands you findings to
triage instead of Aura actions to replay in Burp.
Requires Python 3.10+. Dependencies are rich and rich-argparse only -
stdlib for everything else (HTTP, TLS, proxying).
# install the console script directly from the repo
uv tool install git+https://github.com/adityatelange/sfdc-autoprobe
sfdc-autoprobe --seed https://site.com --discover --probe-denied
# or, from a local clone
git clone https://github.com/adityatelange/sfdc-autoprobe
cd sfdc-autoprobe
uv run sfdc-autoprobe --seed https://site.com --discover --probe-denied
Point it at a host, let it discover the rest, and probe login-gated prefixes whose backend may still answer:
sfdc-autoprobe --seed https://site.com --discover --probe-denied
That's the whole baseline. --probe-denied catches the most common
Experience Cloud misconfiguration - a gated login page in front of a
data API that still executes unauthenticated - and raises a High-severity
LOGIN_GATED_AURA finding when it does. Everything stays read-only.
There is no request budget by default; the run goes until it finishes or
you stop it (Ctrl-C keeps partial results). Add --budget N for a hard cap,
and --scope if discovery may reach hosts beyond the seed.
Common additions:
| Add | When |
|---|---|
--scope "h1,h2" | discovery may reach other in-scope hosts |
--budget 900 | you want a hard request cap |
--rate 5 | throttle to 5 req/s |
--proxy http://127.0.0.1:8080 | route through Burp |
--sid "$SID" --token "$AURA_TOKEN" | reuse an existing session (read-only) |
--insecure | the TLS chain doesn't validate |
--fast | cheaper pass (no oracle, fewer describes/objects, metadata-only files) |
--out run-service | name the output directory |
See Options for the full list.
With --discover, it first maps the target's surface - walking robots.txt
→ sitemap index → sitemap-view-N.xml → page hints → bootstrap routes to
find every prefix to probe. Then, for each one, a run gives you:
--types FILE adds
one);ContentDocument/ContentVersion, Attachment,
Document, with up to 5 bodies pulled (≤1 MB each, magic-byte classified);evidence.jsonl.The exact verdict codes, the GraphQL/getItems fallback mechanics, and the
per-layer details live in AGENTS.md.
Tune the depth with --fast (cheaper), --no-model / --no-fields /
--no-files / --no-oracle (skip a layer), --doc-titles N, and
--max-objects (cap how many objects are probed).
By default the tool samples, it does not exfiltrate. The caps:
--samples N changes the per-object row count, and --counts-only keeps
record and body data out entirely (metadata still read). --dump-all is the
deliberate opt-in that lifts the caps - every readable object, all rows - and
is off by default.
The full per-query breakdown (exactly what is requested and what is stored for each layer) is in AGENTS.md.
On most sites the tool walks the route table and pageLoader to pull each
page's component definitions automatically - no setup needed.
A few sites still refuse the generated definition ids. For those, a browser capture is the guaranteed fallback: capture once (browser → DevTools → Network → save HAR on the page load), then replay or persist it:
# one-off: replay the HAR
sfdc-autoprobe --seed https://host/prefix --insecure \
--defs-from capture.har
# or persist it for that site - later runs need no flags
sfdc-autoprobe --seed https://host/prefix --insecure \
--learn "host:/prefix:capture.har" --state ~/.local/state/sfdc-autoprobe/defs.json
A saved auraCmpDef bundle works the same way with --bundles capture.js.