Home / Docs / Code Access Auditor
🛡️

Apex & LWC Security Gap Auditor

Metadata & Architecture ● Live in Extension

Audits Apex classes and LWC bundles for unhandled permissions and missing FLS, eliminating "Works for Admin, Crashes for Users" bugs.

⚡ 1. Overview & Architecture

Audits Apex classes and LWC bundles for unhandled permissions and missing FLS, eliminating "Works for Admin, Crashes for Users" bugs.

Client-Side Security & Zero Proxying: All requests made by this tool run directly against your authenticated Salesforce organization using the current session. No credentials, schema data, or record contents ever leave your browser.

🧭 2. Step-by-Step Workflow

Follow these steps to get maximum velocity with Code Access & Permission Auditor:

1

Select Code Artifact

Choose target Apex class or trigger to audit.

2

Run Security Audit

Inspect flagged object and field references.

3

Remediate Code

Apply suggested permission checks.

🛠️ 3. Key Capabilities & Superpowers

🔎

SOQL & DML SObject Scanner

Extracts all SObjects and fields queried or manipulated in Apex.

🚨

FLS & Object Permission Check

Highlights missing permissions for target user profiles.

💡

Security Remediation Guide

Recommends Schema.sObjectType describe checks and WITH USER_MODE clauses.

💡 4. Pro Tips & Keyboard Shortcuts

  • Use WITH USER_MODE in SOQL queries to enforce FLS and object sharing automatically.

Explore More SF Lens Pro Guides

Discover how other integrated studio tools can accelerate your Salesforce development and administrative workflows.

All 33 Documentation Guides 📚 Interactive Feature Explorer ⚡