
Security News
minimatch Patches 3 High-Severity ReDoS Vulnerabilities
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.
ctf-toolkit
Advanced tools
CTF Toolkit is a highly specialized, high-performance network analysis and evasion testing component designed for red teamers, security researchers, and CTF (Capture The Flag) competitors.
It provides incredibly low-level capabilities to craft raw packets, discover HTTP Request Smuggling vulnerabilities, and bypass complex enterprise WAF (Web Application Firewall) TLS fingerprints by integrating a highly customized libcurl.dll core.
Diagnose edge-case vulnerabilities in reverse-proxy architectures (like Nginx, HAProxy, F5) where Content-Length (CL) and Transfer-Encoding (TE) headers are handled inconsistently.
http.client.Standard Python requests (using ssl.py or urllib) cast a very recognizable and easily blockable JA3/JA4 TLS fingerprint.
libcurl.dll tailored for Windows environments.CURLOPT_SSL_VERIFYPEER internally, allowing seamless probing of internal network endpoints with invalid, self-signed, or expired certificates.To install the latest version directly via pip:
pip install ctf_toolkit
(Note: Ensure you are running on a supported Windows environment as the toolkit relies on OS-specific ctypes loading for the underlying packet engine.)
Below are simple demonstrations of how to utilize the toolkit's core APIs in your scanning scripts.
Detect CL-TE handling inconsistencies on a target host:
from ctf_toolkit import send_smuggling_packet
target_ip = "10.0.0.50"
target_port = 80
print(f"[*] Sending CL-TE mutation payload to {target_ip}:{target_port}...")
response = send_smuggling_packet(target_ip, target_port)
print("[+] Raw Response Trace:")
print(response)
Fire raw TLS packets mimicking a custom client, ignoring all local proxy hooks and cert warnings:
from ctf_toolkit import send_tls_packet
target_url = "https://example-waf-protected.site/api/v1/health"
print(f"[*] Firing low-level TLS packet to {target_url}...")
# Disguise the packet as 'Godzilla/2.0' to bypass simple UA filters
result = send_tls_packet(target_url, ua="Godzilla/2.0")
if result["status"] == "success":
print(f"[+] Successfully penetrated WAF! HTTP Status: {result['response_code']}")
else:
print(f"[-] Probe dropped. Internal Engine Code: {result['internal_error_code']}")
Educational & Authorized Use Only
This software is provided exactly as-is. It is designed strictly for academic research, developing defensive strategies, and performing authorized security assessments (e.g., Penetration Testing, CTFs).
The creators and contributors of this repository are NOT responsible for any illegal, malicious, or abusive application of these tools. Do not use this toolkit against any networks or applications for which you do not have explicit, written permission from the owner.
FAQs
Advanced network analysis and evasion testing toolkit
We found that ctf-toolkit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.

Research
/Security News
Socket uncovered 26 malicious npm packages tied to North Korea's Contagious Interview campaign, retrieving a live 9-module infostealer and RAT from the adversary's C2.

Research
An impersonated golang.org/x/crypto clone exfiltrates passwords, executes a remote shell stager, and delivers a Rekoobe backdoor on Linux.