auto-approve-security

Document threat models and flag security gaps in auto-approve permission systems.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/shellicar/skills --skill auto-approve-security
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auto-approve-security
Source: https://github.com/shellicar/skills/tree/main/skills/auto-approve-security
Command: npx skills add https://github.com/shellicar/skills --skill auto-approve-security

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill documents the threat model and mitigations for auto-approve permission systems so that autonomous edit-and-execute workflows do not enable arbitrary code execution or configuration poisoning.

Core Features & Use Cases

  • Exploit chain analysis: Step-by-step attack paths (edit+execute, script injection, git hooks, config poisoning) and how each is mitigated.
  • Concrete mitigations: Clear deny/allow rule recommendations, PreToolUse hook constraints, and filesystem protections for settings, hooks, and skills.
  • Audit checklist & testing notes: Practical tests and verified outcomes to validate that deny rules and hooks are effective in real sessions.

Quick Start

Ask Claude to evaluate a new auto-approve request against the documented threat model and return any security gaps, required deny rules, and recommended PreToolUse hook updates.

Frequently Asked Questions about auto-approve-security

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

FAQPage Schema
How do I secure autonomous workflows with auto-approve enabled?

Securing autonomous workflows with auto-approve enabled requires documenting the threat model and applying explicit deny rules. This Skill flags security gaps and provides PreToolUse hook constraints to prevent arbitrary code execution.

What are common exploit chains in auto-approve permission systems?

Common exploit chains in auto-approve permission systems include edit-and-execute attacks, script injection, git hooks, and configuration poisoning. This Skill provides step-by-step analysis of these attack paths and their mitigations.

How do I configure deny and allow rules to prevent arbitrary code execution?

Configuring deny and allow rules involves setting explicit PreToolUse hook constraints and filesystem protections for settings and hooks. This Skill provides concrete rule recommendations to block exploit chains and configuration poisoning.

Can I use this threat model analysis for build and test command execution?

Yes, this threat model analysis covers build and test command execution, script execution, git hooks, and shell interactions. It is designed specifically for autonomous workflows where Edit and Write are auto-approved.

How do I audit auto-approve security rules to verify they work?

Auditing auto-approve security rules involves running practical tests against documented exploit chains to validate deny rules and hooks. This Skill provides an audit checklist with testing notes and verified outcomes for real sessions.

What is the best way to prevent configuration poisoning in auto-approved environments?

Preventing configuration poisoning in auto-approved environments requires applying filesystem protections for settings, hooks, and skills. This Skill documents the threat model and provides concrete mitigations against configuration poisoning attacks.