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 |
4410d456-9d9a-427b-bde2-8d52f29433d6 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_13.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-13.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": "... | d9ff371fb42c8c7612b03bde7c246b15bbb22835c616e5a27a11cd67d21c5937 | 2026-06-02T15:24:32.958598+00:00 |
8d4a9eae-64c5-4782-8627-9e1e362309d6 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_14.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-14.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": "... | 8f4ce0ff72c41f0cea1b22e2a743e6331648b5d73b92637f35a6f6bca7ec7a48 | 2026-06-02T15:24:33.636158+00:00 |
2f022622-7940-4020-b285-13defefed231 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_15.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-15.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": "... | 234909c297380256cadbf5cbf722875c953b273fddb01a4b7515089daea33824 | 2026-06-02T15:24:34.241301+00:00 |
80c81dd9-be91-4b0a-b2a9-36eb5dc94077 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_16.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-16.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 | n 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": "... | 7dd289f49a136cd201d23715c0b13f1d92b4b014c9d3e1370b67700f3ef2b9c1 | 2026-06-02T15:24:35.016107+00:00 |
a7e1cfd1-bb19-485f-ad64-5fa32670c7d5 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_17.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-17.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 | n 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": "... | 676e01c8b6e298baae5d9d21995224762d99c7426db5320beee413ff573752fe | 2026-06-02T15:24:35.657388+00:00 |
cfa0f390-4bc5-4cc3-8031-4748f1df2940 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_18.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-18.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": "... | 1d0b56d791d201bd6c4a416454cd8bbba7a34d9cee1c2ba16d688780d2960b44 | 2026-06-02T15:24:36.304971+00:00 |
c08cd5b7-6b6b-48d1-80b8-e7d48b01eeac | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_21.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-21.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": 43, "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": "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": "wsaData", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | 355eaf4de7a30c6b57eabb236de2815ce078430eba9948c4cab113dc5910575c | 2026-06-02T15:24:36.931455+00:00 |
c113dbea-e671-4238-b026-6ed42c469b3d | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_22a.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-22a.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
#ifndef VAR_1
int VAR_1 = 0;
char * VAR_2(char * VAR_4);
void VAR_1()
{
char * VAR_5;
char VAR_6[100] = "";
VAR_5 = VAR_6;
VAR_2 = 1;
VAR_5 = VAR_3(VAR_5);
{
TYPE_4 VAR_8;
VAR_8 = LoadLibraryA(VAR_6... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 21, "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": "CWE114_Process_Control__w32_char_connect_socket_22_badSource", "to": "data", "type": "assignment"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_connect_socket_22_badSource", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule"... | a7397b2edb5916e0b5fa53a4906e9db6e69851cd803f8da00f744fc160c41ba3 | 2026-06-02T15:24:37.640684+00:00 |
8462295b-6361-4fcd-b77f-7b0eaa2ecb85 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_22b.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-22b.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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": 32, "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": "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": "wsaData", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | 87052f951fa7230786cc9ada71102ec6e6f6c9271951d095682d176cd76ccd71 | 2026-06-02T15:24:38.312367+00:00 |
5a4a88a1-623b-499a-b84e-5f19d5df83a3 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_31.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-31.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": "... | 50bd5176aec4b2332f8a438f072f01bba0ec64c279f90eb0f33ddd67b0ee137a | 2026-06-02T15:24:39.112687+00:00 |
317db4e8-c62d-4474-a0c1-eb8661056688 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_32.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-32.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": "... | 58fb5d544031c8ec8c8c8736f25d19efaf4bc3237c7330d2db0c58cd1047c8be | 2026-06-02T15:24:39.865063+00:00 |
c2d0f584-59ba-4e91-8ae5-50e66215b55d | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_33.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-33.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socke... | #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": "... | 6ebd9f22ccfdb19a3f92cb67e5eb93a4dcd254ac6fa04ffdaee5a4c0fef8250d | 2026-06-02T15:24:40.628426+00:00 |
95f95858-298a-4ced-aaf8-510ad5be3280 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_34.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-34.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": 40, "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": "... | 170e15b9c833110cddac448ab02f2a4cccd68ef0d01736713dc5578a645cf8af | 2026-06-02T15:24:41.365200+00:00 |
d6267544-a5ff-408b-81b4-5839d254921b | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_41.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-41.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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "INVALID_SOCKET", "to": "connectSocket", "type": "assignment"}... | 93e12619a2fdc223a346f367c539f866effc3e4674678258f1af4c3b267c7822 | 2026-06-02T15:24:42.024048+00:00 |
a9e83c7d-6652-433f-86d5-4ff5df9936ed | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_42.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-42.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": "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": "wsaData", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | 2cb2cab5d3652079f6772d4387eab4cd026fa812f2c60cd478f399a302438dc5 | 2026-06-02T15:24:42.684332+00:00 |
9bad6353-ac9d-4adb-8c40-9df30b3dfb77 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_43.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-43.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socke... | #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": "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": "wsaData", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | aee35fc920099cdecf710611968ae9e1b175fbc81e13dd1a34db0fe18088a358 | 2026-06-02T15:24:43.415084+00:00 |
d8340ccc-9abb-443f-a3d9-b0ce84fc625f | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_44.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-44.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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "INVALID_SOCKET", "to": "connectSocket", "type": "assignment"}... | b0fe4fe0a8206927e70b0dff1af422365cd41ceff4906fb51d4126ae74b0617f | 2026-06-02T15:24:44.088032+00:00 |
b8bd6bc4-2f04-4c5a-b527-dcca35216332 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_45.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-45.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": 40, "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": "CWE114_Process_Control__w32_char_connect_socket_45_badData", "to": "data", "type": "assignment"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "dataBuffer", "... | c64303eb6f683e789eeb2b00098f6781e4f07ce38cb9f8ca77de8f9bbe807912 | 2026-06-02T15:24:45.103956+00:00 |
472739a5-e243-4389-854c-3c0b072a9d9d | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_51a.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-51a.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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": 35, "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": "... | e618f398871458b8fa1a1f38c5e287b49784795571be9477da6986b5bb13ae6b | 2026-06-02T15:24:45.750039+00:00 |
185b8ba3-a796-4e95-80e1-9a35fc4aef1c | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_51b.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-51b.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 13, "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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"... | 69135db050d535d5959303d133652a7dc2c1d9cd9c576324786cd6269012a318 | 2026-06-02T15:24:46.412176+00:00 |
d09d8cc8-c841-498b-b4f7-12bf5be2abd9 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_52a.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-52a.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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": 35, "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": "... | 83b9fafe59c54fdbf22daa818a19775baf32faa38702e71c797bff9ab34ffabd | 2026-06-02T15:24:47.082103+00:00 |
17e27a1e-f666-437b-94de-143812cb3700 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_52b.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-52b.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 11, "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": "data", "to": "CWE114_Process_Control__w32_char_connect_socket_52c_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_connect_socket_52c_goodG2BSink", "type": "call_arg"}] | b486a6d1cd340e6e5cd51abb56302069d5723da7025c0a4ec6820adc3bc365ec | 2026-06-02T15:24:47.724984+00:00 |
4b7e8152-5ee7-489c-8c70-5e072e90ab2d | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_52c.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-52c.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 13, "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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"... | 9c784a422a27f3fd88de7739895aee732224766a7d2cb301b8a4e132c250ea49 | 2026-06-02T15:24:48.437913+00:00 |
f2178c89-34cf-41fc-8a5a-e626d3d605f9 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_53a.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-53a.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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": 35, "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": "... | 1c22203c81a16689661d716f0a2a80ab07249ee96df6f2ac1e12a5de447a531a | 2026-06-02T15:24:49.113188+00:00 |
e0ac4527-3b91-4b9c-981d-41ac232b817c | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_53b.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-53b.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 11, "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": "data", "to": "CWE114_Process_Control__w32_char_connect_socket_53c_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_connect_socket_53c_goodG2BSink", "type": "call_arg"}] | ed087388f3d52ad274b9b2fb0413c5cd6159897bb3a9948b0a6e002b8d864370 | 2026-06-02T15:24:49.814679+00:00 |
8bd560a6-4337-4d4e-948b-9ddc2fad5b4e | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_53c.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-53c.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 11, "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": "data", "to": "CWE114_Process_Control__w32_char_connect_socket_53d_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_connect_socket_53d_goodG2BSink", "type": "call_arg"}] | 30c1a1ed2f9b3cfe7181e0b2e4f285cb2426c5d0f55e791bb29c51c302551edd | 2026-06-02T15:24:50.499245+00:00 |
6f600201-5402-461e-b57b-7013bbfac1dd | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_53d.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-53d.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 13, "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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"... | be58ab0844b15d1e1e22843b1f6c3b04717797bf9e624b3d608d6b38108595f0 | 2026-06-02T15:24:51.187559+00:00 |
e0b1aaba-b625-47dc-b775-a686d8d63e27 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_54a.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-54a.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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": 35, "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": "... | 8788dc48d9a272939e0c903beb8af1d1a50d8b893e1ec3c81843989f1b94363a | 2026-06-02T15:24:51.869502+00:00 |
56af844d-aedd-4ef0-9e26-494134144d38 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_54b.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-54b.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 11, "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": "data", "to": "CWE114_Process_Control__w32_char_connect_socket_54c_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_connect_socket_54c_goodG2BSink", "type": "call_arg"}] | e4b98a94962d1f13e2edfc21bb8b5111190a86f2f4337e1462a2e12766bac522 | 2026-06-02T15:24:52.618585+00:00 |
f472654f-4a9a-44cb-9416-c70c37a8f50e | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_54c.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-54c.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 11, "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": "data", "to": "CWE114_Process_Control__w32_char_connect_socket_54d_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_connect_socket_54d_goodG2BSink", "type": "call_arg"}] | 52237c8819160443f3626c0b4ae907478dd7b1b7106202812622c425cd2129c8 | 2026-06-02T15:24:53.311919+00:00 |
aadc9fc7-248c-4a1f-ae2f-449b2abe9f46 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_54d.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-54d.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 11, "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": "data", "to": "CWE114_Process_Control__w32_char_connect_socket_54e_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_connect_socket_54e_goodG2BSink", "type": "call_arg"}] | 3d157559378257c5731dc763bce742c9c10d01bb0e5a5ea46365d388cdec14b2 | 2026-06-02T15:24:54.056108+00:00 |
1656e696-b966-49d7-b3ed-e3a7acddaeea | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_54e.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-54e.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 13, "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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"... | 3cd1c01987f7c81a4827819afdba36ffe4bceb7a3f6a3129df00147b0a911cd0 | 2026-06-02T15:24:54.748797+00:00 |
cc21e8c0-fc3a-4bb3-a2c7-a4c01d7474af | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_61a.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-61a.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 20, "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": "CWE114_Process_Control__w32_char_connect_socket_61b_badSource", "to": "data", "type": "assignment"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_connect_socket_61b_badSource", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModul... | 574346a8c1fdf9de4207b0caa1449fa17fa75ef45e8e45a429b38c5d9622f263 | 2026-06-02T15:24:55.444940+00:00 |
3cb2430f-17fe-43c4-b3b5-7c469114097d | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_61b.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-61b.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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": 27, "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": "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": "wsaData", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | b53f612f9a0aff4714f4bfb6bcc1c5b9f7b6f969273ec8c8a3bcfab499393779 | 2026-06-02T15:24:56.224875+00:00 |
ba094fbe-d1d3-4c6e-ba44-74c7f38ffca8 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_62a.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-62a.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect soc... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
namespace CWE114_Process_Control__w32_char_connect_socket_62
{
#ifndef VAR_1
void VAR_2(char * &VAR_3);
void VAR_2()
{
char * VAR_4;
char VAR_5[100] = "";
VAR_4 = VAR_5;
VAR_3(VAR_4);
{
TYPE_1 VAR_7;
VAR... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 17, "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": "data", "to": "badSource", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "data... | e050ffb6fec56f4b17779e9a596ceba117c969ad883da1508023219de2011dcf | 2026-06-02T15:24:56.908155+00:00 |
7e51bc7f-d3c9-484b-be7a-afe7bfe08a93 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_62b.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-62b.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect soc... | #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": 27, "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": "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": "wsaData", "to": "WSAStartup", "type": "call_arg"}, {"from": "... | 140aafc29ff1ff05899ef02f2891bc97f4f4d1cf7203633f48a52f961e70188a | 2026-06-02T15:24:57.599041+00:00 |
2d264672-191c-4046-858f-dc82f347a75e | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_63a.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-63a.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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": "... | 19908fb00a77009fd30bd47327ef82a94133d0c07b62c27c3ab30abc0c93cf59 | 2026-06-02T15:24:58.252283+00:00 |
125f2237-01f2-4af2-b34c-97dbe5aab0e1 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_63b.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-63b.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 14, "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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"... | bbacbcbe11a1b09eb883b4d729c697d04f24c5dfe3c507a08ee15f2c70e98818 | 2026-06-02T15:24:58.863045+00:00 |
52235837-15b3-4db3-9553-e253e70b575b | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_64a.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-64a.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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": "... | f5bdf08a62ece8d14045e0289772e9eef01bd397d8a5b9fccd72767007ad5fcb | 2026-06-02T15:24:59.545513+00:00 |
dbcb86f0-0343-4a78-8362-6d69a9bb570e | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_64b.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-64b.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 15, "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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"... | 01cef8b4933b9a0d35b9111a478c930b1b3d2f7b212a814186d470450abb77ed | 2026-06-02T15:25:00.239888+00:00 |
e41524d8-8a7a-414d-adaf-1eb29c1e2feb | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_65a.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-65a.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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": "... | b720a05bea6d19afb6cf2b4d6df2a1f3ee4c1dc3bdaa91a675f300630de0999c | 2026-06-02T15:25:00.938320+00:00 |
4e219b60-a407-45cf-bd27-42d9e4a0ba9a | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_65b.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-65b.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 13, "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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"... | b34efab9e5c64871aa4613503509cd7fcd89bd30c3adf2f91690bdc15ada8a79 | 2026-06-02T15:25:01.586190+00:00 |
5b9c0377-a653-4e61-b0ae-003d8e59479a | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_66a.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-66a.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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": "... | 0f579913f4ec792a6fd041522d146b4563abb2267491c92d71ded7a16eff45ee | 2026-06-02T15:25:02.336429+00:00 |
8039e196-b3c2-452d-aace-2485c8dab59c | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_66b.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-66b.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 14, "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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"... | f318d9968725494fa7c76adf378b188d8c7328e1e7bb6eaee65c13521dddf0d5 | 2026-06-02T15:25:03.029640+00:00 |
a7cd65d1-1bb8-4da3-abc0-54059d6e9ff9 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_67a.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-67a.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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": "... | 968edca68638e570120b2992863c8ce32defe19cd2dd853365a238b6e9bb9ee4 | 2026-06-02T15:25:03.701763+00:00 |
f620e092-0250-41d3-a418-cb791eb827db | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_67b.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-67b.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 17, "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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"... | 63b645d2b79462a92ff4f3069a0702f34397f4fa0731ae3ed0c197ebc3681dfe | 2026-06-02T15:25:04.371030+00:00 |
90c415ef-7765-40c1-be02-0401735178fa | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_68a.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-68a.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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": "... | 0e562334ca56df495db9c03925c6ea4e7110d31e909ef5a962f3ebb0dd21771f | 2026-06-02T15:25:05.072599+00:00 |
8368dc8d-0141-4787-bcfc-18178f3ef426 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_68b.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-68b.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket ... | #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 | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 15, "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": "CWE114_Process_Control__w32_char_connect_socket_68_badData", "to": "data", "type": "assignment"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "CWE114_Process... | d8b54f06ab07e0ad606d7a1490128f42cd0b6d149fe2f81946a1d9c4475edf9a | 2026-06-02T15:25:05.762480+00:00 |
bdc0897f-e9b2-457c-b2c5-265beb9b6db6 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_72a.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-72a.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect soc... | #include "std_testcase.h"
#include <vector>
#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... | 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": "... | e428426767f502c962a46d24dff74ffbbfcd1e30b4709689430d13ad8838e36b | 2026-06-02T15:25:06.402021+00:00 |
0fb3a020-d9bf-4816-9e2f-4aec3a741024 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_72b.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-72b.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect soc... | #include "std_testcase.h"
#include <vector>
#include <wchar.h>
#include <windows.h>
using namespace std;
namespace CWE114_Process_Control__w32_char_connect_socket_72
{
#ifndef VAR_1
void VAR_2(vector<char *> VAR_3)
{
char * VAR_3 = VAR_4[2];
{
TYPE_1 VAR_6;
VAR_6 = LoadLibraryA(VAR_... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 10, "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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"... | e99a8f26f7e90968c489c13cf12646c224e50d715c33bd6315ca17401972acb7 | 2026-06-02T15:25:07.093553+00:00 |
503430a8-bff6-439f-9cd7-1dc18b97916d | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_73a.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-73a.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect soc... | #include "std_testcase.h"
#include <list>
#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 <... | 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": "... | 1cfdcc6278a97a3b3615acbff7792bba2ce1a9685122f196c881b1bbdb2e4231 | 2026-06-02T15:25:07.815246+00:00 |
ab85c732-de22-4bd3-b143-aea958dd1b87 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_73b.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-73b.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect soc... | #include "std_testcase.h"
#include <list>
#include <wchar.h>
#include <windows.h>
using namespace std;
namespace CWE114_Process_Control__w32_char_connect_socket_73
{
#ifndef VAR_1
void VAR_2(TYPE_3<char *> VAR_3)
{
char * VAR_3 = VAR_4.VAR_2();
{
TYPE_1 VAR_7;
VAR_7 = LoadLibraryA(V... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 12, "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": "dataList.back", "to": "data", "type": "assignment"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "dataList.back", "to": "data", "type": "assignment"}, {"from... | 040b014e5b8f14743f4e01ef43d8b85b9e505a5ada0ab1ddd02463ca4f6c733a | 2026-06-02T15:25:08.493640+00:00 |
32df9064-8e04-4361-a058-55e3fde8a972 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_74a.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-74a.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect soc... | #include "std_testcase.h"
#include <map>
#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 <u... | 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": "... | 36c2c3d8c4f9049961077dde5896696b29dbe0fa032ce171526be793ad9009f1 | 2026-06-02T15:25:09.169227+00:00 |
580d9c3e-824e-4ae1-aa19-3ae6f8c197a8 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_74b.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-74b.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect soc... | #include "std_testcase.h"
#include <map>
#include <wchar.h>
#include <windows.h>
using namespace std;
namespace CWE114_Process_Control__w32_char_connect_socket_74
{
#ifndef VAR_1
void VAR_2(TYPE_3<int, char *> VAR_3)
{
char * VAR_3 = VAR_4[2];
{
TYPE_1 VAR_6;
VAR_6 = LoadLibraryA(VA... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 11, "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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"... | 66eeb8f3916f7fbf2a3a13c4699e2a0f116df3bb19da65e759058d74b9e93c78 | 2026-06-02T15:25:09.917817+00:00 |
c409cc33-f5a5-48ff-9169-8c7f512ef042 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_81.h
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-81.tmpl.h
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket (c... | #include "std_testcase.h"
#include <wchar.h>
namespace CWE114_Process_Control__w32_char_connect_socket_81
{
class TYPE_1
{
public:
virtual void VAR_2(char * VAR_3) const = 0;
};
#ifndef VAR_2
class TYPE_1 : public TYPE_2
{
public:
void VAR_4(char * VAR_5) const;
};
#endif
#ifndef VAR_4
class T... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "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}} | [] | 8b40af96c0b4c95db8a92ee63ff050551788d234c9d7703d5defec5bdd7dab75 | 2026-06-02T15:25:10.559574+00:00 |
c663b874-4385-41aa-8d12-0ec4655bde43 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_81_bad.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-81_bad.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a conne... | #ifndef VAR_1
#include "std_testcase.h"
#include "CWE114_Process_Control__w32_char_connect_socket_81.h"
#include <windows.h>
namespace CWE114_Process_Control__w32_char_connect_socket_81
{
void CWE114_Process_Control__w32_char_connect_socket_81_bad::VAR_2(char * VAR_3) const
{
{
TYPE_1 VAR_5;
... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}] | cd464789ce068c3c103ec10d5120bffcc8be41ee550333de42c968b6b632b198 | 2026-06-02T15:25:11.247477+00:00 |
b8f6ff0d-e1e0-4830-8728-916c1aa89df0 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_81_goodG2B.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-81_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using... | #ifndef VAR_1
#include "std_testcase.h"
#include "CWE114_Process_Control__w32_char_connect_socket_81.h"
#include <windows.h>
namespace CWE114_Process_Control__w32_char_connect_socket_81
{
void CWE114_Process_Control__w32_char_connect_socket_81_goodG2B::VAR_2(char * VAR_3) const
{
{
TYPE_1 VAR_5;
... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}] | 6219d9d17737733b511b208d0612a7c86fd15709cf1d4235bd738070f0ff99f1 | 2026-06-02T15:25:12.006485+00:00 |
98a044d8-259e-4d0f-8f6d-f2ff006d49e6 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_81a.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-81a.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect soc... | #include "std_testcase.h"
#include "CWE114_Process_Control__w32_char_connect_socket_81.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>
#inclu... | 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": "... | c936ff7c456d87c02d76987ff0d1002bc585923cb89dbdbff7fa515c6d27f7f3 | 2026-06-02T15:25:12.753226+00:00 |
ba465bc9-4e71-4db8-9089-490212600549 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_82.h
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-82.tmpl.h
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket (c... | #include "std_testcase.h"
#include <wchar.h>
namespace CWE114_Process_Control__w32_char_connect_socket_82
{
class TYPE_1
{
public:
virtual void VAR_2(char * VAR_3) = 0;
};
#ifndef VAR_2
class TYPE_1 : public TYPE_2
{
public:
void VAR_4(char * VAR_5);
};
#endif
#ifndef VAR_4
class TYPE_3 : publ... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "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}} | [] | 413234a63688af54571c886da921ddbf2caa0add7c2024520197f0e9d5ff391e | 2026-06-02T15:25:13.421616+00:00 |
5bc8e853-85c6-4f90-84e7-3605acebfdfe | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_82_bad.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-82_bad.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a conne... | #ifndef VAR_1
#include "std_testcase.h"
#include "CWE114_Process_Control__w32_char_connect_socket_82.h"
#include <windows.h>
namespace CWE114_Process_Control__w32_char_connect_socket_82
{
void CWE114_Process_Control__w32_char_connect_socket_82_bad::VAR_2(char * VAR_3)
{
{
TYPE_1 VAR_5;
VAR... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}] | c3e1ce3778a7c228ec282bf8d6f455ec0905dcef9043164db0a2e6c41ad09c71 | 2026-06-02T15:25:14.096567+00:00 |
97256b1c-9674-41dc-8014-ad953a7a9532 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_82_goodG2B.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-82_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using... | #ifndef VAR_1
#include "std_testcase.h"
#include "CWE114_Process_Control__w32_char_connect_socket_82.h"
#include <windows.h>
namespace CWE114_Process_Control__w32_char_connect_socket_82
{
void CWE114_Process_Control__w32_char_connect_socket_82_goodG2B::VAR_2(char * VAR_3)
{
{
TYPE_1 VAR_5;
... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "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": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}] | 5fa4ee41fb8ea1818f0f3958202c6123683ed0a1e798b274b0b9945d2199d3de | 2026-06-02T15:25:14.778422+00:00 |
cb31add1-3b61-4cde-864b-ba77460bfb4b | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_82a.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-82a.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect soc... | #include "std_testcase.h"
#include "CWE114_Process_Control__w32_char_connect_socket_82.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>
#inclu... | 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": "... | 6bef0029f7f3475f0888c1216e2b626aaf667743b4546e6ff96515c76cbd616a | 2026-06-02T15:25:15.467986+00:00 |
e8a5c962-5a06-437b-bd3e-7339fdb34bf9 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_83.h
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-83.tmpl.h
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket (c... | #include "std_testcase.h"
#include <wchar.h>
namespace CWE114_Process_Control__w32_char_connect_socket_83
{
#ifndef VAR_1
class TYPE_1
{
public:
VAR_1(char * VAR_3);
~VAR_1();
private:
char * VAR_3;
};
#endif
#ifndef VAR_3
class TYPE_2
{
public:
VAR_2(char * VAR_6);
~VAR_2();
pr... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 6, "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}} | [] | f9e39c9ee2282f32a7c65f07ccbce623008a57eca1460d887c60cb0fe29dcdb5 | 2026-06-02T15:25:16.186245+00:00 |
7c9a25ce-3809-47ba-b2e6-328df3a31dd3 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_83_bad.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-83_bad.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a conne... | #ifndef VAR_1
#include "std_testcase.h"
#include "CWE114_Process_Control__w32_char_connect_socket_83.h"
#ifdef VAR_2
#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 <netine... | owasp_secnorm | log n | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 30, "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": "dataCopy", "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": "ws... | 274d6571e58b6fbba3be64ee39400ea650cc3413e649daafae683592a1054985 | 2026-06-02T15:25:17.009345+00:00 |
eb51927c-65e9-4156-a601-05bb6d4235e2 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_83_goodG2B.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-83_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using... | #ifndef VAR_1
#include "std_testcase.h"
#include "CWE114_Process_Control__w32_char_connect_socket_83.h"
#include <windows.h>
namespace CWE114_Process_Control__w32_char_connect_socket_83
{
CWE114_Process_Control__w32_char_connect_socket_83_goodG2B::VAR_1(char * VAR_3)
{
VAR_3 = VAR_4;
strcpy(VAR_3, "C:\... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 8, "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": "dataCopy", "to": "data", "type": "propagation"}, {"from": "data", "to": "strcpy", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}] | ab06127ff229aee778e78c958930f15e2ca412a7bfdf4aba0426923802a35cbe | 2026-06-02T15:25:17.653981+00:00 |
bf445a0d-b18b-44b8-a3d4-c2b54614d1f0 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_83a.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-83a.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect soc... | #include "std_testcase.h"
#include "CWE114_Process_Control__w32_char_connect_socket_83.h"
namespace CWE114_Process_Control__w32_char_connect_socket_83
{
#ifndef VAR_1
void VAR_2()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
TYPE_1 VAR_4(TYPE_5);
}
#endif
#ifndef VAR_3
static void... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 16, "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": "dataBuffer", "to": "data", "type": "propagation"}] | a9a6dec7001882ea39fd2650522590728cca5f25c8d442eff58605c13e766959 | 2026-06-02T15:25:18.354248+00:00 |
3419af32-3df9-4670-9547-f3f52ef88d11 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_84.h
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-84.tmpl.h
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect socket (c... | #include "std_testcase.h"
#include <wchar.h>
namespace CWE114_Process_Control__w32_char_connect_socket_84
{
#ifndef VAR_1
class TYPE_1
{
public:
VAR_1(char * VAR_3);
~VAR_1();
private:
char * VAR_3;
};
#endif
#ifndef VAR_3
class TYPE_2
{
public:
VAR_2(char * VAR_6);
~VAR_2();
pr... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 6, "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}} | [] | d56706d603a9444c442e5aad154936cfd6621326ff0b74701d04f9325cbfd2a1 | 2026-06-02T15:25:19.015970+00:00 |
1c909197-61d9-4fc8-9f56-de958351c56b | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_84_bad.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-84_bad.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a conne... | #ifndef VAR_1
#include "std_testcase.h"
#include "CWE114_Process_Control__w32_char_connect_socket_84.h"
#ifdef VAR_2
#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 <netine... | owasp_secnorm | log n | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 30, "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": "dataCopy", "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": "ws... | e3869de34c540c931e17825cdbaec0846e1669d005f46a319ae4877b2958b279 | 2026-06-02T15:25:19.688113+00:00 |
a371edc3-4b65-401f-ac94-3b81e695f5b2 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_84_goodG2B.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-84_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using... | #ifndef VAR_1
#include "std_testcase.h"
#include "CWE114_Process_Control__w32_char_connect_socket_84.h"
#include <windows.h>
namespace CWE114_Process_Control__w32_char_connect_socket_84
{
CWE114_Process_Control__w32_char_connect_socket_84_goodG2B::VAR_1(char * VAR_3)
{
VAR_3 = VAR_4;
strcpy(VAR_3, "C:\... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 8, "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": "dataCopy", "to": "data", "type": "propagation"}, {"from": "data", "to": "strcpy", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}] | 7576a264236cf67eff455da82e35f77f4b69e6d92ca8247845bca11c7dcb0e1e | 2026-06-02T15:25:20.324330+00:00 |
5af0ef7a-c0b0-470b-ab7a-c97946c360e6 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_connect_socket_84a.cpp
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-84a.tmpl.cpp
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: connect_socket Read data using a connect soc... | #include "std_testcase.h"
#include "CWE114_Process_Control__w32_char_connect_socket_84.h"
namespace CWE114_Process_Control__w32_char_connect_socket_84
{
#ifndef VAR_1
void VAR_2()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
TYPE_1 * VAR_4 = new TYPE_1(VAR_5);
delete VAR_4;
}
#e... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 16, "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": "dataBuffer", "to": "data", "type": "propagation"}] | af9c72111fe274863ebb22f0c7c2bcf8e733ddf4724d4441097be51fb324a8d2 | 2026-06-02T15:25:20.971922+00:00 |
a0fd0ea4-a10d-49ab-942e-659b002eaee4 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_01.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-01.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
#ifndef VAR_1
void VAR_1()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
{
size_t VAR_5 = VAR_6(VAR_3);
if (100-VAR_5 > 1)
{
if (fgets(VAR_3+VAR_5, (int)(100-VAR_5), stdin) != NULL)
... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 16, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | f14ac401279c00c8ef4c9d84651402d4d08dcb81e2c7d933af4e882751783e3e | 2026-06-02T15:25:21.614811+00:00 |
e0c4bddd-eab1-4b8e-953f-f1cf29acd109 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_02.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-02.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
#ifndef VAR_1
void VAR_1()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
if(1)
{
{
size_t VAR_5 = VAR_6(VAR_3);
if (100-VAR_5 > 1)
{
if (fgets(VAR_3+VAR... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 17, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | b769b47c70d1a5beb4000a4893c3a57ba97aea8c1dae92df34f8dee45132ff6b | 2026-06-02T15:25:22.286094+00:00 |
6c8b5acc-9ff1-4e24-99f9-ec5fc1bb6c2b | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_03.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-03.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
#ifndef VAR_1
void VAR_1()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
if(5==5)
{
{
size_t VAR_5 = VAR_6(VAR_3);
if (100-VAR_5 > 1)
{
if (fgets(VAR_3+... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 17, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | d61457acfdf694574d45efa0358fbe3066346204585d7ac08c4441f5e509e50d | 2026-06-02T15:25:22.960302+00:00 |
3484657c-8d23-41be-8576-62932fa2fe1a | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_04.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-04.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
static const int VAR_1 = 1;
static const int VAR_1 = 0;
#ifndef VAR_1
void VAR_1()
{
char * VAR_5;
char VAR_6[100] = "";
VAR_5 = VAR_6;
if(VAR_4)
{
{
size_t VAR_7 = VAR_8(VAR_5);
if (10... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 19, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | 3a1927879feaa67e430bbdbb5f1c6d3e3052a8b339666d3b94069b18912855e0 | 2026-06-02T15:25:23.697899+00:00 |
e2d85c8a-473a-49d1-8f42-0a388c7b22e7 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_05.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-05.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
static int VAR_1 = 1;
static int VAR_1 = 0;
#ifndef VAR_1
void VAR_1()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
if(VAR_6)
{
{
size_t VAR_5 = VAR_8(VAR_3);
if (100-VAR_5 > 1)... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 19, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | 49417b7ffd167d14ae7c91c82e09f102a26be3971924eb7664bbf0bb9724a553 | 2026-06-02T15:25:24.372363+00:00 |
3c7a9de6-9039-40f0-9920-e90487f8ea2f | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_06.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-06.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
static const int VAR_1 = 5;
#ifndef VAR_1
void VAR_1()
{
char * VAR_4;
char VAR_5[100] = "";
VAR_4 = VAR_5;
if(VAR_3==5)
{
{
size_t VAR_6 = VAR_7(VAR_4);
if (100-VAR_6 > 1)
{
... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 18, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | 3a8fbfd452fdce4ced3a1f5b031126e4435d1aba40f7dbaded9c9a79e9b90e88 | 2026-06-02T15:25:25.042183+00:00 |
d1686452-da22-41a0-8baf-846f727b455a | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_07.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-07.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
static int VAR_1 = 5;
#ifndef VAR_1
void VAR_1()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
if(VAR_5==5)
{
{
size_t VAR_5 = VAR_7(VAR_3);
if (100-VAR_5 > 1)
{
... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 18, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | 58a0072afacfae3c2c499fb82c0358b01d5cba2039034e04d35fcf89590ebd83 | 2026-06-02T15:25:25.749682+00:00 |
b2e27dbc-70ee-435e-b49f-121db02aa2bc | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_08.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-08.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
static int VAR_1()
{
return 1;
}
static int VAR_1()
{
return 0;
}
#ifndef VAR_1
void VAR_1()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
if(VAR_6())
{
{
size_t VAR_5 = VAR_8(VAR... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 19, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | 396cfc2e189a4fbc34d798c0427aa866fdeaf465cc02bf0f951ae2086ca47a18 | 2026-06-02T15:25:26.454390+00:00 |
e8559e46-8939-4824-9d9f-eaf4d0507e02 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_09.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-09.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
#ifndef VAR_1
void VAR_1()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
if(VAR_2)
{
{
size_t VAR_6 = VAR_7(VAR_4);
if (100-VAR_6 > 1)
{
if (fgets(VAR_4... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 19, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | 067c857c12b9dbaef03eb3e4c4a49430fa01d348a32fb5da1e06386a6f2b365e | 2026-06-02T15:25:27.191315+00:00 |
61bcec67-d4c1-4c36-9a41-f1f62520b1ed | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_10.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-10.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
#ifndef VAR_1
void VAR_1()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
if(VAR_5)
{
{
size_t VAR_5 = VAR_7(VAR_3);
if (100-VAR_5 > 1)
{
if (fgets(VAR_3... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 19, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | d2bc9edb0e9c7b6f512439c95c0e9d3e3a34ee64d764f28ef6293d7480d9f1ae | 2026-06-02T15:25:27.820320+00:00 |
0c41d032-7bdf-41d1-b42c-e6371fa06ef9 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_11.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-11.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
#ifndef VAR_1
void VAR_1()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
if(VAR_5())
{
{
size_t VAR_5 = VAR_7(VAR_3);
if (100-VAR_5 > 1)
{
if (fgets(VAR... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 19, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | 317fdbaab1e3b23bb259176941b06bfc56e7c4befd6db5f9ce51516fe37415a6 | 2026-06-02T15:25:28.464596+00:00 |
b9e74247-477d-428d-9df3-b099553f15fd | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_12.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-12.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
#ifndef VAR_1
void VAR_1()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
if(VAR_5())
{
{
size_t VAR_5 = VAR_7(VAR_3);
if (100-VAR_5 > 1)
{
if (fgets(VAR... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 17, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | dfdd2a10e2c83b35931906f7a482c05f52e495eb7f266d1d1f3391b2e113c7a2 | 2026-06-02T15:25:29.212170+00:00 |
e6b7d43d-21b1-47da-8686-e9a3a344fb40 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_13.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-13.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
#ifndef VAR_1
void VAR_1()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
if(VAR_2==5)
{
{
size_t VAR_6 = VAR_7(VAR_4);
if (100-VAR_6 > 1)
{
if (fgets(VA... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 18, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | fd9f0beb3db2d82d28679d8beb213364d2cd3bbd74b9161687917446599da8ad | 2026-06-02T15:25:29.848980+00:00 |
dc7399e2-fac0-4343-9a3a-2f1422523114 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_14.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-14.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
#ifndef VAR_1
void VAR_1()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
if(VAR_5==5)
{
{
size_t VAR_5 = VAR_7(VAR_3);
if (100-VAR_5 > 1)
{
if (fgets(VA... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 18, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | 49771da130984d718567ab8c26db4fa3205a35a6c85b229e25a51d68e155369b | 2026-06-02T15:25:30.612281+00:00 |
c587167f-89ed-408f-9b73-9bd939774ea5 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_15.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-15.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
#ifndef VAR_1
void VAR_1()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
switch(6)
{
case 6:
{
size_t VAR_5 = VAR_6(VAR_3);
if (100-VAR_5 > 1)
{
if (fgets(VAR_3+VAR_5,... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 17, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | 34974dc2214d0c0fe41c8448f603a11a3b9a740eba070b1e9f3a8bd17028164f | 2026-06-02T15:25:31.305574+00:00 |
596d0aa1-31aa-42ea-90bf-9fe1cb3a96e5 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_16.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-16.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
#ifndef VAR_1
void VAR_1()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
while(1)
{
{
size_t VAR_5 = VAR_6(VAR_3);
if (100-VAR_5 > 1)
{
if (fgets(VAR_3+... | owasp_secnorm | n | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 16, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | ec83403454969ccb23083ec301aaed2b589879737862036616cb47ba61553460 | 2026-06-02T15:25:31.924013+00:00 |
0e806baf-22bf-49ce-888a-205a5c01f985 | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_17.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-17.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
#ifndef VAR_1
void VAR_1()
{
int VAR_3;
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
for(VAR_5 = 0; VAR_5 < 1; VAR_5++)
{
{
size_t VAR_5 = VAR_7(VAR_3);
if (100-VAR_5 > 1)
... | owasp_secnorm | n | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 18, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | feb463fa6b108c365784c4c7d0cbde484bb51d70108e8a4c61e4b7aa55cc9266 | 2026-06-02T15:25:32.660754+00:00 |
840c7a2f-1f8d-4ad2-829a-5ee681b284eb | OWASP | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_console_18.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-18.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: console Read input from the console
* GoodSource: Hard ... | #include "std_testcase.h"
#include <wchar.h>
#include <windows.h>
#ifndef VAR_1
void VAR_1()
{
char * VAR_3;
char VAR_4[100] = "";
VAR_3 = VAR_4;
goto source;
source:
{
size_t VAR_5 = VAR_6(VAR_3);
if (100-VAR_5 > 1)
{
if (fgets(VAR_3+VAR_5, (int)(1... | owasp_secnorm | 1 | {} | {} | {"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 16, "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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t... | 9bc043de9f9fee878e69f71782ded531f45f99042d278bc693b2216a16cc7b8e | 2026-06-02T15:25:33.550295+00:00 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.