purple-team

Provide automated hardening for user-owned guardrails, classifiers, content filters, prompts, or APIs by orchestrating a closed-loop red-team/blue-team cycle of discovery→patch→re-verify until no new issues are found or the cycle budget is reached, then automatically submit a pull request with the patch set. Note: do not use against systems you are not authorized to test, and not intended for one-off scans; use red or blue team alone if only one function is needed.

Last repository push
GitHub Stars
185
Forks
21
Issues / PRs
1

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "purple-team" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-586ac7676982dbe8852e29fbb6763032f5f8e07b918024f8ba112163502b297f. Verify the upstream source and version against https://github.com/gaasher/Agent-Loop-Skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Provide automated hardening for user-owned guardrails, classifiers, content filters, prompts, or APIs by orchestrating a closed-loop red-team/blue-team cycle of discovery→patch→re-verify until no new issues are found or the cycle budget is reached, then automatically submit a pull request with the patch set. Note: do not use against systems you are not authorized to test, and not intended for one-off scans; use red or blue team alone if only one function is needed.

0 Downloads

Introduction source: third_party · gaasher · 0.1.0 Reference

SkillPi interpretation

Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: purple-team
description: >-
  Web Purple Teaming & Triad Security Assessment Runbook.
  Integrates Red Team attack emulation (T1595, T1190, T1110, T1083)
  with Blue Team defensive verification (WAF, CSP, HSTS, Cookie security)
  based on MITRE ATT&CK for Web Applications and NIST CSF.

🟣 Web Purple Teaming & Triad Validation Runbook

Runbook for continuous security validation that combines ethical offensive simulations (Red Team) with defensive posture hardening (Blue Team) mapped to the MITRE ATT&CK for Web Applications matrix.


🎯 MITRE ATT&CK Web Matrix

MITRE Tactic Technique ID Technique Name Red Team Probe Blue Team Verification Target Status
Reconnaissance T1595 Active Scanning Sensitive Dotfiles (/.env, /.git) Access blocked (HTTP 403/404) DEFENDED
Initial Access T1190 Exploit Public App SQLi (' OR 1=1--) & XSS Probe Input sanitized & WAF reset DEFENDED
Credential Access T1110 Brute Force Burst login POST attempts Rate limiting (HTTP 429) BLOCKED
Persistence T1505.003 Web Shell Drop Upload script execution Script engine disabled in uploads DEFENDED
Discovery T1083 File Discovery Database dump (/backup.sql) Download forbidden or TCP Reset DEFENDED

⚡ Execution via MCP

Use the native MCP tool purple_audit_triad or purple_emulate_threat:

{
  "name": "purple_audit_triad",
  "arguments": {
    "target_url": "http://target-host:port"
  }
}

Outputs return dense, token-saving results that can be toggled via set_cave_mode.

Current listing version

0.1.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供红蓝对抗闭环加固机制,解决Web应用安全防护的实际痛点
  • 支持多种目标类型(护栏、分类器、API等),具有广泛实用价值
Trigger Precision95/100

Highlights

  • 触发条件描述清晰完整,涵盖多种用户意图变体
  • 边界定义明确,避免与其他安全工具混淆
Structure and Standards95/100

Highlights

  • 文档结构完整,包含MITRE ATT&CK矩阵映射和执行示例
  • frontmatter规范,代码示例可直接用于MCP调用
Execution Reliability80/100

Areas to improve

  • 异常处理机制缺失 Reported severity: Minor

    未展示网络错误、权限不足等主要异常的处理逻辑

    Recommendation: 建议在文档中添加异常处理说明或在实现中增加错误重试机制

Highlights

  • 使用原生MCP工具,参数定义明确
  • 输出结果紧凑高效,支持cave_mode切换
Evidence Verifiability (mean of the first four)89/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 22

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.