/

beforeshellexecution
Cursor Hook
Hook: beforeShellExecution
Opsera DevSecOps Agent — AI-powered architecture analysis, security scanning, compliance auditing, and SQL security for your codebase. Free trial included.
Skills5
architecture-analyzeRisk-focused architecture analysis that unearths deep insights specific to the codebase. Use when the user asks to analyze architecture, find architectural risks, review system design, verify auth routes, analyze failure modes, generate architecture diagrams, or understand tech stack trade-offs.
compliance-auditEvidence-based compliance auditing for SOC2, HIPAA, PCI-DSS, and ISO 27001 frameworks. Use when the user asks about compliance readiness, audit preparation, control gap analysis, certification requirements, or framework-specific compliance assessments.
pre-commit-scanAutomatic security scan triggered before git commits. Runs the Opsera security scan tool against the entire repo, categorizes findings into new (staged) vs existing, and blocks commits only if staged changes have critical/high issues.
security-scanTechnical security scanning for vulnerabilities, secrets, SAST, container security, and infrastructure-as-code issues. Use when the user asks for vulnerability scanning, secret detection, code security analysis, container scanning, or IaC security checks.
sql-securityAI-powered SQL security scanning and auto-fix for Databricks and general SQL. Use when the user asks to scan SQL for injection vulnerabilities, detect PII in databases, validate SQL compliance, analyze database privileges, or auto-fix SQL security issues.
Commands4
architecture-analyzePerform a risk-focused architecture analysis on the current codebase using Opsera DevSecOps.
compliance-auditRun an evidence-based compliance audit on the current codebase using Opsera DevSecOps.
security-scanRun a comprehensive security scan on the current codebase using Opsera DevSecOps.
sql-securityScan SQL files or database tables for security vulnerabilities using Opsera DevSecOps.