| name | PW.5.1_pw51 |
| description | Follow all secure coding practices that are appropriate to the development languages and environment to meet the organization’s requirements. |
| category | input-validation |
| version | 1.1 |
| author | cyberstrike-official |
| tags | ["nist","sp800-218","ssdf","pw-5-1","pw","secure-development","task"] |
| tech_stack | ["any"] |
| cwe_ids | ["CWE-20"] |
| chains_with | [] |
| prerequisites | ["Create Source Code by Adhering to Secure Coding Practices (PW.5)"] |
| severity_boost | {} |
PW.5.1 PW.5.1
Task of practice: Create Source Code by Adhering to Secure Coding Practices (PW.5)
High-Level Description
Practice Group: Produce Well-Secured Software (PW)
Framework: NIST SP 800-218 SSDF v1.1
Follow all secure coding practices that are appropriate to the development languages and environment to meet the organization’s requirements.
What to Check
How to Test
Step 1: Review SDLC Documentation
Examine development lifecycle documentation for evidence of PW.5.1 practice implementation.
Step 2: Verify Tooling
# Check CI/CD pipeline configuration
# Verify security tools are integrated
# Example: Check for SAST/DAST in pipeline
grep -r "security\|scan\|sast\|dast" .github/workflows/ 2>/dev/null
grep -r "security\|scan" Jenkinsfile 2>/dev/null
Step 3: Assess Developer Awareness
Verify development team understands and follows PW.5.1 PW.5.1 practice.
Tools
| Tool | Purpose | Usage |
|---|
| github-security-mcp | Check repository security settings | github_security_* tools |
| Manual Review | SDLC process review | Documentation and interviews |
Remediation Guide
Implement PW.5.1 PW.5.1 in the software development lifecycle:
Follow all secure coding practices that are appropriate to the development languages and environment to meet the organization’s requirements.
Risk Assessment
| Finding | Severity | Impact |
|---|
| PW.5.1 PW.5.1 not implemented | Medium | Secure Development - Produce Well-Secured Software |
CWE Categories
| CWE ID | Title |
|---|
| CWE-20 | Improper Input Validation |