DEV Community

7 2

Tackling security vulnerability at an early stage in SDLC

Alt Text

As a Software Engineer, I will like to detect security vulnerabilities early enough in my codebase before committing my code.

Detecting security vulnerability is very important in SDLC (Software Development Life Cycle), this will allow developers to fix any security-related issues before raising a change request or even before the security team flags this vulnerability.

In tackling these security vulnerabilities, Engineers can integrate the following techniques into their current workflow.

Engineers can integrate their favorite IDE’s with security scanning and detection plugins such as synk and sonarlint.

Synk IDE plugin helps Engineers to secure their code as they develop, the IDE plugins scans the code in real-time for vulnerabilities and provide advice on how to fix them.

sonarlint IDE plugin helps to identify and fix quality and security issues as Engineers write codes. These two plugins will fix and advise on any security vulnerabilities.

Software Engineers should cultivate the habit of implementing pre-commit hooks which will contain workflow for managing security vulnerability. The pre-commit hook will run first before even typing in a commit message.

The workflow will contain the following:

  • Check if there are any form of secrets (passwords, API keys) as plain text in the codebase
  • Check if there is a private key in the codebase
  • Remove white spaces
  • Check added large files to confirm if we have the right files in the codebase.
  • Integrate an automated security testing approach such as one, which will detect Cross-Site Scripting XSS vulnerabilities and test for input validation injections.

In conclusion, please do let me know if you find this article interesting. More ways of tackling security are welcomed.

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (8)

Collapse
 
daviddennis02 profile image
David Dennis • Edited

Nice and concise. 👍

Collapse
 
igeadetokunbo profile image
Ige Adetokunbo Temitayo

Thanks.

Collapse
 
obubus profile image
obubus

Great Job

Collapse
 
igeadetokunbo profile image
Ige Adetokunbo Temitayo

Thanks.

Collapse
 
absjabed profile image
Mohammad ABS Jabed

much informative and helpful post.

Collapse
 
igeadetokunbo profile image
Ige Adetokunbo Temitayo

I am very glad you like the article

Collapse
 
ahmedsaka profile image
Saka Ahmed

Very helpful

Collapse
 
igeadetokunbo profile image
Ige Adetokunbo Temitayo

I am very glad you like the article

Best Practices for Running  Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK cover image

Best Practices for Running Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK

This post discusses the process of migrating a growing WordPress eShop business to AWS using AWS CDK for an easily scalable, high availability architecture. The detailed structure encompasses several pillars: Compute, Storage, Database, Cache, CDN, DNS, Security, and Backup.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay