Command Palette

Search for a command to run...

Назад к скиллам
скилл № 11491

learn

This skill should be used when the user asks to "learn about security", "teach me OWASP", "security tutorial", "learn threat modeling", or invokes…

БесплатноБез исполняемых скриптов
florianbuetowот florianbuetow★ 22 звезды на GitHub

Установить learn в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

AppSec Learn -- Interactive Security Walkthrough

Guided, interactive learning experience that teaches security concepts using the user's own codebase as teaching material. Combines explanation with hands-on discovery -- the user finds real vulnerabilities in their own code as they learn about each category.

This skill runs entirely in the main agent context. It does NOT dispatch subagents. It is interactive and conversational -- ask questions, wait for answers, then reveal findings.

Learning Modes

Detect the topic from the user's message:

User Says Mode Curriculum
"learn owasp", "teach me owasp" OWASP Walkthrough All 10 categories
"learn stride", "teach me stride" STRIDE Walkthrough All 6 categories
"learn red-team", "learn red teaming" Red Team Walkthrough All 6 personas
"learn injection", "learn A03" Single Category Deep Dive One category
"learn security", "security tutorial" Guided Selection Ask what to learn

Framework References

Load the relevant framework reference before starting:

Mode Reference File
OWASP ../../shared/frameworks/owasp-top10-2021.md
STRIDE ../../shared/frameworks/stride.md
Red Team ../../shared/frameworks/dread.md + all persona files in agents/
Single Category The relevant framework file for that category

Walkthrough Structure

Each learning mode follows the same 4-step pattern per category. The key principle: NEVER just lecture. Always ground the concept in the user's own code, and always make them think before revealing answers.

Step 1: Explain the Concept

Present the category in plain language:

  • What it is (one sentence).
  • What security property it protects.
  • Why it matters (real-world impact with a notable breach example).
  • How it maps to other frameworks (OWASP <-> STRIDE <-> CWE).

Keep this brief. 5-8 sentences maximum. The user's code is the real teacher.

Step 2: Show Code from the User's Codebase

Search the user's codebase for patterns relevant to this category. Use Glob and Grep to find concrete examples. Show 2-3 code snippets with file paths and line numbers.

Present the code WITHOUT revealing whether it is vulnerable or secure. Frame it as: "Here is how your codebase handles [concept]. Look at these patterns..."

Search strategy by category:

Category What to Search For
Injection (A03) Database queries, template rendering, shell commands, user input handling
Access Control (A01) Route middleware, authorization checks, role guards, IDOR-prone endpoints
Crypto (A02) Hashing functions, encryption calls, TLS config, key storage
Auth (A07) Login handlers, session management, password storage, token generation
Spoofing (S) Authentication flows, token validation, session handling
Tampering (T) Input validation, request parsing, file operations
Info Disclosure (I) Error handlers, logging statements, API responses
DoS (D) Regex patterns, file uploads, resource allocation, unbounded loops
Red Team Attack surface entry points, auth boundaries, data flows

If no relevant code is found for a category, use a generic example and note that the category may not be applicable to this codebase.

Step 3: Ask Questions

Ask the user 2-3 questions about the code you showed. These should guide them to discover potential issues themselves:

  • "What happens if [input] contains [malicious value]?"
  • "Is there anything checking that the user owns this resource?"
  • "What would an attacker see if they triggered this error handler?"
  • "Could a malicious user bypass this check? How?"

Wait for the user to respond before proceeding. Do NOT reveal the answers in the same message as the questions.

Step 4: Reveal and Discuss

After the user responds (or asks to see the answer):

  1. Confirm what they got right.
  2. Explain what they missed and why it matters.
  3. Show the specific vulnerability (if one exists) with the attack scenario.
  4. Show the fix -- both the code change and the principle behind it.
  5. Cross-reference to frameworks: "This is CWE-89, which OWASP categorizes as A03, and STRIDE classifies as Tampering (T)."

Then offer to continue to the next category or dive deeper.

OWASP Walkthrough Curriculum

Walk through all 10 categories in priority order (most commonly exploited first, not numerical order):

  1. A03: Injection -- SQL, NoSQL, OS command, template injection
  2. A07: Auth Failures -- Credential stuffing, weak passwords, sessions
  3. A01: Broken Access Control -- IDOR, missing deny-by-default, CORS
  4. A02: Cryptographic Failures -- Weak hashing, cleartext, key mgmt
  5. A05: Security Misconfiguration -- Defaults, verbose errors, headers
  6. A10: SSRF -- Unvalidate
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл learn?

This skill should be used when the user asks to "learn about security", "teach me OWASP", "security tutorial", "learn threat modeling", or invokes /appsec:learn. Interactive guided walkthrough using your codebase as teaching material.

Как установить скилл learn?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл learn запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить learn с