Agent JSON Validation & Security
Secures and validates agent success criteria through centralized JSON parsing and defensive injection prevention.
This skill provides a robust framework for managing test-driven success criteria within the Claude Flow Novice (CFN) ecosystem. By centralizing JSON validation, it ensures that all 21 agents follow strict security protocols to prevent command injection (CVSS 8.2) while providing convenient helper functions for extracting test commands, thresholds, and suite names. It significantly improves agent reliability and maintainability by replacing duplicated validation logic with a single, production-ready source of truth.
主要功能
01Lightweight performance with negligible execution overhead (<5ms)
0212 GitHub stars
03Centralized validation logic to eliminate code duplication across agents
04Safe error handling with truncated messages to prevent information disclosure
05Automated extraction of test commands and pass rate thresholds
06Defensive JSON parsing to prevent injection attacks (CVSS 8.2)
使用场景
01Implementing secure, test-driven development workflows for AI agents
02Protecting agent environments from malicious environment variable injection
03Standardizing success criteria parsing across large-scale agent swarms