What is developer-first security?
Developer-first security is an emerging DevSecOps approach that puts security tools directly into developers’ hands, within their IDEs and workflows, so they can identify and fix vulnerabilities early in the software development lifecycle.
A recent Forrester Research survey, Breaches By The Numbers: Adapting To Regional Challenges Is Imperative, April 12, 2022, found that 63% of organizations were breached in the past year, 4% more than the year before. And it’s important to realize the code is now the primary target, rather than the infrastructure. Making things even trickier, some estimates suggest close to 60% of applications are made up of open source code — and others put those estimates as high as 80% or 90%. Open source code is inherently more likely to contain vulnerabilities and malicious code than code generated from scratch, but it’s an understandable choice for busy developers trying to deliver quality code under ever-tightening deadlines.
For years, security was part of a separate organization known to swoop in after the code was committed, find security issues, and demand changes from (perhaps not surprisingly) reluctant developers who’d already moved on to the next project. Security was not just an afterthought; it was a top-down experience delivered by people who were far removed from the challenges of development. It’s not hard to understand why this approach was a major source of frustration for everyone involved.
The goal of DevSecOps was to build on the silo-busting that happened when DevOps was implemented — now dev, ops, and security all work together. It’s still early days, but our 2022 Global DevSecOps Survey showed promising signs: almost 29% of security professionals said they’re now part of a cross-functional security team, and 57% of security team members said their organizations have either shifted security left or are planning to this year.
Friction remains between developers and security, but there are signs that relations are improving. In 2022, fewer security professionals complained about vulnerabilities being identified late in the software development lifecycle or about difficulty getting developers to address security risks.
From the developer side, over half of developers said they are “fully responsible” for security in their organizations, while another 39% said they feel responsible for security as part of a larger team.
To break what feels like a very vicious cycle, experts say it’s time to start thinking about in-context or developer-first security. In a nutshell, developer-first security gives a coder a “developer-friendly” security tool that lives in the IDE and empowers developers to find and fix security issues in a painless manner. Ideally these security controls are automated, allowing a busy developer not to have to think about security requirements to build secure code — the process just happens naturally as part of the coding process.
Key to the success of developer-first security is a change in perspectives on both sides. Security professionals need to remember developers wear a lot of hats (coding, testing, security, and even some operations functions). Given that, it’s vital that security pros spend time understanding what developers are asked to do — and perhaps learn to code — in order to provide the necessary training, encouragement, and empathy. At the same time developers have to be open to a process change and excited about the opportunity to contribute to code security in a meaningful way.
Moving security in with the development team, ensuring teams have the right mix of skills, and creating a collegial environment will go a long way toward a successful developer-first security effort.
DevSecOps with GitLab
Frequently Asked Questions
Frequently Asked Questions
Developer-first security is an approach that integrates security tools directly into a developer's environment, such as their IDE. It empowers developers to identify, test, and fix security issues early in the software development process, as part of their everyday workflow.
Unlike traditional security models where issues are addressed after development, developer-first security shifts responsibility earlier in the lifecycle. It gives developers in-context, automated tools to build secure code from the start, reducing friction and speeding up remediation.
Developer-first security helps make DevSecOps effective by embedding security into development workflows. It aligns security with agile and DevOps practices, ensuring faster delivery, fewer late-stage vulnerabilities, and greater developer engagement in security efforts.
It addresses delays caused by late-stage security testing, the disconnect between developers and security teams, and the rise in vulnerabilities from third-party or open source code. By putting tools directly in developers' hands, it helps catch issues earlier and reduce friction.
Developer-first security tools often integrate with IDEs, CI/CD pipelines, and version control systems. They provide automated scanning, real-time feedback, and actionable insights, without interrupting a developer’s workflow. Common features include SAST, dependency scanning, and policy checks.
Learn more about DevSecOps
50%+ of the Fortune 100 trust GitLab
Start shipping better software faster
See what your team can do with the intelligent
DevSecOps platform.
