sf-2gp-security-review

Audit Salesforce 2GP package contents across 15 security categories and output a markdown report.

13|2|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/jiten-singh-shahi/salesforce-claude-code --skill sf-2gp-security-review
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sf-2gp-security-review
Source: https://github.com/jiten-singh-shahi/salesforce-claude-code/tree/main/.cursor/skills/sf-2gp-security-review
Command: npx skills add https://github.com/jiten-singh-shahi/salesforce-claude-code --skill sf-2gp-security-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides an automated, end-to-end security review for Salesforce 2GP managed packages, delivering a pass/fail prediction and remediation guidance to simplify AppExchange submissions.

Core Features & Use Cases

  • Inventory discovery of package contents (Apex, LWC, triggers, objects, permissions, and metadata)
  • Security audit scoring across 15 categories with PASS/WARN/FAIL outcomes
  • Output a structured Security Review Report and remediation plan suitable for submission
  • Applicable to AppExchange readiness checks and license qualification processes

Quick Start

Invoke the security review on a Salesforce 2GP package to generate a remediation-focused report.

Frequently Asked Questions about sf-2gp-security-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate a security review for a Salesforce 2GP package before AppExchange submission?▼

Automated security review for Salesforce 2GP packages audits Apex, LWC, objects, and permissions across 15 categories. It scores PASS, WARN, or FAIL outcomes and outputs a markdown report to docs/security/security-review-report.md to prepare for AppExchange submission.

What does a Salesforce 2GP security audit cover for AppExchange readiness?▼

A Salesforce 2GP security audit covers inventory discovery of package contents including Apex, LWC, triggers, objects, and permissions. It evaluates security readiness across 15 distinct categories and generates a structured report with remediation guidance for AppExchange submissions.

Can I use this security audit for 2GP license qualification checks?▼

Yes, the security audit applies to 2GP license qualification processes. It assesses managed package components and permissions, providing a pass or fail prediction along with a remediation plan to ensure compliance.

How do I generate a security review report for my Salesforce managed package?▼

Invoke the security review on your Salesforce 2GP package to automatically generate a markdown report. The output file is saved to docs/security/security-review-report.md and includes audit scores and a structured remediation plan.

What are the limitations of an automated security review for Salesforce 2GP packages?▼

The automated security review generates a predictive PASS, WARN, or FAIL score across 15 categories and outputs a markdown remediation report. It scans Apex, LWC, and permissions but does not replace official Salesforce AppExchange security review approval.

Does the 2GP security audit check LWC and Apex components?▼

Yes, the 2GP security audit performs inventory discovery and checks both LWC and Apex components. It audits these package contents along with objects and permissions to deliver a comprehensive security readiness score.