langfuse/security-review
Review Langfuse changes for SSRF, tenant isolation, secret handling, unsafe redirects or uploads, and RBAC drift. 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, or widens permissions.
npx skills add https://github.com/langfuse/langfuse --skill 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.
Apply this skill when the change touches any of:
baseURL, or webhook targetfetch, axios, AWS SDK client init with acustom endpoint, OpenAI/Anthropic/Bedrock client init with a custom
baseURL, etc.)
admin-configurable network destination
changes who can access it
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.
sweep against the change.
| 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 |
The catalog is intentionally short today. New topic files are added as new
finding classes recur (see "Extending This Skill").
When this skill is used during code review:
author should copy.
rather than re-deriving the fix.
as findings, not as nice-to-haves.
When this skill is used while planning:
worker entrypoints).
helper that must be invoked and at which layer (save-time, use-time,
connection-time, redirect-time).
same change that introduces the surface.
Add a new references/<topic>.md whenever a security finding recurs across
features or PR reviews. Keep each reference narrow and concrete:
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):
projectId filters across Prisma and ClickHouse)code-review skill should defer here for any change that matchesthe triggers above; see code-review/SKILL.md.
backend-dev-guidelines skill should defer here when addingoutbound HTTP, integration config, or URL-accepting procedures; see
backend-dev-guidelines/SKILL.md.
linear-bug-triagefor Linear handoff.
Take langfuse/security-review from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.