# seguridad por diseno

> Implements security by design for web apps and APIs using OWASP standards and a 12-principle defensive framework.

seguridad por diseno is a free AI agent skill on Agensi by Miguel Elias Gutierrez Garcia, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Miguel Elias Gutierrez Garcia](https://www.agensi.io/creators/elias-gutierrez)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-11-20
- Security: scan passed (2026-11-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/seguridad-por-diseno
- Tags: security, owasp, node-js, postgresql, api-security, web-security

## About this skill

Security is not a final phase; it is how you write every line of code. This skill enforces security by design during construction and auditing, ensuring your web applications, APIs, and databases are protected against the OWASP Top 10 and common data leaks from the very first commit.

### What it does
- **Enforce AuthZ/AuthP patterns** by applying deny-by-default rules and verifying identity at the server level rather than trusting client-side claims.
- **Prevent IDOR and BOLA** by ensuring every object access maps to the correct tenant and user role via scoped queries.
- **Sanitize inputs and outputs** using whitelist validation and context-aware encoding to stop SQL injection, XSS, and mass-assignment.
- **Audit existing codebases** to map attack surfaces and find vulnerabilities in routes, file uploads, and admin panels.
- **Secure integrations** by implementing HMAC signatures for webhooks and managing secrets via environment variables instead of code.

### How it works
1. **Identify the task type** such as building a new feature or auditing an existing repository.
2. **Apply specific references** for your domain (API, Web, Database, or Operations) to maintain compliance with security principles.
3. **Execute the delivery checklist** for every change to verify authorization, rate limiting, and failure modes.
4. **Generate audit reports** prioritised by severity with concrete exploitation scenarios and suggested fixes.

### Frameworks & tools
Optimized for Node.js, Express, Angular, and PostgreSQL. It integrates with modern stacks involving Render, Netlify, Neon, and Cloudflare, utilizing standard libraries like `crypto` and `helmet`.

### Why this beats prompting it yourself
Generic prompts often suggest security measures that break production or ignore specific business logic like multi-tenancy. This skill uses a systematic 12-principle framework and a specialized delivery checklist to ensure security doesn't come at the cost of functionality.

### Use cases
- Secure a multi-tenant API against unauthorized data access (IDOR).
- Implement robust webhook authentication for third-party payment integrations.
- Conduct a security audit on an existing codebase before a major release.
- Harden a PostgreSQL database using Least Privilege and Row Level Security.

### Known limitations
Focuses on software logic and configuration. It does not replace infrastructure-level penetration testing or physical network security audits.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the seguridad por diseno skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does 'seguridad por diseno' differ from a standard code review?

This skill automates the implementation of a 12-principle defensive framework during your development cycle, specifically targeting OWASP Top 10 vulnerabilities like IDOR, BOLA, and SQL injection from the very first line of code.

### Which programming languages and AI agents is this skill compatible with?

The skill is optimized for JavaScript-based stacks (Node.js, Express, Angular) and PostgreSQL databases, and it is compatible with major LLMs that support structured coding tasks and repository analysis.

### What specific deliverables are included with this skill purchase?

Beyond code generation, you receive a specialized delivery checklist for security verification and a framework for generating audit reports that prioritize vulnerabilities by severity and exploitation risk.

### Can I use this skill to secure a legacy application that is already in production?

Yes, the skill is designed to perform deep audits of existing repositories, mapping your current attack surface and providing concrete fixes for routes, file uploads, and administrative panels.

### Are there any security areas that this skill does not cover?

While highly effective for software logic and API security, this skill does not cover physical network security, hardware-level hardening, or manual infrastructure penetration testing.

### How does the skill stay updated with the latest security threats?

Updates are released periodically to align with the latest OWASP standards and emerging threat vectors, ensuring your defensive patterns remain effective against new types of cyber attacks.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
