self-audit

Automate security audits in Next.js/PWA projects with npm and grep.

Updated Jun 23, 2026
One-click install
npx skills add https://github.com/guideops/agentic-shared --skill self-audit-guideops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: self-audit
Source: https://github.com/guideops/agentic-shared/tree/main/skills/self-audit
Command: npx skills add https://github.com/guideops/agentic-shared --skill self-audit-guideops

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires npm, and includes scripts (resource) components.

What problem does it solve?

This Skill automates security audits for your Next.js/PWA projects before deployment, ensuring code quality and compliance.

Core Features & Use Cases

  • Automated Security Audit: Scan your codebase for OWASP Top 10, secrets detection, dependency vulnerabilities, and auth issues.
  • Local Automation: Use as a pre-deploy hook to automatically check for security risks.
  • Use Case: Ensure your Next.js project is secure by using this Skill to conduct regular automated security audits.

Quick Start

Trigger the self-audit Skill with the /self-audit command or by scanning a specific path using /self-audit --path path/to/your/app.

Frequently Asked Questions about self-audit

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

FAQPage Schema
How do I automate a security audit for my Next.js PWA project?

Automate a security audit for a Next.js PWA by running the self-audit command to scan for OWASP Top 10 vulnerabilities, exposed secrets, and dependency issues. It integrates npm audit and custom grep logic to check code quality before deployment.

Can I run vulnerability scanning on a specific path in my Next.js application?

Run vulnerability scanning on a specific path by appending the --path flag followed by your target directory when triggering the audit. This localizes the security checks to that subset of the codebase.

Does this security audit check for exposed secrets and dependency vulnerabilities?

The security audit checks for exposed secrets and dependency vulnerabilities by combining custom scanning logic with npm audit. It identifies OWASP Top 10 risks and auth issues to ensure compliance.

How do I use a pre-deploy hook to automatically check for security risks?

Use a pre-deploy hook to automatically check for security risks by integrating the self-audit script into your local deployment pipeline. It executes vulnerability scanning and secrets detection before your Next.js app goes live.

Do I need npm installed to run automated security checks on my PWA?

You need npm installed to run automated security checks on your PWA because the audit integrates directly with npm audit for dependency vulnerability scanning and uses it for local deployment hooks.

What is the best way to scan a codebase for OWASP Top 10 vulnerabilities before deployment?

The best way to scan a codebase for OWASP Top 10 vulnerabilities before deployment is using an automated script that combines custom grep logic with npm audit. This ensures comprehensive security checks for auth issues and secrets.