Secure development lifecycle

From Hack23/European-Parliament-MCP-Server · View interactive version

Secure development lifecycle is an AI agent skill from the GitHub repository Hack23/European-Parliament-MCP-Server. Comprehensive SDLC security practices with DevSecOps automation, OWASP Top 10, supply chain security (OSSF/SLSA)

How to use this skill

Skill file

Secure Development Lifecycle Skill

Purpose

Implement secure development practices across all SDLC phases for TypeScript/Node.js MCP server development, from requirements through deployment.

When to Use

SDLC Security Phases

1. Requirements

2. Design

3. Implementation

// Security controls in code
import { z } from 'zod';

// Input validation
const schema = z.object({
  id: z.number().int().positive(),
  query: z.string().min(1).max(500),
});

// Error handling (no information leakage)
try {
  const result = await apiCall();
} catch (error) {
  logger.error('API call failed', { error });
  throw new Error('Request failed');  // Generic message
}

4. Testing

5. Deployment

6. Monitoring

Supply Chain Security

| Control | Implementation |

|---------|---------------|

| OSSF Scorecard | Automated scoring of security practices |

| SLSA Level | Build provenance and supply chain integrity |

| SBOM | CycloneDX software bill of materials |

| Dependency pinning | package-lock.json committed |

| Signed commits | GPG-signed git commits |

ISMS Policy References

Core SDLC policies:

Supporting policies:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.