test_id,category,test_name,attack_type,severity,protocol,payload,expected_behavior,detection_method,mitigation,cvss_score,cwe_id,passed,notes
1,authentication,brute_force_password,credential_stuffing,high,CHAT,"{""attempts"": 1000, ""delay_ms"": 0}",rate_limited,attempt_counter,lockout_after_5_attempts,7.5,CWE-307,true,"Rapid password attempts"
2,authentication,dictionary_attack,credential_stuffing,high,CHAT,"{""wordlist"": ""rockyou.txt"", ""attempts"": 10000}",rate_limited,pattern_detection,progressive_delay,7.5,CWE-307,true,"Dictionary-based attack"
3,authentication,credential_replay,replay_attack,high,CHAT,"{""captured_auth"": true, ""replay_count"": 5}",rejected,nonce_validation,timestamp_nonce,8.1,CWE-294,true,"Replayed authentication"
4,authentication,session_fixation,session_attack,high,CHAT,"{""fixed_session"": ""abc123""}",rejected,session_regeneration,new_session_on_auth,7.1,CWE-384,true,"Fixed session token"
5,authentication,session_hijacking,session_attack,critical,CHAT,"{""stolen_token"": true, ""different_ip"": true}",rejected,ip_binding,multi_factor_verification,9.1,CWE-384,true,"Session token theft"
6,authentication,timing_attack,side_channel,medium,CHAT,"{""measure_response_time"": true, ""samples"": 1000}",constant_time_response,timing_analysis,constant_time_comparison,5.3,CWE-208,true,"Response timing analysis"
7,authentication,empty_password,input_validation,medium,CHAT,"{""username"": ""admin"", ""password"": """"}",rejected,input_validation,require_non_empty,5.3,CWE-521,true,"Empty password attempt"
8,authentication,null_byte_username,input_validation,high,CHAT,"{""username"": ""admin\\x00attacker""}",rejected,input_sanitization,filter_null_bytes,7.5,CWE-626,true,"Null byte injection"
9,authentication,unicode_normalization,input_validation,medium,CHAT,"{""username"": ""admin\\u200b""}",normalized,unicode_handling,normalize_before_compare,5.3,CWE-179,true,"Unicode normalization bypass"
10,authentication,case_sensitivity,logic_flaw,low,CHAT,"{""username"": ""Admin"", ""password"": ""correct""}",case_handled,case_normalization,consistent_case_handling,3.7,CWE-178,true,"Case sensitivity check"
11,encryption,downgrade_tls10,protocol_downgrade,high,TLS,"{""force_version"": ""TLS1.0""}",rejected,version_check,minimum_tls12,7.4,CWE-757,true,"TLS 1.0 downgrade attempt"
12,encryption,downgrade_ssl3,protocol_downgrade,critical,TLS,"{""force_version"": ""SSL3.0""}",rejected,version_check,disable_ssl3,9.1,CWE-757,true,"SSL 3.0 downgrade attempt"
13,encryption,weak_cipher,cipher_weakness,high,TLS,"{""cipher"": ""RC4-MD5""}",rejected,cipher_check,strong_cipher_only,7.4,CWE-327,true,"Weak cipher suite"
14,encryption,null_cipher,cipher_weakness,critical,TLS,"{""cipher"": ""NULL-SHA""}",rejected,cipher_check,no_null_cipher,9.8,CWE-327,true,"Null cipher attempt"
15,encryption,certificate_mismatch,certificate_attack,high,TLS,"{""hostname"": ""evil.com"", ""cert"": ""legitimate.com""}",rejected,hostname_verify,strict_verification,7.4,CWE-295,true,"Certificate hostname mismatch"
16,encryption,expired_certificate,certificate_attack,high,TLS,"{""cert"": ""expired""}",rejected,expiry_check,reject_expired,7.4,CWE-295,true,"Expired certificate"
17,encryption,self_signed,certificate_attack,medium,TLS,"{""cert"": ""self_signed""}",rejected,chain_verify,require_ca_signed,6.5,CWE-295,true,"Self-signed certificate"
18,encryption,key_reuse,cryptographic,medium,TLS,"{""nonce_reuse"": true}",detected,nonce_tracking,unique_nonces,6.5,CWE-323,true,"Nonce/IV reuse"
19,encryption,padding_oracle,cryptographic,high,CHAT,"{""padding_attack"": true, ""samples"": 256}",no_leak,constant_time,authenticated_encryption,7.5,CWE-649,true,"Padding oracle attack"
20,encryption,mitm_attempt,mitm,critical,TLS,"{""intercept"": true}",detected,certificate_pinning,pin_certificates,9.1,CWE-300,true,"Man-in-the-middle"
21,injection,sql_username,sql_injection,critical,CHAT,"{""username"": ""admin'--""}",rejected,input_validation,parameterized_queries,9.8,CWE-89,true,"SQL injection in username"
22,injection,sql_message,sql_injection,critical,CHAT,"{""content"": ""'; DROP TABLE users;--""}",rejected,input_validation,parameterized_queries,9.8,CWE-89,true,"SQL injection in message"
23,injection,xss_script,xss,high,CHAT,"{""content"": """"}",sanitized,output_encoding,html_escape,7.1,CWE-79,true,"XSS script injection"
24,injection,xss_img,xss,high,CHAT,"{""content"": ""
""}",sanitized,output_encoding,html_escape,7.1,CWE-79,true,"XSS via img tag"
25,injection,xss_svg,xss,high,CHAT,"{""content"": ""