aif-security-checklist

Audit codebases against OWASP Top 10 security checks and track ignored findings.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/1t1sCooL/zazyvala-bot --skill aif-security-checklist-1t1scool
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aif-security-checklist
Source: https://github.com/1t1sCooL/zazyvala-bot/tree/main/.cursor/skills/aif-security-checklist
Command: npx skills add https://github.com/1t1sCooL/zazyvala-bot --skill aif-security-checklist-1t1scool

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? It gives developers a structured, repeatable way to review a project for common security vulnerabilities before deployment, covering authentication, injection, XSS, CSRF, secrets management, API security, race conditions, and LLM prompt injection, while recording which checks the team has consciously decided to ignore. ## Core Features & Use Cases - Category-scoped audits: Run a full OWASP-based checklist or narrow it to a single area such as auth, injection, xss, csrf, secrets, api, infra, prompt-injection, or race-condition. - Automated audit script: A bundled bash script scans for hardcoded secrets, .env files tracked in git, missing .gitignore entries, npm vulnerabilities, console.log statements, and security TODO markers. - Ignored-items tracking: An ignore flow records accepted risks with reason, date, and author in a SECURITY.md artifact, and excluded items are shown separately in every audit report. - Use Case: Before deploying a NestJS API, run the full audit to catch missing rate limiting, exposed secrets, and injection-prone queries, then ignore the checks that do not apply to your architecture with documented reasons. ## Quick Start Ask the assistant to run a security audit of this project using the security checklist, optionally naming a category like auth or secrets.

Frequently Asked Questions about aif-security-checklist

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

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

Run the full checklist to review authentication, injection, XSS, CSRF, secrets, API, and infrastructure categories, or execute the bundled audit.sh script for automated checks on hardcoded secrets, git-tracked .env files, and npm vulnerabilities.

What does the OWASP Top 10 security checklist cover?

It covers password hashing and session management, SQL/NoSQL/command injection, XSS with CSP headers, CSRF tokens, secrets management, API input validation, security headers, dependency scanning, race conditions, and LLM prompt injection.

How do I check for hardcoded secrets in git repositories?

The audit script greps source files for password, secret, api_key, and token assignments, verifies .env is not tracked in git, and confirms .gitignore excludes it. Committed secrets should be removed with git filter-branch or BFG Repo-Cleaner and rotated immediately.

Can I exclude specific security checks from an audit?

Yes, use the ignore command with a kebab-case item ID like no-csrf or no-rate-limit. The item, reason, date, and author are stored in SECURITY.md, and ignored items appear in a separate section of every audit report instead of being flagged.

Does the checklist cover LLM prompt injection vulnerabilities?

Yes, a dedicated prompt-injection category covers direct and indirect injection, tool call validation, output filtering for secrets and PII, and RAG security. Detailed patterns are in the references/PROMPT-INJECTION.md file.

Why does the audit script fail on projects without package.json?

The npm audit step only runs when package.json exists, so projects without one simply skip dependency vulnerability scanning. All other checks like secret detection and .gitignore validation still execute normally.