Skip to content
Back to skills

Architecture

ASecurity

Security skill - OWASP, authentication, encryption, compliance

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
securitytypescriptpythongosqlapisecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add pluginagentmarketplace/custom-plugin-linux --skill architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pluginagentmarketplace-architecture-6651d6dc/badge)](https://www.skillsdirectory.com/skills/pluginagentmarketplace-architecture-6651d6dc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: security
description: Security skill - OWASP, authentication, encryption, compliance
version: "1.0.0"
sasmp_version: "1.3.0"

input_schema:
  type: object
  properties:
    task: { type: string, enum: [audit, implement, review, compliance, incident] }
    domain: { type: string, enum: [web, api, infrastructure, data] }
  required: [task]

output_schema:
  type: object
  properties:
    findings: { type: array }
    recommendations: { type: array }
    code: { type: string }

retry_config:
  max_attempts: 3
  backoff: exponential

timeout_ms: 60000
---

# Security Skill

## PURPOSE
Application security, authentication, and compliance.

## CORE COMPETENCIES
```
OWASP Top 10:
├── Broken Access Control
├── Cryptographic Failures
├── Injection
├── Insecure Design
├── Security Misconfiguration
├── Vulnerable Components
├── Auth Failures
├── Data Integrity
├── Logging Failures
└── SSRF

Authentication:
├── OAuth 2.1 / OIDC
├── JWT best practices
├── Passkeys / WebAuthn
├── MFA
└── Session management

Encryption:
├── TLS 1.3
├── AES-256 at rest
├── Key management
└── Hashing (Argon2, bcrypt)
```

## CODE PATTERNS

### Input Validation
```typescript
import { z } from 'zod';

const userInput = z.object({
  email: z.string().email(),
  password: z.string().min(12).regex(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)/),
  age: z.number().int().min(18).max(120),
});

// SQL Injection Prevention
const user = await db.query(
  'SELECT * FROM users WHERE id = $1',
  [userId] // Parameterized query
);
```

### Password Hashing
```python
from argon2 import PasswordHasher

ph = PasswordHasher()
hashed = ph.hash(password)

# Verify
try:
    ph.verify(hashed, password)
except VerifyMismatchError:
    raise AuthenticationError("Invalid password")
```

## SECURITY CHECKLIST
```
[ ] Input validation on all data
[ ] Parameterized queries (no SQL injection)
[ ] Output encoding (XSS prevention)
[ ] HTTPS everywhere
[ ] Secure authentication (MFA enabled)
[ ] Least privilege access
[ ] Security headers (CSP, HSTS)
[ ] Dependency scanning
[ ] Secrets in vault
[ ] Logging & monitoring
```

## TROUBLESHOOTING

| Issue | Cause | Solution |
|-------|-------|----------|
| XSS | Unescaped output | Encode all user content |
| SQL injection | String concatenation | Use parameterized queries |
| CSRF | No token | Implement CSRF tokens |
| Auth bypass | Broken access control | Verify on every request |

Files in this skill

  • SKILL.md661 B
  • api-SKILL.md2.4 KB
  • architecture-SKILL.md2 KB
  • assets/config.yaml687 B
  • assets/schema.json1.1 KB
  • references/GUIDE.md1.8 KB
  • references/PATTERNS.md1.5 KB
  • scripts/validate.py3.7 KB
  • security-SKILL.md2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.