Securing Applications with White-Source(Mend)

Bala Praneeth (Begin_hunt)
3 min readJun 27, 2022

Every developer imports specific libraries to ensure that their code runs efficiently without the need to rewrite the entire library from scratch. At the same time, how will the developer ensure that the library used in the application code is secure?

This is one of the primary concerns when developing or building real-world dynamic applications. To address this issue, we can utilize the White-Source(Mend) tool, which functions as an Application Vulnerability Scanner and generates a list of vulnerabilities or security issues in a project.

The easiest approach is to integrate Mend with your GitHub repository; this way, whenever a push request is made, WhiteSource is triggered, displaying a list of security issues in the application code.

Working Model Mend:

Integrating Mend to Github Repo

Note: For Business Enterprise use only

  1. As developers develop the application code and are tested in the environment, it is ready to be deployed into the production server.
Application code when integrated with Mend—Source (Mend.io)

2. Before they deploy, as the developers make a push request for every change in their application code the repository will be executed with Mend to check for any vulnerabilities in the code.

Integration of the tool with the GitHub repository

3. Above mentioned is the sample data on integrating mend with the Github Repository. By doing this we can select a specific repo that should mend be checked against.

4. Once the vulnerability check is done mend lists out all the vulnerability data if present on the Application code.

5. The sample vulnerability data and API documentation for Mend can be found here

6. By following this approach the application code which uses libraries and packages can be secured with every push request a developer makes thereby securing the environment and protecting the assets.

If you guys enjoyed the blog a clap would mean so much to me. It keeps me motivated to post more content on Twitter and in blogs.

Networking-

Hope this write-up was helpful. Collaboration and networking are something that I have always enjoyed. Let’s connect.

Linkedin — https://www.linkedin.com/in/balapraneeth/

Twitter — https://twitter.com/Begin_hunt

Happy hacking !!!
If you have reached this far, thank you for reading this article. Kindly feel free to point out any mistakes and do let me know where I can improve in writing and explaining in detail. Appreciate it!!. All the best.

--

--

Bala Praneeth (Begin_hunt)

Graduate Student | Passionate about Information Security | Web Application Security enthusiast | Self-motivated