dare-security

A security guide for software projects based on common web-security risks, safe dependencies, secret handling, and checks for vulnerable packages.

In plain words
What is it for?
Use it during design, dependency changes, pull-request review, and production audits, with checks suited to languages such as JavaScript, Rust, Python, PHP, and Go.
Why use it?
It helps developers find problems such as unsafe input, weak access controls, exposed secrets, and known vulnerabilities before release.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/dewtech-technologies/dare-method/dare-security
Any agent
npx skills add dewtech-technologies/dare-method --skill dare-security
Clone the repo
git clone --depth 1 https://github.com/dewtech-technologies/dare-method

Made for: Claude Code, Codex.

Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,255 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. Scan, not verified.
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 $0.00067 $0.02255
Opus 5 $0.00034 $0.01128
Sonnet 5 $0.00013 $0.00451
Haiku 4.5 $0.00007 $0.00226

Measured 2d ago against content hash 114ec21083a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

dare-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 2d 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 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.

curl -I https://staging.example.com | grep -E "Strict-Transport|X-Frame|X-Content|Content-Security"
implementations/antigravity/.agents/skills/dare-security/SKILL.md · 275 lines

How it starts

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

DARE Security Skill

Você é um especialista em AppSec. Seu papel é garantir que Design → Blueprint → Tasks → Execução sigam rigorosamente práticas OWASP, supply chain seguro, gestão de secrets e auditoria contínua de dependências.

Quando usar

  • Início de projeto — definir RS-* (requisitos de segurança) no DESIGN.md
  • Adição de dependência nova — auditar CVE
  • PR mexe em autenticação, autorização, criptografia ou input externo
  • Audit de produção — varredura periódica de toda a base

Aplicação por fase DARE

Fase 1 — Design (dare-design)

Requisitos obrigatórios em seção RS-*:

ID Requisito
RS-01 Validação de entrada (OWASP A03)
RS-02 Hash de senhas / proteção de dados sensíveis (A02)
RS-03 Controle de acesso por recurso (A01)
RS-04 Auditoria de dependências sem CVE HIGH/CRITICAL (A06)
RS-05 Secrets via env, nunca em código

Identifique vetores de ataque na ideia inicial e mitigações em Riscos.

Fase 2 — Blueprint (dare-blueprint)

  • Endpoints: coluna Auth (JWT/apiKey/público) + middleware de rate limit
  • Modelo de dados: marque campos sensíveis (PII, tokens, hashes) e como são protegidos
  • Fase N-1 = Auditoria de Segurança e Dependências com critério DONE
  • Validation gates por stack incluem comando de audit

Fase 3 — Tasks (dare-tasks)

  • Toda task que adiciona dep → validation gate inclui npm audit / cargo audit / etc.
  • Task dedicada: headers de segurança, rate limit, scan de secrets
  • Seção "Considerações de Segurança" obrigatória em cada EXECUTION/task-*.md

Fase 4 — Execute (dare-execute)

Aplique as proteções abaixo ao implementar.

OWASP Top 10 — Implementação

A01 — Broken Access Control

  • Verifique permissão no recurso, não só na rota
  • Princípio do menor privilégio (tokens com escopos mínimos)
  • IDs sequenciais expostos = ruim — use UUID/ULID
  • Multi-tenant: sempre filtre por tenant_id/org_id
// ✅ Rust/Axum — extractor verifica ownership
async fn update_post(
    State(db): State<Pool<Postgres>>,
    claims: Claims,
    Path(post_id): Path<Uuid>,
    Json(body): Json<UpdatePostBody>,
) -> Result<Json<Post>, AppError> {
    let post = sqlx::query_as!(Post,
        "SELECT * FROM posts WHERE id = $1 AND author_id = $2",
        post_id, claims.sub
    ).fetch_one(&db).await?;
    // ...
}

Read the full file on GitHub · 275 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. 2d ago First seen · 275 lines · 67 tokens per session scan B 114ec21083a3

Subscribe to this mod's changes

dare-security is a skill published in the GitHub repository dewtech-technologies/dare-method (5 stars, last pushed 1mo ago), licensed MIT. It adds 67 tokens to every session and 2,255 once invoked, about $0.0003 per session on Opus 5. 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-08-31.

Related

Other skills, from other repositories

write-test-plan

Generate a QA/UAT test plan from product specifications and task definitions, covering acceptance testing, integration flows, and exploratory testing. Unit tests are out of scope (handled by write-unit-tests skill).

andresharpe/dotbot · 43 tokens

implement-telegram-bot

Implement Telegram bot interactions with command handlers, message parsing, and inline keyboards for conversational interfaces.

andresharpe/dotbot · 23 tokens

setup-background-job

Set up scheduled background jobs using Quartz.NET with proper configuration, error handling, and dependency injection.

andresharpe/dotbot · 22 tokens

write-unit-tests

Write comprehensive unit tests with proper setup, assertions, and coverage of happy paths, edge cases, and error scenarios.

andresharpe/dotbot · 26 tokens

blazor-component-design

Design Blazor components with proper parameter binding, event callbacks, lifecycle management, and render optimization. Use when creating new Blazor Server or WASM components, refactoring component hierarchies, implementing cascading values, or optimizing component rendering performance.

andresharpe/dotbot · 53 tokens

hedgehog-planning-intake

Use on any core for first-run planning intake — Phase 0 runs the vendored BMAD-METHOD planning shelf, shared by every core, and Phase 1 (mining 04-prd.md into intent records plus the Add-ons/sync-and-remote-entities decision) is full-stack-app's and pwa-app's shared procedure — identical mechanics, a different…

skyf0xx/hedgehog · 374 tokens