skill-audit

Audit skill definitions and scripts for security vulnerabilities.

161|21|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/softspark/ai-toolkit --skill skill-audit-softspark
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-audit
Source: https://github.com/softspark/ai-toolkit/tree/main/app/skills/skill-audit
Command: npx skills add https://github.com/softspark/ai-toolkit --skill skill-audit-softspark

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Scanning skill and agent definitions for hidden security vulnerabilities such as dangerous patterns, hard‑coded secrets, and overly permissive tool access, preventing unsafe deployments.

Core Features & Use Cases

  • Frontmatter analysis identifies permission issues and missing fields.
  • Script scanning detects high‑risk Python and Bash patterns.
  • Secret detection finds exposed keys, tokens, and private data.
  • Automated fixing can add missing allowed‑tools and replace unsafe eval calls when --fix is used.
  • CI integration exits with error on high‑severity findings, suitable for pipelines.

Quick Start

Run the audit on all skills and automatically fix safe issues by asking the AI to execute /skill-audit --all --fix.

Frequently Asked Questions about skill-audit

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

FAQPage Schema
How do I scan scripts and agent definitions for hard-coded secrets and dangerous code patterns?

To scan scripts and agent definitions for hard-coded secrets and dangerous patterns, run an audit tool that analyzes frontmatter permissions, detects high-risk Python and Bash code, and identifies exposed keys or tokens to prevent unsafe deployments.

Can I automatically fix missing allowed-tools and unsafe eval calls in my skill definitions?

Yes, you can automatically fix missing allowed-tools and replace unsafe eval calls by running the security audit with the auto-fix flag enabled, which safely remediates detected permission issues and dangerous code patterns.

Does security auditing for agent skills support CI pipeline integration?

Yes, security auditing for agent skills supports CI pipeline integration by returning appropriate exit codes, automatically failing the pipeline when high-severity vulnerabilities such as excessive tool permissions or exposed secrets are detected.

What security vulnerabilities are commonly found in skill and agent definitions?

Common security vulnerabilities found in skill and agent definitions include overly permissive tool access, missing frontmatter fields, exposed hard-coded secrets like API keys, and high-risk Python or Bash code patterns.

What's the best way to audit all skills for missing frontmatter and permission issues?

The best way to audit all skills for missing frontmatter and permission issues is to execute a comprehensive scan that analyzes frontmatter fields and detects excessive tool permissions across all agent and skill definitions.

Are there limitations to automatically fixing security risks in Python and Bash scripts?

Automated fixing of security risks in Python and Bash scripts is limited to safe issues only, such as adding missing allowed-tools and replacing unsafe eval calls, ensuring that complex or high-severity vulnerabilities require manual review.