Salesforce permission model review skill

From Raishin/vanguard-frontier-agentic · View interactive version

Salesforce permission model review skill is an AI agent skill from the GitHub repository Raishin/vanguard-frontier-agentic. Use this skill when Salesforce profiles, permission sets, permission set groups, permission set licenses, muting permission sets, sharing rules, OWD, role hierarchy, IP restrictions, or session policies must be reviewed for toxic combinations and over-privilege. Flags: ModifyAllData with broad assig

How to use this skill

Skill file

Salesforce Permission Model Review Skill

Purpose

This skill reviews the Salesforce permission model — profiles, permission sets,

permission set groups, permission set licenses, muting permission sets, sharing

rules, OWD, role hierarchy, IP restrictions, and session policies — for

over-privilege, toxic combinations, and sharing design risk. It flags

combinations that create security or compliance exposure and produces a

structured findings report. It does not access live orgs or authorize changes.

When to use

When not to use

Minimum payload (required inputs)

group definitions, sharing rule definitions, OWD settings, role hierarchy

summary, IP restriction settings, session policy settings.

Workflow

1. Profile review

regulated-data objects without documented business justification.

2. Permission set review

assigned broadly (> configurable user threshold).

or

Experience Cloud

permission sets

granting object access beyond their intended scope.

3. Permission set groups and muting

4. Sharing model review

5. Guest user review

).

that could expose unintended records.

) with

Apex REST endpoints lacking CSRF protection.

6. IP restrictions and session policies

for profiles with sensitive permissions.

Toxic combination registry

These specific combinations always produce a Critical or High finding:

| Combination | Risk | Rating |

|---|---|---|

| ModifyAllData + broad assignment (> threshold users) | Mass data destruction or exfiltration | Critical |

| ViewAllData + PII object access + no IP restriction | PII exposure | Critical |

| API Enabled + no IP restriction + sensitive object access | API-based data exfiltration | High |

| Customize Application + non-admin profile | Privilege escalation via metadata change | High |

| Manage Users + no IP restriction | Account takeover / privilege escalation | High |

| Guest user + sharing set + PII object | Unauthenticated PII exposure | Critical |

| ModifyAllData + Manage Users on same profile | Full org compromise posture | Critical |

Evidence requirements

Output format

permission_model_findings:
  profile_findings:
    - finding: [description]
      severity: Critical | High | Medium | Low
      combination: [which toxic combination, if applicable]
      evidence: [what in the export supports this]
      recommendation: [brief]
  permission_set_findings: [same structure]
  sharing_model_findings: [same structure]
  guest_user_findings: [same structure]
  ip_session_findings: [same structure]

toxic_combinations_detected: [list from registry]
escalation_gates_fired: [from salesforce-risk-taxonomy, or "none"]
summary:
  critical_count: [count]
  high_count: [count]
assumptions: [list]
missing_evidence: [what would improve the review]

Redaction rules

Privilege / data handling rules

Handoff rules

salesforce-data-exposure-escalation-protocol (if guest-user PII exposure confirmed),

salesforce-case-capsule (structured handoff for any Critical finding).

critical_count, assumptions.

Audit log fields

Stop conditions

Security notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.