7

For ISVs to be safe to (re)submit their app for Security Review without issues Checkmarx still is the only authoritative tool. But it is also cumbersome and limited as:

  • Community Scanner is limited in code size
  • Partner Scanner only works on packaged code
  • Both free Scanners can not be rerun often
  • Commercial Checkmarx seems to be super expensive
  • Scans are not finding a lot. Few False Positives but a ton of False Negatives
  • Scans are not complete and reproducible. You fix all issues, rerun, and get new issues.
  • Does not seem not to pick up many Frontend code issues

I'm very aware of the alternatives Clayton, CodeScan as well as PMD, ESlint and CLI Scanner but they are also in a way not optimal:

  • PMD has no Data Flow and is Single File only, so most security checks are vague
  • ESlint: not sure if that is even relevant for SecReview.
  • SFDX scanner is just using PMD, Eslint and slowly adding a few Data Flow rules with its new Graph Engine extension
  • Clayton is focusing on Security issues only and has very few False Positives and find many more issues that Checkmarx and real Security Reviews
  • Did not evaluate CodeScan during Security Reviews but I would assume it focused more on many rules than a few good ones. Most rules are not security related and the fact that they offer to run them fast in the IDE seems to prove they only do static analysis.

1 Answer 1

2

Did you consider trying out Snyk? It launched Apex support back in October but I haven't done a deep-dive yet. I didn't see it in your list, so I thought it would be worth mentioning.

https://snyk.io/blog/snyk-code-adds-apex-swift-language-support-api-graphql-security/

3
  • Wasn't aware of Snyk having Apex support. Good pointer thank you. Can you maybe add some details to your answer? What rules they offer etc. Commented Jul 6, 2022 at 7:32
  • Unfortunately I haven't been able to see this live in action. From what I can tell it has its own database of vulnerabilities that's being maintained, but I can't find how flexible the rule sets are. I think the best way to know more is to book a demo with them...
    – nicolas
    Commented Jul 6, 2022 at 22:13
  • 1
    Can you delete the duplicate comment please? Commented Jul 7, 2022 at 10:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .