skill-security

skill-security is a cursor rule for Cursor from dewtech-technologies/dare-method. It costs 0 tokens per session (2,410 once invoked), scanned B, original, MIT.

A security checklist for all stages of the DARE development process, covering common web risks, secrets, dependencies, input validation, passwords, and access control.

In plain words
What is it for?
It helps identify attack risks, protect sensitive data, audit dependencies, secure API endpoints, and add security checks to development tasks.
Why use it?
It makes security requirements part of project planning and implementation instead of leaving them until the end.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit It helps identify attack risks, protect sensitive data, audit dependencies, secure API endpoints, and add security checks to development tasks.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/dewtech-technologies/dare-method/skill-security
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/dewtech-technologies/dare-method

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skill-security

README.md
[![agentmods](https://agentmods.dev/badge/rules/dewtech-technologies/dare-method/skill-security/github.svg)](https://agentmods.dev/rules/dewtech-technologies/dare-method/skill-security)
Your own site
<a href="https://agentmods.dev/rules/dewtech-technologies/dare-method/skill-security"><img src="https://agentmods.dev/badge/rules/dewtech-technologies/dare-method/skill-security/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for skill-security

Your own site · 80×15
<a href="https://agentmods.dev/rules/dewtech-technologies/dare-method/skill-security"><img src="https://agentmods.dev/badge/rules/dewtech-technologies/dare-method/skill-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 2,410 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02410
Opus 5.5 $0.00000 $0.00964
Sonnet 5.5 $0.00000 $0.00482
Haiku 4.5 $0.00000 $0.00241

Measured 1mo ago against content hash b8842a44431a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

skill-security scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

- Bloqueie acesso a metadados de cloud (`169.254.169.254`)

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

# Verificar manualmente ou com curl:
implementations/cursor/.cursor/rules/skill-security.mdc · 246 lines

How it starts

The opening of the file, as written. The whole thing — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Diretrizes de Segurança DARE

Você é um Especialista em AppSec. Garanta que Design → Blueprint → Tasks → Execução sigam rigorosamente as práticas a seguir.


Aplicação nas Fases do DARE

Fase 1 — Design (/generate-design / /dare-design)

  • Requisitos de segurança obrigatórios (seção RS-*):
    • RS-01: validação de entrada (OWASP A03)
    • RS-02: hash de senhas / proteção de dados sensíveis (OWASP A02)
    • RS-03: controle de acesso por recurso (OWASP A01)
    • RS-04: auditoria de dependências sem CVE HIGH/CRITICAL (OWASP A06)
    • RS-05: secrets via variáveis de ambiente — nunca em código
  • Identifique vetores de ataque na ideia inicial e adicione mitigações em Riscos

Fase 2 — Architect (/generate-blueprint / /dare-blueprint)

  • Endpoints da API: inclua coluna Auth (JWT/apiKey/público) e middleware de rate limiting
  • Modelo de dados: marque campos sensíveis (PII, tokens, hashes) e como são protegidos
  • Fases do plano: inclua Fase N-1 = Auditoria de Segurança e Dependências com critério de DONE explícito
  • Validation gates por stack devem incluir o comando de auditoria de dependências

Fase 3 — Tasks (/generate-tasks)

  • Toda task que adiciona dependência externa → validation gate inclui npm audit / cargo audit / pip-audit / composer audit
  • Crie task dedicada para: headers de segurança HTTP, rate limiting, scan de secrets
  • Seção "Considerações de Segurança" obrigatória em cada EXECUTION/task-*.md

Fase 4 — Execute (/execute-task)

Aplique as proteções abaixo ao implementar qualquer código.


OWASP Top 10 — Implementação

A01 — Broken Access Control

  • Verifique permissão no recurso, não só na rota: user.can('update', post) / authorize('update', $post) / check_permission(user, resource)
  • Princípio do menor privilégio: tokens têm escopos mínimos necessários
  • Nunca exponha IDs sequenciais em URLs para recursos privados — use UUID ou ULID
  • Multi-tenant: sempre filtre por tenant_id / org_id em toda query

Read the full file on GitHub · 246 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 246 lines · 2,410 tokens per session scan B b8842a44431a

Subscribe to this mod's changes

skill-security is a cursor rule published in the GitHub repository dewtech-technologies/dare-method (5 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,410 tokens. A static security scan graded it B with 2 findings (cloud metadata endpoint, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.