backend-architect
Expert backend architect for scalable API design, microservices, and distributed systems. Masters REST/GraphQL/gRPC, event-driven patterns, service mesh, and…
Critique principles for secure code development
> /plugin marketplace add nyldn/claude-octopusHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Critique principles for secure code development
name: security-principles domain: security description: Critique principles for secure code development
Code MUST adhere to these security requirements:
1. **No SQL Injection** - All database queries MUST be parameterized. Never concatenate user input into SQL strings.
2. **No XSS (Cross-Site Scripting)** - All output MUST be properly escaped/encoded for the context (HTML, JavaScript, URL, CSS).
3. **No Command Injection** - Never pass user input directly to shell commands. Use safe APIs or strict validation.
4. **No CSRF** - State-changing requests MUST require valid CSRF tokens.
5. **Secure Authentication** - Use strong password hashing (bcrypt/argon2), implement rate limiting, support MFA.
6. **Least Privilege** - Grant minimal permissions required. Never run as root/admin unless necessary.
7. **Secure Defaults** - Fail closed, not open. Default to denying access.
8. **Sensitive Data Handling** - Never log passwords, tokens, or PII. Use encryption at rest and in transit.
9. **Secure Session Management** - Use secure, httpOnly cookies. Regenerate session IDs on privilege changes.
10. **Input Validation** - Validate ALL user input server-side. Client-side validation is for UX only.
11. **Error Handling** - Never expose stack traces or internal details to users.
12. **Dependency Security** - Audit dependencies for known vulnerabilities. Keep packages updated.
When reviewing code, verify:
Every AI model has blind spots. Claude Octopus supports twelve external provider integrations — Codex, Antigravity CLI, Copilot, Qwen, Ollama, Perplexity, OpenRouter, OrcaRouter, OpenCode, Cursor CLI, Grok, and Kimi Code — alongside the built-in Claude Code
Repo: nyldn/claude-octopus
Expert backend architect for scalable API design, microservices, and distributed systems. Masters REST/GraphQL/gRPC, event-driven patterns, service mesh, and…
Expert cloud architect for AWS/Azure/GCP multi-cloud design, IaC (Terraform/CDK), FinOps, serverless, security, and compliance. Use PROACTIVELY for cloud…
Elite code reviewer for AI-powered analysis, security vulnerabilities, performance, and production reliability. Masters static analysis, security scanning, and…
Expert database architect for data layer design, technology selection, schema modeling, and scalable architectures. Masters SQL/NoSQL/TimeSeries,…
Debugging specialist for errors, test failures, and unexpected behavior. Use proactively when encountering any issues.
Creates comprehensive technical documentation from existing codebases. Analyzes architecture, design patterns, and implementation details to produce long-form…