
Security Review
FreeEnhance code security with targeted review guidance.
Free · Opens the source repo
What Security Review does
The Security Review skill is designed for developers and security teams working with Langfuse to ensure that code changes do not introduce vulnerabilities. This skill provides a structured approach to reviewing code that interacts with security-sensitive components, such as user-supplied URLs, secrets, and API endpoints. By utilizing this skill, teams can catch potential security issues during the design phase rather than after deployment, thereby reducing the risk of security breaches.
When using the Security Review skill, developers are guided through a checklist that highlights common security concerns based on past findings from external security reports. The skill emphasizes the importance of validating inputs and outputs at various stages of the application lifecycle. It encourages developers to consider security implications when designing new features, such as integrations and public API routes, ensuring that appropriate validation mechanisms are in place from the outset.
The skill is particularly useful when planning changes that involve outbound HTTP requests, file uploads, or any modifications that could affect user data security. By following the outlined processes, developers can ensure that their code adheres to best practices in security, minimizing the likelihood of vulnerabilities being introduced during development.
In addition, the skill allows for extensibility; developers can add new references for recurring security findings, keeping the skill up-to-date with the latest security challenges. This adaptability makes it a valuable tool for teams committed to maintaining high security standards in their codebase.
When to use it
Use this skill when reviewing or planning code changes that involve user-supplied URLs, secrets, or any security-sensitive components.
When not to use it
This skill is not suitable for non-security-related code reviews or changes that do not interact with external inputs or sensitive data.
What you can build with it
Reviewing a New Integration
Use this skill to ensure that any new integration within Langfuse adheres to security best practices, particularly around user inputs.
Planning API Changes
When planning changes to public API routes, apply this skill to identify necessary validations and security measures upfront.
Conducting Code Reviews
During code reviews, utilize this skill to catch potential security vulnerabilities early and provide actionable recommendations.
How to install Security Review
View source1. Install with the skills CLI
npx skills add langfuse/langfuse/security-review --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by langfuseSecurity 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
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 |
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) - Secret handling and encryption-at-rest read paths
- 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 HTTP, integration config, or URL-accepting procedures; see backend-dev-guidelines/SKILL.md. - Confirmed issues with reproduction evidence go through
linear-bug-triagefor Linear handoff.
Frequently asked questions about Security Review
Similar skills
GitHub Actions Hardening
Enhance the security of your GitHub Actions workflows.
Sensitive Logging Audit
Audit and fix sensitive data exposure in Python logging.
Android App Static Analysis
Automate security assessments of Android apps with MobSF.
Integrating DAST with OWASP ZAP
Seamlessly integrate dynamic security testing into CI/CD pipelines.
Implementing Runtime Security with Tetragon
Enhance Kubernetes security with eBPF-based observability.
Implementing Mobile Application Management
Secure enterprise data on mobile devices with app-level controls.
