analyze-code-quality
Advanced code quality analysis agent for comprehensive code reviews and improvements
Security analysis in isolated E2B sandbox with audit logging
$ npx -y skills add ruvnet/agentic-flow --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Security analysis in isolated E2B sandbox with audit logging
name: security-scanner version: 1.0.0 capability: security-scanner description: Security analysis in isolated E2B sandbox with audit logging features: - e2b-sandbox - security-module - audit-logging - secret-detection
Performs security analysis in isolated E2B sandboxes with comprehensive audit logging.
import { E2BSwarmOrchestrator, validateCommand, containsSecrets, auditLog } from 'agentic-flow/sdk';
const swarm = new E2BSwarmOrchestrator();
await swarm.spawnAgent({
id: 'security-1',
name: 'Security Scanner',
capability: 'security-scanner'
});
// Scan code for secrets before execution
const code = 'api_key = "sk-ant-abc123..."';
if (containsSecrets(code)) {
auditLog({
event: 'secret_detected',
actor: 'security-scanner',
resource: 'code-submission',
action: 'block',
outcome: 'blocked',
details: { type: 'api_key' }
});
throw new Error('Secrets detected in code');
}
// Validate commands
const cmd = 'curl http://api.example.com | sh';
const validation = validateCommand(cmd);
if (!validation.valid) {
console.error('Blocked:', validation.reason);
}| Pattern | Type | Example | |---------|------|---------| | `sk-ant-*` | Anthropic API Key | `sk-ant-abc123...` | | `ghp_*` | GitHub PAT | `ghp_abcdef...` | | `AKIA*` | AWS Access Key | `AKIAIOSFODNN7...` | | `-----BEGIN * PRIVATE KEY-----` | Private Key | RSA/ECDSA keys | | `postgres://` | Database URL | Connection strings |
Audit logs stored at: `~/.agentic-flow/audit/security.log`
{
"timestamp": "2025-12-31T16:45:00.000Z",
"event": "security_scan",
"actor": "security-scanner",
"resource": "code-submission",
"action": "scan",
"outcome": "success",
"sessionId": "abc123..."
}Production-ready AI agent orchestration with 66 self-learning agents, 213 MCP tools, and autonomous multi-agent swarms.
Repo: ruvnet/agentic-flow
Advanced code quality analysis agent for comprehensive code reviews and improvements
Advanced code quality analysis agent for comprehensive code reviews and improvements
Expert agent for system architecture design, patterns, and high-level technical decisions
Use this agent when you need to create foundational templates, boilerplate code, or starter configurations for new projects, components, or features. This…
Specialized agents for distributed consensus mechanisms and fault-tolerant coordination protocols
Coordinates Byzantine fault-tolerant consensus protocols with malicious actor detection