mirror of
https://github.com/CyberSecurityUP/NeuroSploit.git
synced 2026-05-10 10:37:31 +02:00
e0935793c5
116 modules | 100 vuln types | 18 API routes | 18 frontend pages Major features: - VulnEngine: 100 vuln types, 526+ payloads, 12 testers, anti-hallucination prompts - Autonomous Agent: 3-stream auto pentest, multi-session (5 concurrent), pause/resume/stop - CLI Agent: Claude Code / Gemini CLI / Codex CLI inside Kali containers - Validation Pipeline: negative controls, proof of execution, confidence scoring, judge - AI Reasoning: ReACT engine, token budget, endpoint classifier, CVE hunter, deep recon - Multi-Agent: 5 specialists + orchestrator + researcher AI + vuln type agents - RAG System: BM25/TF-IDF/ChromaDB vectorstore, few-shot, reasoning templates - Smart Router: 20 providers (8 CLI OAuth + 12 API), tier failover, token refresh - Kali Sandbox: container-per-scan, 56 tools, VPN support, on-demand install - Full IA Testing: methodology-driven comprehensive pentest sessions - Notifications: Discord, Telegram, WhatsApp/Twilio multi-channel alerts - Frontend: React/TypeScript with 18 pages, real-time WebSocket updates
38 lines
1.2 KiB
TypeScript
Executable File
38 lines
1.2 KiB
TypeScript
Executable File
import { clsx } from 'clsx'
|
|
|
|
interface BadgeProps {
|
|
variant?: 'critical' | 'high' | 'medium' | 'low' | 'info' | 'success' | 'warning' | 'default'
|
|
children: React.ReactNode
|
|
className?: string
|
|
}
|
|
|
|
const variants = {
|
|
critical: 'bg-red-500/20 text-red-400 border-red-500/30',
|
|
high: 'bg-orange-500/20 text-orange-400 border-orange-500/30',
|
|
medium: 'bg-yellow-500/20 text-yellow-400 border-yellow-500/30',
|
|
low: 'bg-blue-500/20 text-blue-400 border-blue-500/30',
|
|
info: 'bg-gray-500/20 text-gray-400 border-gray-500/30',
|
|
success: 'bg-green-500/20 text-green-400 border-green-500/30',
|
|
warning: 'bg-amber-500/20 text-amber-400 border-amber-500/30',
|
|
default: 'bg-dark-900/50 text-dark-300 border-dark-700',
|
|
}
|
|
|
|
export default function Badge({ variant = 'default', children, className }: BadgeProps) {
|
|
return (
|
|
<span
|
|
className={clsx(
|
|
'inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium border',
|
|
variants[variant],
|
|
className
|
|
)}
|
|
>
|
|
{children}
|
|
</span>
|
|
)
|
|
}
|
|
|
|
export function SeverityBadge({ severity }: { severity: string }) {
|
|
const variant = severity.toLowerCase() as BadgeProps['variant']
|
|
return <Badge variant={variant}>{severity.toUpperCase()}</Badge>
|
|
}
|