connect-src 'none' · Zero Metadata Exfiltration
Drag and drop your local force-app folder. In under 50ms, PortalShield cross-references
@AuraEnabled Apex sharing against Guest Profiles, flags missing WITH USER_MODE & PII exposures,
and prints a stakeholder Release Sign-Off PDF.
sf project deploy startBuilt for Salesforce Experience Cloud Developers, Architects, and SI Consultants who can't wait six weeks for InfoSec to approve an OAuth Connected App.
Select or drag-and-drop force-app/main/default (or individual .cls, .profile-meta.xml, .permissionset-meta.xml, and .site-meta.xml files) directly into your browser.
PortalShield links your CustomSites to Guest & Self-Reg Profiles, traces <classAccesses> into Apex controllers, and inspects SOQL, DML, FLS, and DigitalExperience routes locally in memory.
Copy drop-in WITH USER_MODE and least-privilege XML remediations, re-scan in 1 click to hit 100/100, and export a clean Executive PDF report for Jira, Copado, or client handoff.
PortalShield enforces Content-Security-Policy: connect-src 'none' at the HTTP header and browser level—making network calls technically impossible.
| Capability / Security Requirement | PortalShield SFDX Engine | SaaS / OAuth Org Scanners | Browser Session Extensions |
|---|---|---|---|
| Requires Salesforce Org Login / OAuth? | Never (Scans local git/SFDX files) | Yes (Connected App + Admin token) | Yes (Reads live sid session cookie) |
| Works Completely Offline / Air-Gapped? | Yes (Disconnect Wi-Fi & verify) | No (Cloud upload required) | No |
| Cross-References Guest Profiles ↔ Apex Sharing? | Automatic Cross-File Graph | Partial / Enterprise Tier Only | Manual inspection |
| Catches Pre-Deploy Metadata Blockers? | Before CI/CD & Sandbox push | Only after deploying to org | Only after deploying to org |
| Pricing Model | $49–$99 One-Time (Own Forever) | $2,500–$15,000+/yr SaaS | Free / Unmaintained |
Generic Apex linters miss portal-specific breaches where Guest Profiles, Self-Registration, and LWR/Aura routes intersect.
PS-APEX-001 Flags @AuraEnabled classes declared without sharing and highlights exact Guest/Community Profile <classAccesses> grants.PS-APEX-002 Catches @AuraEnabled controllers omitting explicit sharing keywords (which dangerously default to system context when called from LWC/Aura).PS-SOQL-001 Detects unescaped + variable concatenation inside dynamic Database.query() calls.PS-SOQL-002 Flags inline & dynamic SOQL queries missing WITH USER_MODE, WITH SECURITY_ENFORCED, or stripInaccessible().PS-DML-001 Catches system-mode insert/update/upsert/delete statements missing as user or AccessLevel.USER_MODE.PS-PROF-001 Catches viewAllRecords, modifyAllRecords, allowEdit, and allowDelete (including Spring '21+ Guest User SFDX deployment blockers).PS-PROF-002 Flags ApiEnabled, ViewAllUsers, ExportReport, and admin system permissions on external profiles.PS-PII-001 Detects readable/editable FLS on sensitive PII fields (SSN, TaxId, Email, Phone, DOB, BillingStreet).PS-SITE-001 Flags enabled <enableGuestApiAccess> and <allowGuestPaymentsApi> flags on CustomSites.PS-SITE-002 Catches <selfRegProfile> pointing to overly privileged internal or high-permission profiles.PS-SITE-003/004 Flags <requireHttps>false and AllowAllFraming clickjack weaknesses.PS-EXP-001/002 Catches missing route Apex controllers before deploy fails + sensitive invoice/case/member routes set to "pageAccess": "Public".Start with a free scan right in your browser, or unlock the full offline bundle & client-ready Executive PDF reports forever.
Verify your Experience Cloud risk score in seconds—zero signup.
connect-src 'none')For in-house Salesforce Devs, Admins & Release Managers protecting one company org.
.zip Bundle + Web License Keyv1.x rule updates includedFor freelance Salesforce Architects & boutique partners auditing multiple client orgs.
.zip Bundle + Consultant License KeyInstant digital download + license activation upon checkout. Backed by a straightforward 14-day satisfaction refund policy.
Two ways: (1) PortalShield serves a strict HTTP and meta Content-Security-Policy: connect-src 'none' policy, which instructs Chrome, Edge, Firefox, and Safari to block every fetch, XMLHttpRequest, WebSocket, and beacon call at the browser engine level. (2) You can disconnect from Wi-Fi/VPN completely before dragging your force-app folder into the scanner—or run the downloadable Air-Gapped Pro .zip directly off your local filesystem.
When you purchase Single-Org ($49) or Consultant Unlimited ($99), you immediately receive the pre-unlocked PortalShield Pro Offline .zip bundle plus a cryptographically signed license key (PS1-...). Our web scanner verifies the signature locally in 1ms using your browser's built-in WebCrypto ECDSA public key—meaning zero license-server pings ever occur.
For full cross-file blast-radius detection, retrieve or drop your classes/, profiles/, permissionsets/, sites/ (or networks/), and digitalExperiences/ (or experiences/) directories—or simply drop your entire force-app/main/default directory at once.
PortalShield is an independent static code & metadata analysis tool and is not affiliated with, endorsed by, or sponsored by Salesforce, Inc. Salesforce, Experience Cloud, Apex, and Lightning are trademarks of Salesforce, Inc.