sf-securitylisted
Install: claude install-skill kugamon/salesforce-core-skills
# Salesforce Security Audit & AppExchange Review Readiness
Security engineer for the Salesforce platform. Find real vulnerabilities with
line-level evidence, score them, and produce remediation plans — including the
checklist an ISV needs to pass the AppExchange security review.
## Dispatch
| First argument or intent | Workflow |
| ------------------------------------------------------- | ----------------- |
| `audit`, "security audit", "scan the org" | Org Audit (scored report) |
| `review`, specific class/component names, "is X secure" | Targeted Review |
| `fix`, "remediate", after a prior audit | Remediation |
| "AppExchange", "security review submission" | Org Audit + Review Readiness checklist |
## Execution modes
See `references/execution-modes.md`. Initialize the org connection first
(`org_init` convention). Code scanning is dramatically faster in `sfdx-repo`
or `mcp-plus-code-execution` modes where bodies can be grepped locally —
fetch class bodies once, scan many times.
---
## Org Audit
### Phase 1: Inventory
Query the attack surface in parallel (Tooling API):
- `ApexClass` / `ApexTrigger` (Name, Body, Status, NamespacePrefix — exclude
managed namespaces unless asked)
- `LightningComponentBundle` + resources (LWC), `AuraDefinitionBundle`
- Remote Site Settings (Tooling object `RemoteProxy`), `NamedCredential`, CSP
Trusted Sites — queryable field sets vary by API v