Skip to content

Security: DUBSOpenHub/swarm-command

SECURITY.md

πŸ”’ Security Policy

πŸ›‘οΈ Supported Versions

Version Supported
1.0.x βœ… Yes

🚨 Reporting a Vulnerability

We take security seriously! 🐝 If you discover a security vulnerability in this project, please report it responsibly.

How to Report

  1. DO NOT open a public GitHub issue for security vulnerabilities
  2. Instead, email us at: security@dubsopenhub.com
  3. Or use GitHub's private vulnerability reporting

What to Include

Please provide as much of the following as possible:

  • πŸ“ Description of the vulnerability
  • πŸ”„ Steps to reproduce
  • πŸ’₯ Potential impact
  • πŸ’‘ Suggested fix (if you have one)

What to Expect

  • ⏱️ Acknowledgment within 48 hours
  • πŸ” Assessment within 1 week
  • πŸ› οΈ Fix or mitigation as quickly as possible
  • πŸŽ‰ Credit in the release notes (unless you prefer anonymity)

πŸ” Security Features

This repository has the following GitHub security features configured:

Feature Status Notes
βœ… Dependabot Alerts Enabled Monitors dependencies for known vulnerabilities
βœ… Dependabot Security Updates Enabled Auto-creates PRs to fix vulnerable dependencies
βœ… Secret Scanning Enabled Detects accidentally committed secrets
βœ… Secret Scanning Push Protection Enabled Blocks pushes containing secrets
βœ… Code Scanning (CodeQL) Available Static analysis for security bugs

πŸ“‹ Best Practices

Since this is a Copilot CLI skill (no runtime code, only markdown instructions), the primary security considerations are:

  • πŸ”‘ No secrets in skill files β€” SKILL.md and agent.md should never contain API keys, tokens, or credentials
  • πŸ“œ Safe instructions β€” Skill instructions should never instruct the agent to bypass security controls
  • πŸ” Dependency awareness β€” If dependencies are added in the future, keep them updated

πŸ›‘οΈ Prompt Injection Mitigation

Since this skill orchestrates hundreds of AI agents and processes user-provided task descriptions, prompt injection is a relevant concern:

  • πŸ”’ Depth Guard β€” 3-layer enforcement prevents runaway spawning: prompt-level, contract-level, and config-level
  • 🧹 Input sanitization β€” Task descriptions are compressed through 4 layers of context reduction (128K β†’ 128 tokens), stripping potential injection payloads
  • 🚫 No credential passthrough β€” User input is used as task descriptions only; it is never interpolated into system-level commands or used to access external services
  • βš–οΈ Consensus scoring β€” Even if one agent is influenced by injected content, the median-of-3 consensus mechanism and cross-family review limits the impact on final scores
  • πŸ‘» Shadow scoring β€” Hidden criteria that agents never see provide an independent quality audit, catching outputs that look good but contain errors

πŸ“„ License

This project is licensed under the MIT License.

There aren’t any published security advisories