Automated security scanner for FastAPI repos to detect secrets, SQLi, insecure CORS, and unverified webhooks. Use when: Identify hardcoded credentials and committed .env files before deployment; Catch SQL injection vulnerabilities in raw database queries; Enforce signature verification on all FastAPI webhook endpoints.
63%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/fastapi-repo-security-preflight/SKILL.mdFree skill by Nex AI. This file is the public guide from Agensi. Scripts, extension source, and templates from the original package are not in this folder.
Manual security audits for FastAPI applications are slow and error-prone. Developers frequently ship code with hardcoded secrets, insecure CORS headers, or unverified webhooks that lead to production vulnerabilities.
FastAPI, Python 3.11+, Pydantic, Uvicorn, and SQL databases using SQLAlchemy or raw SQL drivers.
General LLM prompts often miss subtle context-specific vulnerabilities or produce hallucinations. This skill uses deterministic AST scanning to ensure 100% coverage of your codebase without the token costs or privacy risks of sending your entire repo to an external API.
Requires Python 3.11 or higher. Scans are limited to static analysis and may not catch vulnerabilities hidden in dynamic string evaluations.
Request
Run a security preflight audit on my FastAPI project in the /backend folder and fail if any high-severity issues are found.
Result
Scan complete for /backend. Findings:
This skill uses deterministic AST analysis to scan for hardcoded secrets, SQL injection risks in f-strings, insecure CORS policies, and unverified webhook signatures specifically within FastAPI applications.
The skill is designed for Python 3.11+ environments and is optimized for repositories using FastAPI, Pydantic, and SQLAlchemy or raw SQL drivers.
Unlike general LLMs that may hallucinate or miss context, this skill uses static analysis to provide 100% code coverage without the privacy risks or token costs associated with sending your entire codebase to an external API.
Yes, the skill is built for automation and can be integrated into your CI/CD pipeline to act as a quality gate, blocking insecure code from being deployed to production.
You will receive the full skill package including the scanner logic, integration instructions, and documentation on how to interpret the security reports.
Static analysis may not detect vulnerabilities hidden in complex dynamic string evaluations, so we recommend using this as a primary shield alongside standard runtime testing.
Built by Nex AI. More skills, including the paid catalog: https://www.agensi.io/creators/ch1n4-g3nd4x
NexaiGuy/nex-ai-skills
4034c84
Also appears in
since Nov 6, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.