# Code security for new coders

DevFeed: [Code security for new coders](<https://devfeed.tech/articles/code-security-for-new-coders-102216.md>)

Original publisher: [Read original article](<https://securitylabs.datadoghq.com/articles/code-security-for-new-coders/>)

Author: Kennedy Toomey

Published: 2026-10-26T00:00:00Z

Content type: article

Language: en

Sources: [Datadog Security Labs](<https://devfeed.tech/sources/datadog-security-labs.md>)

Topics: [code security](<https://devfeed.tech/topics/code-security.md>), [Security](<https://devfeed.tech/topics/security.md>), [Secret Scanning](<https://devfeed.tech/topics/secret-scanning.md>), [software composition analysis](<https://devfeed.tech/topics/software-composition-analysis.md>), [ai code review](<https://devfeed.tech/topics/ai-code-review.md>), [Static code analysis](<https://devfeed.tech/topics/static-code-analysis.md>), [software security audit](<https://devfeed.tech/topics/software-security-audit.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [access-controls](<https://devfeed.tech/tags/access-controls.md>), [ai-generated-code](<https://devfeed.tech/tags/ai-generated-code.md>), [api](<https://devfeed.tech/tags/api.md>), [api-keys](<https://devfeed.tech/tags/api-keys.md>), [application-security](<https://devfeed.tech/tags/application-security.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [automated](<https://devfeed.tech/tags/automated.md>), [block](<https://devfeed.tech/tags/block.md>), [build](<https://devfeed.tech/tags/build.md>), [building](<https://devfeed.tech/tags/building.md>), [code-security](<https://devfeed.tech/tags/code-security.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [datadog](<https://devfeed.tech/tags/datadog.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [docker](<https://devfeed.tech/tags/docker.md>), [docker-images](<https://devfeed.tech/tags/docker-images.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [security](<https://devfeed.tech/tags/security.md>), [tools](<https://devfeed.tech/tags/tools.md>)

## AI overview

The post recommends building security into AI-assisted coding from the start: plan how sensitive data, authentication, and authorization should be handled; review first-party code for common flaws such as OWASP Top 10 issues; keep credentials out of code by using environment variables or a secret manager; and scan dependencies, update vulnerable versions, and check for malicious packages. It distinguishes scanning tools by role: SCA checks third-party dependencies; SAST examines first-party code without running it and may produce more false positives; IAST analyzes data flows in a running application and is generally used later, with greater accuracy; automated tests against a running app are a separate category; IaC scanners check configuration files; and secret scanners look for embedded credentials. The excerpt names Datadog Code Security as offering SCA, SAST, IAST, IaC, and secret scanning, and GuardDog and Supply Chain Firewall as open source tools for flagging and blocking malicious packages. It presents these basics as risk reduction, not a guarantee of perfect security.

## Source excerpt

This post breaks down essential code security terms and tools so that you can build safely from the start.