Skip to content

How Does Secure Coding Differ From General Cybersecurity Training?

Employees working at computer stations, illustrating secure coding and general cybersecurity training.

Published on

 

 

A developer could pass the company's annual security awareness course in the morning and open a pull request with an injectable database query that same afternoon. If that course wasn't tailored to the developer's day-to-day work, it would have taught them how to report phishing emails and left out how to write a safe database query.

Security awareness training and secure coding training both have a place on a development team. Leaders who compare secure coding training vs. cybersecurity training can keep the company-wide course for every employee and add specialized tracks for everyone who writes code. Developers then stay in the awareness program with everyone else and get extra practice with the code they ship.

What Does General Cybersecurity Training Actually Cover?

General cybersecurity training teaches every employee to identify phishing emails, catch scammers who pretend to be coworkers or vendors, protect their passwords, and follow the company's acceptable use policy. Also called security awareness training, companies generally deliver the course as short modules and videos with quizzes that ask employees to recognize a suspicious link or a caller who requests a password.

Employees can finish a module between meetings or tasks, which makes it easy for companies to get everyone through the course once a year. Security leaders tend to use that course as everyone's starting point and look beyond security awareness when a team like engineering needs specific training for its own day-to-day work.

Who Is General Awareness Training Designed For?

General awareness training is designed for every employee, not just the IT department. The professionals who create those courses keep each lesson general enough for an accountant and a maintenance technician to follow, which is why the training works across the company. They focus on threats any of those employees could face, like a phishing email or a fake call from IT. Developers face those same threats but also need separate training to catch the flaws that can slip into the code they write.

How Is Secure Coding Training Different From Awareness Training?

Secure coding training teaches developers to recognize and fix vulnerable code in the languages and frameworks they already use. Developers get hands-on time in working applications where they're required to find a flaw in real code and patch it themselves. This is how the two types of training compare:

Security awareness training

Secure coding training

Who takes it

All employees

Developers and others who work on code

What it teaches

How to recognize threats aimed at people

How to find and fix vulnerabilities in code

Typical format

Short modules, videos, and quizzes

Practice in working applications

What success looks like

Employees report suspicious messages

Developers catch flaws in their own pull requests

Each program trains people to stop a different kind of attack, as the second row shows. In Verizon's 2026 Data Breach Investigations Report, 31% of breaches started with an exploited vulnerability and 13% with stolen or misused credentials.1 Exploited vulnerabilities passed stolen credentials as the top way into breached organizations for the first time in the report's 19-year history. Awareness training helps employees protect those credentials, while secure coding training helps developers patch those vulnerabilities before they're exploited.

Some companies try to cover those code flaws by adding a yearly video and quiz on the Open Worldwide Application Security Project (OWASP) Top 10 to their awareness program, but developers who pass that quiz can still misapply what they learned. University of Maryland researchers found vulnerabilities from a misunderstood security concept in 78% of 94 secure-programming contest projects, even though participants had security experience.2 Developers who practice in working applications learn to apply those concepts correctly in their own code.

Why Doesn't Knowing the OWASP Top 10 Make a Developer a Secure Coder?

A developer who knows the OWASP Top 10 could recognize the risks on the list but still need practice to find and fix one in real code. MITRE ranked cross-site scripting first and SQL injection second on its 2025 list of the most dangerous software weaknesses.3 Any awareness module on web risks would cover both of these long-documented vulnerabilities.

Developers still shipped enough cross-site scripting and SQL injection flaws to put them at the top of the list. Those who have found and patched the same pattern in practice have a better chance of catching it before their code ships.

Who Needs Secure Coding Training in Addition to Awareness Training?

Developers and anyone else whose work touches code across the software development lifecycle (SDLC) need secure coding training on top of awareness training. Security teams can tailor that training to the kind of code each role works with:

  • Developers can learn to find and fix flaws like SQL injection and cross-site scripting in the application code they write.
  • DevOps engineers can focus on secure configuration in the pipeline and infrastructure code that controls how software gets built and deployed.
  • Quality Assurance (QA) engineers can train to identify security flaws when they write tests and review how an application behaves.
  • Security champions can train at a more advanced level and then help the developers on their teams apply secure coding practices every day.

Employees outside engineering who now use AI tools to write scripts and automations can also benefit from secure coding basics, as their code could end up in the same company systems developers create.

What Do Compliance Frameworks Require for Developer Security Training?

Some compliance frameworks require training made specifically for developers, while others only require awareness training for the entire company.

Requirement 6.2.2 of the Payment Card Industry Data Security Standard (PCI DSS) v4.0.1 specifies what developer training has to cover and how often it should be taken, but lets each company choose the delivery format.4 Developers who work on bespoke and custom software must be trained at least once every 12 months on software security relevant to their job function and development languages, including secure design, secure coding techniques and, if the team uses security testing tools, how to use them to find vulnerabilities.. Companies that follow those PCI DSS secure coding requirements need lessons on each developer's job and languages, which a course written for every employee won't cover.

The National Institute of Standards and Technology (NIST) Secure Software Development Framework (SSDF) version 1.1 also calls for role-based training for everyone whose responsibilities contribute to secure development.5 Under practice PO.2.2, NIST asks organizations to review each person's proficiency on a regular schedule and update the training as needed. NIST's implementation examples include a separate training plan for each role, which fits developers, DevOps engineers, and QA engineers who each work with different kinds of code.

The Health Insurance Portability and Accountability Act (HIPAA) Security Rule takes a different approach and requires a security awareness and training program for the entire workforce.6 Under that rule, a developer at a hospital has the same training requirements as the receptionist at the front desk. The Department of Health and Human Services (HHS) proposed an update in January 2025 that keeps the same workforce-wide approach. In mid-2026, HHS moved it to its long-term agenda with a target of July 2027, so the current rule still applies..7

What Does Hands-On Secure Coding Training Look Like in Practice?

Developers taking hands-on secure coding training work inside a full, live application with the complete source code in front of them. They can open any file, intercept the requests the application sends, and follow a vulnerability back to the line of code where it started. Then, they patch it the way they would on the job and check that the patch stops the attack.

Security teams can tell more about a developer's skill from that kind of exercise than from a multiple-choice or copy-paste question, where a developer could have guessed well. To stop a real attack in a live application, the developer has to understand the flaw well enough to write a successful patch.

Training providers often organize these labs into role-based learning paths at foundational, intermediate, and advanced levels, which lets each developer start at their current skill level and upskill over time. Providers that add new lessons every month can also cover new frameworks and attack techniques as they show up. Role-based secure coding training in each developer's own languages matches PCI's wording on training relevant to job function and development languages.

How Does Secure Coding Training Prepare Developers for Risks Like the OWASP Top 10 for LLM Applications?

Secure coding training that adds new lessons every month can prepare developers for new risk categories as those risks start becoming more common. That helps developers stay updated on new risks as they come up without having to wait for the company's next annual awareness course.

In McKinsey's 2026 global survey, 44% of respondents said their organizations had moved AI past the pilot stage into wider use, up from 38% the year before.8 Many of those deployments connect applications to large language models (LLMs), and that code needs the same review as anything else a team ships.

Developers who write that code have to protect it from risks like prompt injection, where an attacker hides commands in a document or web page the model reads. They also need to check each model reply before their application runs it as code or shows it on a page, since attackers can manipulate those replies too. OWASP tracks those risks and others in its OWASP Top 10 for LLM applications rankings.

During hands-on training, developers can find and patch both kinds of flaws in a live application, the same way they'd handle a SQL injection. A developer could follow a prompt injection back to the spot where the application feeds outside text to the model and add a check there. Training providers that update their lessons every month can also add the next risk OWASP puts on its list as soon as it appears.

How Can You Start Building Role-Based Secure Coding Training for Your Team?

Start with the roles that write and ship your code, like developers and QA engineers. Then, match each role to a learning path at its current skill level, which lets a new developer and a senior engineer each start at the right point.

Security Journey offers secure code training for developers through hands-on labs within full, live applications. Its role-based learning paths cover foundational, intermediate, and advanced levels, with new lessons added every month. Talk with Security Journey to set up a learning path for your first team.

References

  1. Verizon. “2026 Data Breach Investigations Report.” May 2026. https://www.verizon.com/business/resources/reports/dbir/
  2. Votipka, Fulton, Parker, Hou, Mazurek, and Hicks. “Understanding Security Mistakes Developers Make: Qualitative Analysis from Build It, Break It, Fix It.” USENIX Security 2020. August 2020. https://www.usenix.org/conference/usenixsecurity20/presentation/votipka-understanding
  3. MITRE. “2025 CWE Top 25 Most Dangerous Software Weaknesses.” December 2025. https://cwe.mitre.org/top25/archive/2025/2025_cwe_top25
  4. PCI Security Standards Council. “Payment Card Industry Data Security Standard: Requirements and Testing Procedures, v4.0.1.” June 2024. https://www.pcisecuritystandards.org/document_library/
  5. National Institute of Standards and Technology. “Secure Software Development Framework (SSDF) Version 1.1” (SP 800-218). February 2022. https://csrc.nist.gov/projects/ssdf/publications
  6. US Department of Health and Human Services. “45 CFR 164.308, Administrative Safeguards.” https://www.govinfo.gov/content/pkg/CFR-2015-title45-vol1/pdf/CFR-2015-title45-vol1-sec164-308.pdf
  7. HHS Office for Civil Rights. “HIPAA Security Rule To Strengthen the Cybersecurity of Electronic Protected Health Information.” January 2025. https://www.govinfo.gov/content/pkg/FR-2025-01-06/html/2024-30983.htm
  8. McKinsey & Company. “The State of AI in 2026: On the Road to ROI.” August 2026. https://www.mckinsey.com/capabilities/quantumblack/our-insights/the-state-of-ai