entity_id stringlengths 36 36 | source_system stringclasses 3
values | raw_snippet stringlengths 1 9.23M | normalized_structure stringlengths 1 9.23M | applied_algorithm stringclasses 3
values | complexity stringclasses 11
values | ast_metadata stringlengths 2 704 | nl_alignment stringlengths 2 150k | security_context stringlengths 238 304k | data_flow_graph stringlengths 2 4.44M | code_hash stringlengths 64 64 | created_at stringlengths 25 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|
ff19d4a3-8e31-46eb-8ef6-a362d0fb327a | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_01.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-01.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket (c... | #include "std_testcase.h"
#include <wchar.h>
#ifdef VAR_1
#include <winsock2.h>
#include <windows.h>
#include <direct.h>
#pragma comment(lib, "ws2_32")
#define VAR_1 closesocket
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#defin... | owasp_secnorm | log n | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 36, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}} | [{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "INVALID_SOCKET", "to": "connectSocket", "type": "assignment"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "MAKEWORD", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | aaba5b3e396ffc7c64a1e562b0c2ba4a78dff7f191736223dfea3588075dbb63 | 2026-06-02T15:24:25.128446+00:00 |
af450612-e115-42ea-8161-47d67079a1a2 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_02.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-02.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket (c... | #include "std_testcase.h"
#include <wchar.h>
#ifdef VAR_1
#include <winsock2.h>
#include <windows.h>
#include <direct.h>
#pragma comment(lib, "ws2_32")
#define VAR_1 closesocket
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#defin... | owasp_secnorm | log n | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 37, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}} | [{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "INVALID_SOCKET", "to": "connectSocket", "type": "assignment"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "MAKEWORD", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | 55d7b973566bb08a38a62a0e662c7b8bf946d15c7008f949230f46136f423e11 | 2026-06-02T15:24:25.773927+00:00 |
4de368a3-3b0b-4673-86b6-f7dc25027de8 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_03.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-03.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket (c... | #include "std_testcase.h"
#include <wchar.h>
#ifdef VAR_1
#include <winsock2.h>
#include <windows.h>
#include <direct.h>
#pragma comment(lib, "ws2_32")
#define VAR_1 closesocket
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#defin... | owasp_secnorm | log n | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 37, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}} | [{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "INVALID_SOCKET", "to": "connectSocket", "type": "assignment"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "MAKEWORD", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | d7664bcd8d05fe02e13996d0971fda8f74680eeca71050b04704051c08a83186 | 2026-06-02T15:24:26.411727+00:00 |
f1d42250-cebb-4eb8-aa11-c7c60265960f | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_04.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-04.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket (c... | #include "std_testcase.h"
#include <wchar.h>
#ifdef VAR_1
#include <winsock2.h>
#include <windows.h>
#include <direct.h>
#pragma comment(lib, "ws2_32")
#define VAR_1 closesocket
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#defin... | owasp_secnorm | log n | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 39, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}} | [{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "INVALID_SOCKET", "to": "connectSocket", "type": "assignment"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "MAKEWORD", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | 3611b8833a617b5d82349401f2efe50835882f2b287e29fa3362cca949ecae61 | 2026-06-02T15:24:27.028596+00:00 |
8e0241c3-b2a1-47c1-a49e-967fe7bbba2e | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_05.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-05.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket (c... | #include "std_testcase.h"
#include <wchar.h>
#ifdef VAR_1
#include <winsock2.h>
#include <windows.h>
#include <direct.h>
#pragma comment(lib, "ws2_32")
#define VAR_1 closesocket
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#defin... | owasp_secnorm | log n | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 39, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}} | [{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "INVALID_SOCKET", "to": "connectSocket", "type": "assignment"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "MAKEWORD", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | 75d356bb5283f246cd2ed8909f13f81f693faa4a35917e872d1a4ef53e80696b | 2026-06-02T15:24:27.701098+00:00 |
7910e268-4d8e-4fff-81cd-74e3d69d2138 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_06.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-06.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket (c... | #include "std_testcase.h"
#include <wchar.h>
#ifdef VAR_1
#include <winsock2.h>
#include <windows.h>
#include <direct.h>
#pragma comment(lib, "ws2_32")
#define VAR_1 closesocket
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#defin... | owasp_secnorm | log n | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 38, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}} | [{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "INVALID_SOCKET", "to": "connectSocket", "type": "assignment"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "MAKEWORD", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | 8dae0ca24e0dad12ed0b6710c23b7a656fc54f4bb0adbb47730b75cc1ce3fad2 | 2026-06-02T15:24:28.314719+00:00 |
1f6c2055-3a05-4d05-97d0-5b785ec753b9 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_07.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-07.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket (c... | #include "std_testcase.h"
#include <wchar.h>
#ifdef VAR_1
#include <winsock2.h>
#include <windows.h>
#include <direct.h>
#pragma comment(lib, "ws2_32")
#define VAR_1 closesocket
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#defin... | owasp_secnorm | log n | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 38, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}} | [{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "INVALID_SOCKET", "to": "connectSocket", "type": "assignment"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "MAKEWORD", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | e214e4623756ec017bebada7638a6c694e24df5ac764d8bbc94928a644ed6cb0 | 2026-06-02T15:24:28.943213+00:00 |
cfa77d7d-87af-48a5-a72b-1df3197b8e20 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_08.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-08.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket (c... | #include "std_testcase.h"
#include <wchar.h>
#ifdef VAR_1
#include <winsock2.h>
#include <windows.h>
#include <direct.h>
#pragma comment(lib, "ws2_32")
#define VAR_1 closesocket
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#defin... | owasp_secnorm | log n | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 39, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}} | [{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "INVALID_SOCKET", "to": "connectSocket", "type": "assignment"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "MAKEWORD", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | d783dadef1bb26fe1c9affd9b810c4aef3a24d31bc2825515432f589993ecf55 | 2026-06-02T15:24:29.571584+00:00 |
c15e2348-66c7-41e3-8e49-5dcb3c60e949 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_09.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-09.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket (c... | #include "std_testcase.h"
#include <wchar.h>
#ifdef VAR_1
#include <winsock2.h>
#include <windows.h>
#include <direct.h>
#pragma comment(lib, "ws2_32")
#define VAR_1 closesocket
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#defin... | owasp_secnorm | log n | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 39, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}} | [{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "INVALID_SOCKET", "to": "connectSocket", "type": "assignment"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "MAKEWORD", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | 661e78b0c6e3db3be9ef7e201560bc88ea15125ffd663a08b720c5f7a16c8698 | 2026-06-02T15:24:30.342192+00:00 |
a4b9f860-1457-4207-ad4f-a5a80ef9d235 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_10.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-10.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket (c... | #include "std_testcase.h"
#include <wchar.h>
#ifdef VAR_1
#include <winsock2.h>
#include <windows.h>
#include <direct.h>
#pragma comment(lib, "ws2_32")
#define VAR_1 closesocket
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#defin... | owasp_secnorm | log n | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 39, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}} | [{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "INVALID_SOCKET", "to": "connectSocket", "type": "assignment"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "MAKEWORD", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | 03efd4e1db507706b1a694c3cb16de8af60d8afc4d3765165571f0ec6f71b6dc | 2026-06-02T15:24:31.011742+00:00 |
c048ecdd-b526-429f-b223-f203b8be888c | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_11.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-11.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket (c... | #include "std_testcase.h"
#include <wchar.h>
#ifdef VAR_1
#include <winsock2.h>
#include <windows.h>
#include <direct.h>
#pragma comment(lib, "ws2_32")
#define VAR_1 closesocket
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#defin... | owasp_secnorm | log n | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 39, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}} | [{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "INVALID_SOCKET", "to": "connectSocket", "type": "assignment"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "MAKEWORD", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | 72a731ae42fd746f770585607429b8499e1048793e27713668f9d015c34c4b82 | 2026-06-02T15:24:31.620923+00:00 |
1215f1c3-49ba-4b3c-bd05-264de56c3d70 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_12.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-12.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket (c... | #include "std_testcase.h"
#include <wchar.h>
#ifdef VAR_1
#include <winsock2.h>
#include <windows.h>
#include <direct.h>
#pragma comment(lib, "ws2_32")
#define VAR_1 closesocket
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#defin... | owasp_secnorm | log n | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 37, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}} | [{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "INVALID_SOCKET", "to": "connectSocket", "type": "assignment"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "MAKEWORD", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | 2446e25c175e334bc777081a30da1d910ad6db026bfc963ec84acfabd42588a3 | 2026-06-02T15:24:32.299564+00:00 |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 4