Back to .md Directory

Security Guardrails & Policy

Defines mandatory rules for offensive and defensive skills, including disclaimers, user confirmation, and safe design requirements.

May 2, 2026
0 downloads
0 views
ai agent guardrails
View source

What this file does

Defines mandatory rules for offensive and defensive skills, including disclaimers, user confirmation, and safe design requirements.

When to use it

  • Contributing offensive security skills to a shared repository
  • Establishing a policy for agent-based security tools
  • Reviewing pull requests that add pentesting or red teaming capabilities
  • Setting up guardrails for a multi-contributor agent skill hub

Security Guardrails & Policy

Agent Skills Hub is a powerful toolkit. With great power comes great responsibility. This document defines the Rules of Engagement for all security and offensive capabilities in this repository.

Offensive Skills Policy (The "Red Line")

What is an Offensive Skill? Any skill designed to penetrate, exploit, disrupt, or simulate attacks against systems. Examples: Pentesting, SQL Injection, Phishing Simulation, Red Teaming.

1. The "Authorized Use Only" Disclaimer

Every offensive skill MUST begin with this exact disclaimer in its SKILL.md:

⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.

2. Mandatory User Confirmation

Offensive skills must NEVER run fully autonomously.

  • Requirement: The skill description/instructions must explicitly tell the agent to ask for user confirmation before executing any exploit or attack command.
  • Agent Instruction: "Ask the user to verify the target URL/IP before running."

3. Safe by Design

  • No Weaponized Payloads: Skills should not include active malware, ransomware, or non-educational exploits.
  • Sandbox Recommended: Instructions should recommend running in a contained environment (Docker/VM).

Defensive Skills Policy

What is a Defensive Skill? Tools for hardening, auditing, monitoring, or protecting systems. Examples: Linting, Log Analysis, Configuration Auditing.

  • Data Privacy: Defensive skills must not upload data to 3rd party servers without explicit user consent.
  • Non-Destructive: Audits should be read-only by default.

Legal Disclaimer

By using this repository, you agree that:

  1. You are responsible for your own actions.
  2. The authors and contributors are not liable for any damage caused by these tools.
  3. You will comply with all local, state, and federal laws regarding cybersecurity.

What's inside

3 policy sections (offensive, defensive, legal) plus 3 sub-rules for offensive skills

Change this for your project

  • Replace Agent Skills Hub with your repository name
  • Replace SKILL.md with your skill metadata filename
  • Replace Docker/VM with your recommended sandbox environment

Where it goes

Load as policy context for the agent, or keep beside the code enforcing the rules.

Related Documents