What is our primary use case?
My main use case is to perform SAST, static application security testing. I have been using it for the last 10 months. Initially, I was planning to use it just for the code review part so that developers can get secure code. However, it can also be integrated in CI/CD pipelines and other tools, which makes it robust.
I deployed Semgrep with my development team in their IDEs, such as VS Code and other notebook tools that my developers use. Semgrep helps to identify code-level issues, such as the possibility of SQL injection, XSS, or hard-coded values. It initially triggers alerts and shows which aspects are not correct and need correction.
What is most valuable?
First, it is very easy to use. It has customization features that allow me to customize it to find particular types of vulnerabilities that I am looking for. There is scanning efficiency which allows for rapid issue detection early in the development process. The customizable rule engine is the best thing because I can customize it according to my needs.
I can customize my rules according to my needs. The YAML file is easy to write. A person with good basic knowledge of coding can generate custom rules particular to the type of vulnerability they are targeting. Therefore, it is customizable.
The feature is easy to use, saves a lot of time, and is streamlined in nature. That is the best aspect.
It has helped my code review part significantly. It saves around two to three hours per day of going through each line of code to find mistakes and identify issues that are present at the code level. Code review is a tedious task for any security engineer or developer to do, so it helps tremendously while reviewing code.
By avoiding these tedious tasks, my team gets to focus on other important tasks that are required. Sometimes there are urgent tasks that need to be done before code reviews can be completed. The time I save is utilized elsewhere, which effectively benefits my team.
What needs improvement?
Semgrep can be improved by making it more user-friendly. There are tools in the market, such as Aqua Security, that have features worth utilizing. However, there are some comprehensive scanning capabilities which I feel Semgrep lacks. For code-level review, it is very good.
For how long have I used the solution?
I have been using Semgrep for around nine to 10 months for detection of security flaws in the code.
What do I think about the stability of the solution?
What do I think about the scalability of the solution?
It is also good. I can scale it for small to large-scale teams. I can use it with a small number of people or a large-sized team.
How are customer service and support?
Customer support is good because I have not needed much customer support until now, which is very good. I think that is a good part. Their documentation and community are very active, so most of the time when problems occur, I get a solution.
Which solution did I use previously and why did I switch?
I have used SonarQube. However, the results of Semgrep are much better. I compared them both, so I switched to Semgrep only, and it works very well. I do not have to pay any licensing fee or anything like that. It has been good to work with Semgrep.
I evaluated a tool such as SonarQube, which is in the market and is also open-source. However, the results provided by Semgrep are much more effective and efficient with fewer false positives. The number of true positives is higher, which effectively saves time from checking whether false positives are right or wrong.
How was the initial setup?
The accuracy I would rate at 85 to 90%. Sometimes it gives false positives, but compared to its peers, it is better.
What about the implementation team?
At a team level, I can say that per day I save around two hours, which can result in eight hours a week. Monthly, I save around 30 to 35 hours because of this.
What was our ROI?
The best case is that it solves a lot of things, and for the vulnerabilities that will arise in the future, I solve them at the initial stage.
What's my experience with pricing, setup cost, and licensing?
It is basically open-source, so the cost to set up is no cost.
Which other solutions did I evaluate?
If you are looking for an open-source tool that can perform SAST in your environment and you are a technical person with a team that can grasp new technologies in a short period of time, then you can use Semgrep directly to perform SAST and code reviews at the development level. Early detection of security issues and bugs can be fixed.
What other advice do I have?
It streamlines with the governance and compliance of the country where the company operates. It follows GDPR guidelines and EU guidelines. In India, I follow certain guidelines, so it also passes that criteria to go through those guidelines and follow the restrictions and suggestions provided at a national level.
Which deployment model are you using for this solution?
On-premises
If public cloud, private cloud, or hybrid cloud, which cloud provider do you use?
Other