Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    DevSecOps, OWASP & Row Level Security Guide

    by ScStudy5

    1

    5-layer DevSecOps, OWASP ASVS, PostgreSQL/Supabase RLS, Privacy by Design, and supply-chain security audit guide with Threat Model template.

    Free

    Security scanned
    DevSecOps, OWASP & Row Level Security Guide

    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.md covering TM-01–TM-06 with 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 keeping service_role keys 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.
    • examples/THREAT_MODEL_TEMPLATE.md — Ready-to-customize STRIDE/OWASP Threat Model matrix (TM-01 to TM-06: IDOR/RLS, Auth/Sessions, Payments/Race Conditions, Secrets/Build Leaks, Storage/Uploads, Supply Chain) plus an RFC 9116 /.well-known/security.txt template.

    Why Teams Use It

    • Catches the real-world production bugs automated linters miss—like broken RLS policies, missing owner_id checks (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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Read Files
    Write Files

    File Scopes

    Project
    source
    files
    database
    policies
    and
    generated
    threat
    models
    or
    security
    docs

    Security and privacy reference guides and templates only; makes no network requests and reads no production credentials.

    Listed1 day ago

    What's inside

    Frequently Asked Questions

    The bundled instructions, reference guide, and templates are written in Spanish. Multilingual AI agents read them directly and produce threat models, audit findings, RLS reviews, and security docs in English or any other language you request.

    No. This skill provides structured security engineering workflows, checklists, and templates only. It runs cleanly with any AI agent without extra CLI installs or credentials.

    Yes. It specifically audits PostgreSQL/Supabase-style BaaS setups: verifying RLS is enabled on all API-exposed tables, checking explicit SELECT/INSERT/UPDATE/DELETE policies, testing cross-user access, reviewing views/functions/Storage buckets, and ensuring service_role keys never enter the frontend bundle.

    No. It is designed for defensive engineering—threat modeling, code/architecture audits, privacy compliance, and DevSecOps hardening—not active exploitation against production targets.

    New in Security

    Free