SFSEC Scanner 🔐SFSEC Scanner is a Salesforce security analysis tool that detects misconfigurations, guest user exposure, IAM risks, and Apex vulnerabilities — directly from VS Code. It generates:
🚀 Features
🧰 PrerequisitesBefore using SFSEC, ensure the following are installed: 1. Python (Required)
2. Install SFSEC dependencies (Required)Navigate to your project root and install:
3. Salesforce Credentials (Required)You must have:
👉 Get token from: Settings → Reset Security Token 4. Enable API Access (Required)Ensure your Salesforce user has:(Prefer Admin User)
⚙️ Installation (VS Code)Option 1 — From Marketplace (Recommended)
Option 2 — Manual (.vsix)
🧑💻 UsageStep 1 — Configure Salesforce CredentialsOpen Command Palette:
Run:
Enter:
Credentials are stored securely using VS Code secrets. Step 2 — Run Security Scan
Step 3 — OutputAfter scan completes: 📄 JSON Report
🌐 HTML Dashboard
Open in browser for:
Step 4 — Email Report (Optional)If configured:
📊 Understanding the Attack Graph
👉 Click nodes to explore risk propagation 🧠 Supported ChecksExperience Cloud
IAM Risks
Apex
🛠 Troubleshooting❌ ModuleNotFoundError: sfsecRun from project root:
❌ Encoding Errors (Windows)SFSEC uses UTF-8. If issues occur:
❌ Scan Fails in VS Code
🔐 Security Notes
📈 Roadmap
📄 LicenseThis project is proprietary software. Unauthorized use, reproduction, or distribution is prohibited. 👨💻 AuthorAbhishek Pandey ⭐ SupportIf you find this useful:
|