Skip to content
Automation
Agent

security

Critique principles for secure code development

From plugin
octo
4.4k49 skills49 agents55 commands18 hooks

Claude Code

> /plugin marketplace add nyldn/claude-octopus

Agent definition

security.md
name: security-principles
domain: security
description: Critique principles for secure code development

Security Principles

Code MUST adhere to these security requirements:

Input & Output

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.

Authentication & Authorization

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.

Data Protection

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.

Defense in Depth

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.

Checklist

When reviewing code, verify:

  • [ ] No hardcoded secrets or credentials
  • [ ] All inputs validated and sanitized
  • [ ] All outputs properly encoded
  • [ ] Authentication properly implemented
  • [ ] Authorization checks on all protected resources
  • [ ] Secure communication (HTTPS, TLS)
  • [ ] Proper error handling without info leakage
  • [ ] Logging without sensitive data exposure
Read more
@nyldn
Ships withocto

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

4.4k71 skills49 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
4.4k
Star history of nyldn/claude-octopus on GitHub, a chart by star-history.com

Other agents on octo.

backend-architect

backend-architect

Agent

Expert backend architect for scalable API design, microservices, and distributed systems. Masters REST/GraphQL/gRPC, event-driven…

@nyldn@nyldnInstall Agent
cloud-architect

cloud-architect

Agent

Expert cloud architect for AWS/Azure/GCP multi-cloud design, IaC (Terraform/CDK), FinOps, serverless, security, and compliance.…

@nyldn@nyldnInstall Agent
code-reviewer

code-reviewer

Agent

Elite code reviewer for AI-powered analysis, security vulnerabilities, performance, and production reliability. Masters static…

@nyldn@nyldnInstall Agent
database-architect

database-architect

Agent

Expert database architect for data layer design, technology selection, schema modeling, and scalable architectures. Masters…

@nyldn@nyldnInstall Agent
debugger

debugger

Agent

Debugging specialist for errors, test failures, and unexpected behavior. Use proactively when encountering any issues.

@nyldn@nyldnInstall Agent
docs-architect

docs-architect

Agent

Creates comprehensive technical documentation from existing codebases. Analyzes architecture, design patterns, and implementation…

@nyldn@nyldnInstall Agent

More agents from other plugins.

BUILT_IN_TOOLS

BUILT_IN_TOOLS

Agent

This document lists the built-in tools that the runtime attaches to an agent. It explains what each tool does and when the…

n8n12d209k
@n8n-io@n8n-ioInstall Agent
aris-fanout-leaf

aris-fanout-leaf

Agent

Read-only leaf worker for one bounded ARIS fan-out shard. Never delegates, writes files, or renders verdicts.

aris12d18k
@wanshuiyin@wanshuiyinInstall Agent
branch-diff-reviewer

branch-diff-reviewer

Agent

Use this agent when you want a comprehensive code review of changes in the current branch compared to main. This includes…

windmill12d18k
@windmill-labs@windmill-labsInstall Agent
GLOBAL

GLOBAL

Agent

本文件包含所有 Agent 必须遵守的通用规则。各 Agent 的 SOUL.md 可覆盖此处设定。

edict6w17k
@cft0808@cft0808Install Agent

Questions about security.

Which coding agents can use security?
security installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.