If you’re reading this article, chances are you write your own code for Salesforce, or work in an org that utilizes custom code. Which (according to the latest data) means there’s a good chance your Salesforce org has security vulnerabilities that could expose sensitive information, or even provide malicious users the opportunity to infiltrate your system.
Custom code is the most powerful type of metadata. Whether it’s Aura, Lightning Web Components (LWC), Visualforce, Apex, or triggers, custom code provides superpowers to your users. However, with those superpowers comes some risk that must be managed.
You are responsible for the security of your custom code, not Salesforce. It’s time to get your security issues prioritized by severity and level of effort to address.
The simple answer: most likely, yes. According to the 2023 Benchmark Report on Salesforce Optimization, on average, we found that:
“Brand loyalty is based on trust. The health of your Salesforce org is crucial to enhancing the constituent experience and protecting their data. Ineffective and vulnerable orgs can erode constituent confidence, decreasing committed supporters. Ensuring a healthy and efficient org demonstrates respect for constituent time and data, strengthening relationships and increasing revenue and impact.” —John Vega, Nonprofit Portfolio Delivery Lead, Huron Consulting Group
Custom code can be an unintended insecure entry point for malicious abuse. The impact of these vulnerabilities can range from the wrong staff gaining access to sensitive data to external leaks of regulated information that can be an existential threat to an organization.
They can take on many forms, these are some of the most critical:
You wouldn’t be wrong for thinking that manually reviewing all past development for custom code issues would be time consuming.
That’s why we built Hubbl Diagnostics Essentials, a free monthly org monitoring solution which allows you to scan all the custom code in your org to identify security risks as defined by source code analyzers, PMD, and ESLint. It also helps you identify out-of-date installed packages that may be contributing to your security risks.
Where do I start? Hubbl Diagnostics not only identifies your security risks, it automatically categorizes your risks by severity and level of effort to address. This means that you can quickly filter down to the highest risk/lowest effort issues and get them addressed right away. Recommended solutions for each issue are also provided.
So, you’ve come to the realization that you may have some security risks. Now what? We recommend the following: