← Lab /Security & privacy

Many new developers miss basic code security, leading to high-impact bugs like PHP2Shell

Security & privacy Explainer · Theory · Datadog Security Labs

The claim

The authors assert that most novice coders fail to apply essential security practices, exposing their applications to severe vulnerabilities.

Kennedy Toomey · Datadog Security Labs Writeup

Published as: “Code security for new coders”

So what

Applying the outlined basics can markedly lower the chance of severe vulnerabilities in applications built by novice developers.

The five-minute version

The post explains core concepts of code security for developers using AI coding agents, emphasizing the need to protect first-party code and manage third-party dependencies. It cites the PHP2Shell vulnerabilities as a concrete example of what can happen when security is ignored. The authors list practical questions to ask coding agents and categorize common security tooling (SCA, SAST, IAST, DAST, IaC, secret scanning). They also highlight Datadog’s Code Security suite and open-source tools GuardDog and Supply Chain Firewall. No empirical data are presented, so the guidance is advisory rather than experimentally validated.

What they found 2

What’s new here 4

Artifacts & methods 9

Topics

code securitysoftware supply chainthird-party dependenciessecret managementstatic application security testingsoftware composition analysisAI coding agentsPHP2Shell vulnerability
← Previous Self-criticism improves red-team attacks while self-proposal reduces success