secure-code-review
Skill28 starsChanged 10 months agoApache-2.0View on GitHub
Security code review using OWASP Top 10, input validation, and Hack23 ISMS secure development policy for TypeScript/MCP
10 other projects use a version of this.
Adopted by
Most recently taken up by
- hemapriyan-rk/claude-rigor-skillstheir own version, first seen Sep 26, 2026
- nahid-sparktales/agent-dispatchertheir own version, first seen Sep 21, 2026
- alizafarbati/opencode-agents-mcptheir own version, first seen Sep 8, 2026
- ShieldNet-360/secure-vibetheir own version, first seen Jul 9, 2026
- xAmirHamza77/PenKit51their own version, first seen Jul 6, 2026
- Hayatelin/devsecops-skillstheir own version, first seen Jun 27, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- zebbern/claude-code-guide★ 4.6ksame name
- UnitOneAI/SecuritySkills★ 78same name
- nahid-sparktales/agent-dispatcher★ 59same name
- Robotti-io/copilot-security-instructions★ 42same name
- ShieldNet-360/secure-vibe★ 22same name
- JayRHa/AgentSkills★ 11same name
- xAmirHamza77/PenKit51★ 2same name
- alizafarbati/opencode-agents-mcp★ 1same name
- hemapriyan-rk/claude-rigor-skills★ 1same name
- Hayatelin/devsecops-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository41 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- ai-development-governanceSkill
- ai-governanceSkill
- architecture-documentationSkill
- aws-security-architectureSkill
- behavioral-analysisSkill
- business-model-canvasSkill
- c4-architecture-documentationSkill
- code-quality-excellenceSkill
- compliance-frameworksSkill
- contribution-guidelinesSkill
- data-science-for-intelligenceSkill
- documentation-standardsSkill
- electoral-analysisSkill
- european-parliament-apiSkill
- european-political-systemSkill
- gdpr-complianceSkill
- github-actions-workflowsSkill
- github-agentic-workflowsSkill
- incident-responseSkill
- intelligence-analysis-techniquesSkill
- isms-complianceSkill
- legislative-monitoringSkill
- mcp-gateway-configurationSkill
- mcp-gateway-securitySkill
- mcp-server-developmentSkill
- open-source-governanceSkill
- osint-methodologiesSkill
- performance-optimizationSkill
- political-science-analysisSkill
- risk-assessment-frameworksSkill
- secrets-managementSkill
- secure-development-lifecycleSkill
- security-by-designSkill
- seo-best-practicesSkill
- strategic-communication-analysisSkill
- testing-mcp-toolsSkill
- testing-strategySkill
- threat-modeling-frameworkSkill
- typescript-strict-patternsSkill
- vulnerability-managementSkill
The file
Files
Secure Code Review Skill
Purpose
Conduct thorough security code reviews for TypeScript MCP server code, identifying vulnerabilities before production.
When to Use
- ✅ Reviewing pull requests before merge
- ✅ Conducting periodic security audits
- ✅ Implementing features that handle external API data
- ✅ Integrating third-party libraries
- ✅ Before major releases
Security Review Checklist
Input Validation (OWASP A03 - Injection)
// ✅ SECURE: Zod schema validation
import { z } from 'zod';
const InputSchema = z.object({
id: z.number().int().positive(),
name: z.string().min(1).max(255),
country: z.string().length(2)
});
// ❌ INSECURE: No validation
function getUser(id: any) { return db.query(`SELECT * FROM users WHERE id = ${id}`); }API Security (OWASP A01 - Broken Access Control)
- ✅ Validate all MCP tool inputs with Zod schemas
- ✅ Rate limit API calls to European Parliament endpoints
- ✅ Handle errors without leaking internal details
- ✅ Use HTTPS for all external API calls
- ✅ Set appropriate request timeouts
Dependency Security (OWASP A06 - Vulnerable Components)
npm audit --audit-level=high
npx knip # Find unused dependencies
npm run test:licenses # Check license complianceError Handling
// ✅ SECURE: Generic error messages
catch (error) {
logger.error('Internal error details', { error });
return { error: 'An unexpected error occurred' };
}
// ❌ INSECURE: Leaking internals
catch (error) {
return { error: error.stack }; // Never expose stack traces
}Review Exit Criteria
- ✅ No new CodeQL alerts introduced
- ✅ All inputs validated with Zod schemas
- ✅ No secrets or credentials in code
- ✅ Error handling doesn't leak sensitive info
- ✅ Security tests added for sensitive features
- ✅ Dependencies scanned for vulnerabilities
ISMS Policy References
Core SDLC policies (authoritative — always cite the applicable ones in review comments):
- Information Security Policy — Top-level governance, transparency, security-by-design
- Secure Development Policy — Secure SDLC, CodeQL, testing, SBOM, SLSA
- Open Source Policy — Licensing, supply chain, disclosure, attribution
Supporting policies (cite when applicable):
- Cryptography Policy — TLS, keys, approved algorithms
- Access Control Policy — Least privilege
- Privacy Policy — GDPR, MEP personal data
- Data Classification Policy
- Vulnerability Management — CVSS SLAs
- Change Management — PR review gating
- OWASP LLM Security Policy — MCP tool hardening
- AI Policy — AI-assisted code review
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

