Security Libraries
Python tools security professionals use.
This is an overview — pick a sub-topic below.
Sub-topics (7)
cryptography and PyCryptodome
Modern, well-reviewed cryptography (cryptography) and a broad low-level toolkit (PyCryptodome).
hashlib, hmac, secrets, bcrypt, Argon2 and passlib
Built-in hashing/HMAC and secure random tokens, plus password-hashing libraries.
Scapy and PyShark
Build, send and dissect packets (Scapy); read Wireshark captures (PyShark).
python-nmap and Shodan
Drive Nmap scans from Python, and query internet-wide device data from Shodan.
Impacket, pwntools, Paramiko and Netmiko
Network protocol implementations (Impacket), exploit-development/CTF toolkit (pwntools), SSH (Paramiko), and network-device automation (Netmiko).
Volatility, YARA, pefile, Capstone, Unicorn, angr and Ghidra Scripting
Forensics and reverse-engineering: memory analysis, pattern rules, PE parsing, disassembly, CPU emulation, symbolic execution, and Ghidra automation.
Bandit, Safety, pip-audit and Semgrep
Find insecure code and vulnerable dependencies.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.