security-review
БесплатноБез исполняемых скриптовНе проверенReview Langfuse changes for SSRF, tenant isolation, secret handling, unsafe redirects or uploads, RBAC drift, and client telemetry privacy. Use when a design…
от langfuse★ 38 069 звёзд на GitHubОб этом скилле
Security Review
Use this skill when reviewing or planning code that touches a security-sensitive surface in Langfuse. It collects the recurring findings the team has seen in external security reports so that future agents catch them at design and review time rather than after the fact.
When to Apply
Apply this skill when the change touches any of:
- a user-supplied URL, host, endpoint,
baseURL, or webhook target - a new outbound HTTP request (
fetch,axios, AWS SDK client init with a customendpoint, OpenAI/Anthropic/Bedrock client init with a custombaseURL, etc.) - a new integration form under Settings -> Integrations or any admin-configurable network destination
- a new tRPC procedure or public API route that mutates project-scoped data or changes who can access it
- secrets, API keys, signing secrets, or encryption-at-rest fields
- redirect-following or cross-origin header handling
- file uploads, image proxies, or other binary data flowing in or out
- product analytics, browser monitoring, session replay, or another client-side telemetry path that can transmit customer-controlled content
Apply this skill during plan mode when designing a new integration so the correct validation surfaces land in the plan, not in a follow-up CVE.
How to Read This Skill
- Open references/checklist.md and run the mental sweep against the change.
- For each bullet that fires, open the matching topic reference.
| Topic | Open when | File |
|---|---|---|
| SSRF and outbound URL validation | The change accepts or fetches a user-supplied URL, host, or endpoint | references/outbound-url-validation.md |
| Secret read paths | The change shapes what a read route returns for an entity or config blob that also stores a credential | references/secret-read-paths.md |
| Client telemetry and session replay | The change records DOM, browser state, events, logs, or network data in a third-party system | references/client-telemetry-privacy.md |
The catalog is intentionally short today. New topic files are added as new finding classes recur (see "Extending This Skill").
Output Expectations (Review Mode)
When this skill is used during code review:
- List findings first, ordered by severity, with file and line references.
- For each finding, name the canonical helper or known-good call site the author should copy.
- For SSRF-class findings, point at references/outbound-url-validation.md rather than re-deriving the fix.
- Call out missing negative tests (private-IP, cross-tenant, missing-scope) as findings, not as nice-to-haves.
Output Expectations (Design / Plan Mode)
When this skill is used while planning:
- Restate which surfaces the new feature exposes (forms, public API routes, worker entrypoints).
- For each surface that matches a checklist trigger, name the validator or helper that must be invoked and at which layer (save-time, use-time, connection-time, redirect-time).
- Treat "we will validate later" as a design defect: validation belongs in the same change that introduces the surface.
Extending This Skill
Add a new references/<topic>.md whenever a security finding recurs across
features or PR reviews. Keep each reference narrow and concrete:
- Threat in plain language (one paragraph).
- Canonical helpers in this repo, with paths.
- Known-good call sites that can be copied.
- Required defenses (save-time, use-time, transport-time, etc.).
- Anti-patterns to flag in review.
Then add a one-line trigger to references/checklist.md pointing at the new topic file, and add a row to the table above.
Candidates for future references (do not add until a real finding recurs):
- Tenant isolation (
projectIdfilters across Prisma and ClickHouse) - Redirect mishandling and sensitive-header propagation
- File upload validation and content-type sniffing
- RBAC scope drift on new tRPC/public API endpoints
- Signed URL scoping (expiry, path, method)
- Public API rate limiting and auth boundary checks
Integration With Other Skills
- The shared
code-reviewskill should defer here for any change that matches the triggers above; see code-review/SKILL.md. - The shared
backend-dev-guidelinesskill should defer here when adding outbound
Установить security-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл security-review?
Review Langfuse changes for SSRF, tenant isolation, secret handling, unsafe redirects or uploads, RBAC drift, and client telemetry privacy. Use when a design or change accepts URLs or host fields, handles secrets or cross-tenant data, makes outbound requests, adds an integration, follows redirects, widens permissions, or can send customer-controlled UI data through analytics, monitoring, or session replay.
Как установить скилл security-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл security-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic