vulkro-sf org connected-apps
Checks the live org's Connected Apps for risky OAuth settings, using recent token use to tell live apps from unused ones.
vulkro-sf org connected-apps --target-org <alias>
vulkro-sf org connected-apps -o <alias> --check-compromised --format json
| Finding | Severity | Meaning |
|---|---|---|
SF-CONNECTED-APP-002 | High | The app has Full scope and an OAuth token used recently. |
SF-CONNECTED-APP-004 | Medium | A callback URL uses plain http://. |
SF-CONNECTED-APP-003 | Low | The app has stale OAuth tokens. |
Flags
| Flag | Meaning |
|---|---|
--target-org, -o <alias> | Org alias or username from sf org login. Required. |
--format <fmt> | Output format. Default table. |
--check-compromised | Also match each app's consumer key against a list of OAuth client IDs exposed in public breaches. A match reports SF-CONNECTED-APP-COMPROMISE-001 (High). Same as VULKRO_SF_INTEL_COMPROMISED=1. From vulkro-sf 0.28.0 the bundled list ships empty, so the command says the check did not run unless you point VULKRO_SF_INTEL_COMPROMISED_BUNDLE_OVERRIDE at your own vetted list. |
The list ships inside the binary; nothing is looked up online. Air-gapped teams can point VULKRO_SF_INTEL_COMPROMISED_BUNDLE_OVERRIDE at a vetted bundle file. A match is worth investigating, not proof that the app is compromised in your org.
See also: Connected Apps, org packages.
Command reference
Generated from vulkro-sf org connected-apps --help (vulkro-sf 0.33.0). Run scripts/gen-docs.sh in the product repository to refresh it; do not edit this section by hand.
Audit live Connected Apps for OAuth posture (SF-CONNECTED-APP-002/-003/-004).
vulkro-sf org connected-apps [OPTIONS] --target-org <TARGET_ORG>
Options
| Flag | Description |
|---|---|
-t, --target-org <TARGET_ORG> | |
-f, --format <FORMAT> | [default: table]. Default: table. |
--check-compromised | Match apps against the published indicator list by app name and indicator (and by consumer key when the list publishes client ids). Prints what was compared on stderr. Equivalent to setting VULKRO_SF_INTEL_COMPROMISED=1 |
-v, --verbose... | Bump stderr log verbosity. -v enables debug-level tracing for the vulkro + vulkro_sf targets; -vv enables trace. Honoured only when RUST_LOG is unset (an explicit RUST_LOG always wins) |
-q, --quiet | Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged. |
--no-color | Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb. |
-h, --help | Print help (see a summary with '-h') |
Full vulkro-sf org connected-apps --help
Audit live Connected Apps for OAuth posture (SF-CONNECTED-APP-002/-003/-004).
`--check-compromised` (or `VULKRO_SF_INTEL_COMPROMISED=1`) matches the installed Connected Apps and every app holding OAuth tokens against the bundled published-indicator list BY APP NAME: exact malicious app names (UNC6040 "My Ticket Portal", SF-OAUTH-IOC-002), Data Loader lookalikes (SF-OAUTH-IOC-003), and the vendors whose customers' tokens were stolen (Salesloft Drift, Gainsight, Klue), where a token created before the incident and still live is SF-OAUTH-IOC-004. Consumer keys are compared (SF-OAUTH-IOC-005) only when the list publishes OAuth client ids; this release's list publishes none, and the command says so. A match is a reason to investigate; no match is not a clearance.
Exit codes: 0 = no findings; 1 = findings reported; 2 = error.
Usage: vulkro-sf org connected-apps [OPTIONS] --target-org <TARGET_ORG>
Options:
-t, --target-org <TARGET_ORG>
-f, --format <FORMAT>
[default: table]
--check-compromised
Match apps against the published indicator list by app name and indicator (and by consumer key when the list publishes client ids). Prints what was compared on stderr. Equivalent to setting `VULKRO_SF_INTEL_COMPROMISED=1`
-v, --verbose...
Bump stderr log verbosity. `-v` enables debug-level tracing for the `vulkro` + `vulkro_sf` targets; `-vv` enables trace. Honoured only when `RUST_LOG` is unset (an explicit `RUST_LOG` always wins)
-q, --quiet
Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged
--no-color
Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb
-h, --help
Print help (see a summary with '-h')