Works with the AI Agents you already use
DevSecOps, OWASP & Row Level Security Guide
by ScStudy5
5-layer DevSecOps, OWASP ASVS, PostgreSQL/Supabase RLS, Privacy by Design, and supply-chain security audit guide with Threat Model template.
Free
DevSecOps, OWASP & Row Level Security Guide
Example session with this skill installed
Perform a 5-layer DevSecOps and RLS audit on our multi-tenant SaaS (Next.js + Supabase PostgreSQL + Stripe) and generate a STRIDE Threat Model plus security.txt.
- Read your context and instructions
- Compiled the devsecops owasp
5-Layer Security & Privacy Audit Summary
**Critical (`TM-01` — RLS / IDOR):** `invoices` table has RLS enabled for `SELECT` but lacks `UPDATE`/`DELETE` policies checking `organization_id = auth.jwt()->>'org_id'`. Remediation: add explicit per-operation RLS policies and cross-tenant integration tests.
2.
Critical (TM-04 — Client Bundle Leak): SUPABASE_SERVICE_ROLE_KEY is referenced in a shared helper imported by a client component, and production builds emit .map sourcemaps. Remediation: move admin client to server-only route, set sourcemap: false, and strip console.*/debugger.
3.
High (TM-02 — Auth Hygiene): Password reset returns distinct messages for registered vs. unregistered emails (account enumeration). Remediation: return uniform generic responses and add per-IP rate limiting.
4. Medium — Supply Chain: Lockfile is present, but CI lacks Gitleaks secret scanning and SCA (Dependabot/Trivy).
Generated Artifacts
- Customized
THREAT_MODEL.mdcoveringTM-01–TM-06with verification owners. - Standards-compliant
/.well-known/security.txt(RFC 9116).
Connects securely to your tools. The creator never sees your data.
About this skill
Build Security & Privacy by Design into every stage of your software lifecycle. DevSecOps, OWASP & Row Level Security Guide gives your AI coding agent a 5-layer security audit workflow, deep PostgreSQL/Supabase Row Level Security (RLS) checks, supply-chain hardening, and a ready-to-use threat modeling template.
What's Included (3 Files)
SKILL.md— Structured 3-mode workflow (Design Controls, 5-Layer Audit, Generate Security Artifacts) scaled proportionally to project rigor (1. MVP,2. Professional,3. Enterprise).references/security-privacy-supply-chain.md— Comprehensive engineering reference covering:- DevSecOps & Application Security: SSDLC, Threat Modeling, Least Privilege, Zero Trust, RBAC/ABAC, MFA for admin panels, OAuth 2.0/OIDC, session revocation & anti-enumeration, IDOR/BOLA prevention, server-side pricing/business rule enforcement, production bundle hygiene (
drop: ['console', 'debugger'],sourcemap: false, no leaked shared secrets), Security Headers, Rate Limiting, and Row Level Security (RLS) policies (SELECT/INSERT/UPDATE/DELETE, views, functions, Storage buckets, and keepingservice_rolekeys strictly server-side). - Privacy & Personal Data Protection: Privacy by Design/Default, data minimization, granular consent, retention/deletion, non-production data masking, ARCO rights (including Mexico LFPDPPP), and ISO/IEC 27701 / 29100.
- Software Supply Chain & Anti-Vibe-Coding Guard: Lockfiles, SCA, SBOM, container/IaC scanning, license compatibility, Sigstore/SLSA release integrity, and diff checks against hallucinated/slopsquatted dependencies.
- Standards Alignment: OWASP Top 10, OWASP API Security Top 10, OWASP ASVS 5.0, OWASP Top 10 for LLMs, NIST SSDF (SP 800-218), ISO/IEC 27001:2022, and CIS Controls.
- DevSecOps & Application Security: SSDLC, Threat Modeling, Least Privilege, Zero Trust, RBAC/ABAC, MFA for admin panels, OAuth 2.0/OIDC, session revocation & anti-enumeration, IDOR/BOLA prevention, server-side pricing/business rule enforcement, production bundle hygiene (
examples/THREAT_MODEL_TEMPLATE.md— Ready-to-customize STRIDE/OWASP Threat Model matrix (TM-01toTM-06: IDOR/RLS, Auth/Sessions, Payments/Race Conditions, Secrets/Build Leaks, Storage/Uploads, Supply Chain) plus an RFC 9116/.well-known/security.txttemplate.
Why Teams Use It
- Catches the real-world production bugs automated linters miss—like broken RLS policies, missing
owner_idchecks (IDOR/BOLA), leaked client-side business logic, and AI-hallucinated npm/PyPI packages. - Classifies every finding clearly by severity (
Critical / High / Medium / Low), location, impact, and concrete remediation.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.
Provides structured defensive checklists, audit frameworks, and templates; does not execute automated vulnerability scans, active penetration tests, or legal counsel.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 1 day ago
- Free with an Agensi account
- Software
Git
Permissions
File Scopes
Security and privacy reference guides and templates only; makes no network requests and reads no production credentials.