security-best-practices

Reviews codebases for language and framework specific security vulnerabilities and produces prioritized reports.

1|Updated May 6, 2026
One-click install
npx skills add https://github.com/surfingalien/FinSurfing --skill security-best-practices-surfingalien
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-best-practices
Source: https://github.com/surfingalien/FinSurfing/tree/main/.claude/skills/security-best-practices
Command: npx skills add https://github.com/surfingalien/FinSurfing --skill security-best-practices-surfingalien

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? It helps developers find and fix security weaknesses in their code by applying language and framework specific security best practices, covering OWASP Top 10 risks, secrets management, supply chain security, and cloud deployment hardening. ## Core Features & Use Cases - Secure-by-default code generation: Loads reference guidance for Python, JavaScript/TypeScript, and Go frameworks so new code follows security best practices from the start. - Passive vulnerability detection: Flags critical issues like hardcoded secrets, SQL injection, and missing CSRF protection while you work. - Prioritized security reports: Produces a severity-ranked markdown report with numeric finding IDs, line-number references, and impact statements, then offers guided one-at-a-time fixes. - Use Case: Ask for a security audit of an Express.js API and receive a report citing issues like missing helmet headers, unsafe session cookie flags, or unbounded request body parsing, each with a safe minimal fix. ## Quick Start Ask the assistant to run a security review of this repository and write a prioritized vulnerability report.

Frequently Asked Questions about security-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a security audit on my codebase?

Ask for a security review, audit, or vulnerability scan of your project. The skill identifies your languages and frameworks, loads matching reference guidance, and produces a severity-ranked markdown report with evidence, line numbers, and suggested fixes.

What languages and frameworks does the security review support?

It supports Python, JavaScript/TypeScript, and Go, with dedicated reference files for frameworks such as Express and Go's net/http. If no matching reference exists, it falls back to well-known security best practices for that stack.

Can it detect hardcoded secrets and leaked API keys?

Yes, it checks for hardcoded credentials, committed .env files, and secrets in logs or Docker build args. It also recommends scanning tools like Gitleaks, TruffleHog, and detect-secrets, plus rotation and git history scrubbing when leaks are found.

Does it check dependency and supply chain vulnerabilities?

Yes, it covers dependency auditing with npm audit, pip-audit, and govulncheck, lock file integrity, typosquatting detection, pinned versions in CI, and SBOM generation with CycloneDX tools.

Will the security fixes break my existing application?

Fixes are applied one finding at a time with minimal diffs and regression awareness. The skill explicitly avoids breaking changes, such as not forcing Secure cookie flags or TLS requirements in local development environments.

When should I not treat missing HTTPS as a vulnerability?

Missing TLS is not flagged in local development, testing, or when TLS is handled by an external reverse proxy. The skill only treats it as an issue for production deployments and recommends environment-based configuration instead.