- Layer 4 EntropyScanner: Shannon entropy, Base32/Base64 detection, CVE-2025-55284 ping/nslookup exfil, EchoLeak markdown pattern, DNS tunneling (iodine/dnscat) - Layer 5 UnicodeScanner: ASCII Smuggling (U+E0000 Tags Block), Variant Selectors, Zero-Width steganography, CamoLeak image-ordering (CVE-2025-53773), homoglyphs, BiDi override, high-entropy URL params - 30 DNS covert channel rules (dns-001 to dns-030) - ATLASMapper: 29 techniques (ATLAS v5.4.0 Feb 2026), added AML.T0062 (Agent Tool Invocation), AML.TA0015 (C2 tactic), memory poisoning, multi-agent trust, CamoLeak, Unicode steganography mappings - Rule count: 72 → 102 - Build: tsup 316ms, zero TypeScript errors
16 lines
274 B
TypeScript
16 lines
274 B
TypeScript
'use client'
|
|
|
|
import type { ThreatLevel } from '@/lib/shieldx'
|
|
|
|
interface ThreatBadgeProps {
|
|
readonly level: ThreatLevel
|
|
}
|
|
|
|
export function ThreatBadge({ level }: ThreatBadgeProps) {
|
|
return (
|
|
<span className={`badge badge-${level}`}>
|
|
{level}
|
|
</span>
|
|
)
|
|
}
|