Awesome Go

Security

71 libraries in this category

age

A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability

24,322SecuritySecurity
osv-scanner

Vulnerability scanner written in Go which uses the data provided by OSV

11,505SecuritySecurity
lego

Pure Go ACME client library and CLI tool (for use with Let's Encrypt)

10,026SecuritySecurity
CertMagic

Mature, robust, and powerful ACME client integration for fully-managed TLS certificate issuance and renewal

5,618SecuritySecurity
Cameradar

Tool and library to remotely hack RTSP streams from surveillance cameras

5,333SecuritySecurity
Coraza

Enterprise-ready, modsecurity and OWASP CRS compatible WAF library

4,020SecuritySecurity
memguard

A pure Go library for handling sensitive values in memory

2,768SecuritySecurity
secure

HTTP middleware for Go that facilitates some quick security wins

2,359SecuritySecurity
beelzebub

A secure low code honeypot framework, leveraging AI for System Virtualization

2,237SecuritySecurity
acmetool

ACME (Let's Encrypt) client tool with automatic renewal

2,095SecuritySecurity
themis

high-level cryptographic library for solving typical data security tasks (secure data storage, secure messaging, zero-knowledge proof authentication), available for 14 languages, best fit for multi-platform apps

1,984SecuritySecurity
acra

Network encryption proxy to protect database-based applications from data leaks: strong selective encryption, SQL injections prevention, intrusion detection system

1,499SecuritySecurity
SafeDep/vet

Protect against malicious open source packages

1,126SecuritySecurity
dongle

A simple, semantic and developer-friendly golang package for encoding&decoding and encryption&decryption

1,105SecuritySecurity
caddy-waf

Web Application Firewall middleware for the Caddy server, with a regex rule engine, anomaly scoring, IP/DNS/ASN/country blacklists and rate limiting

884SecuritySecurity
booster

Fast initramfs generator with full-disk encryption support

691SecuritySecurity
go-password-validator

Password validator based on raw cryptographic entropy values

593SecuritySecurity
nacl

Go implementation of the NaCL set of API's

553SecuritySecurity
ssh-vault

encrypt/decrypt using ssh keys

511SecuritySecurity
teler-waf

teler-waf is a Go HTTP middleware that provide teler IDS functionality to protect against web-based attacks and improve the security of Go-based web applications. It is highly configurable and easy to integrate into existing Go applications

410SecuritySecurity
go-yara

Go Bindings for [YARA](https://github.com/plusvic/yara), the "pattern matching swiss knife for malware researchers (and everyone else)"

391SecuritySecurity
optimus-go

ID hashing and Obfuscation using Knuth's Algorithm

369SecuritySecurity
firewalld-rest

A rest application to dynamically update firewalld rules on a linux server

345SecuritySecurity
BadActor

In-memory, application-driven jailer built in the spirit of fail2ban

328SecuritySecurity
go-peer

A software library for creating secure and anonymous decentralized systems

328SecuritySecurity
passlib

Futureproof password hashing library

289SecuritySecurity
FCaptcha

Self-hosted CAPTCHA server and Go client that detects bots, AI agents, and headless browsers through behavioral analysis and proof of work

237SecuritySecurity
simple-scrypt

Scrypt package with a simple, obvious API and automatic cost calibration built-in

204SecuritySecurity
urusai

Urusai ("noisy" in Japanese) is a Go implementation of a random HTTP/DNS traffic noise generator that helps protect privacy by creating digital smokescreens while browsing

182SecuritySecurity
pii-shield

Zero-code log sanitization sidecar for Kubernetes that redacts PII from logs

179SecuritySecurity
luks.go

Pure Golang library to manage LUKS partitions

99SecuritySecurity
fort

Audits macOS security settings across 16 checks, reports a score, and fixes issues where it safely can. Single binary, installable via Homebrew

82SecuritySecurity
passwap

Provides a unified implementation between different password hashing algorithms

78SecuritySecurity
acme-proxy

Solve ACME http-01 challenge without opening port 80 to the internet, obtain certs from an external certificate authority

73SecuritySecurity
goSecretBoxPassword

A probably paranoid package for securely hashing and encrypting passwords

61SecuritySecurity
procscope

Process-scoped runtime investigator using eBPF to trace process lifecycle, file activity, and network connections

59SecuritySecurity
go-generate-password

Password generator that can be used on the cli or as a library

57SecuritySecurity
go-htpasswd

Apache htpasswd Parser for Go

49SecuritySecurity
y509

TUI for X.509 certificate chains that reports whether a chain verifies and, separately, whether a server served it correctly

42SecuritySecurity
deidentify

Deterministic, format-preserving removal of personally identifiable information from text and structured data

41SecuritySecurity
certificates

An opinionated tool for generating tls certificates

38SecuritySecurity
secureio

An keyexchanging+authenticating+encrypting wrapper and multiplexer for `io.ReadWriteCloser` based on XChaCha20-poly1305, ECDH and ED25519

34SecuritySecurity
sslmgr

SSL certificates made easy with a high level wrapper around acme/autocert

33SecuritySecurity
secret

Prevent your secrets from leaking into logs, std\* etc

33SecuritySecurity
Crenox

Zero-dependency pre-commit secret scanner using Aho-Corasick for high-performance credentials leak detection

31SecuritySecurity
nurago/pkg/redact

Removes secrets from log lines and HTTP dumps in a single pass, covering headers, JSON, XML, URL-encoded data, JWTs, PEM keys, and vendor tokens

26SecuritySecurity
argon2-hashing

light wrapper around Go's argon2 package that closely mirrors with Go's standard library Bcrypt and simple-scrypt package

25SecuritySecurity
goArgonPass

Argon2 password hash and verification designed to be compatible with existing Python and PHP implementations

20SecuritySecurity
Razify

CLI to scan, validate and audit .env files for leaked secrets and environment drift

20SecuritySecurity
leakhound

Static analysis tool to detect accidental logging of sensitive struct fields, preventing data leaks in logs

18SecuritySecurity
qrand

Client for the ANU Quantum Numbers (AQN) API, providing quantum-mechanically secure random data

18SecuritySecurity
multikey

An n-out-of-N keys encryption/decryption framework based on Shamir's Secret Sharing algorithm

13SecuritySecurity
veil

Local HTTPS proxy that hides API credentials from AI coding agents. OS keychain integration, format-aware placeholders, SQLite audit log

10SecuritySecurity
aes-ctr-drbg

A Deterministic Random Bit Generator based on AES in Counter mode (AES-CTR-DRBG) as specified in NIST SP 800-90A

9SecuritySecurity
secretgenerator

CSPRNG-backed credential generator with a versioned JSON schema for passwords, passphrases, secrets, API keys, and PINs

9SecuritySecurity
Interpol

Rule-based data generator for fuzzing and penetration testing

8SecuritySecurity
canery

Minimal, stateless authorization engine with a pluggable evaluation model

8SecuritySecurity
encid

Encode and decode encrypted integer IDs

7SecuritySecurity
entpassgen

Entropy Password Generator with extensive command line arguments to generate random strings securely including digits, passwords, and passwords built using obscure dictionary words mixed with symbols and digits

7SecuritySecurity
dotlock

Encrypted .env vault manager with interactive TUI for managing secrets across multiple environments and profiles

4SecuritySecurity
PwnedCheck

Command-line tool to check passwords against Have I Been Pwned breaches, with Bitwarden export support

4SecuritySecurity
gost-crypto

Go library for Russian GOST cryptographic standards (digital signatures, Streebog hash, Kuznechik cipher, MGM AEAD) backed by OpenSSL gost-engine

2SecuritySecurity
pm

Unix-style password manager written in Go to save your data with OpenPGP encryption

2SecuritySecurity
mcprobe

Security scanner for MCP servers with prompt injection detection, tool shadowing, and SARIF output

2SecuritySecurity
redact

Redact sensitive information from slog-based logs using a configurable pipeline

2SecuritySecurity
grim

Fast and secure CLI tool for managing encrypted Markdown note vaults in volatile memory

1SecuritySecurity
gspy

Forensic goroutine-to-syscall inspector for live Go processes

1SecuritySecurity
mist

Asymmetric-key audio steganography library that hides encrypted messages inside compressed audio using X25519 and ChaCha20-Poly1305

1SecuritySecurity
certifier

Library and CLI for generating and validating X.509 certificates, certificate authorities, CRLs, and OCSP responses

1SecuritySecurity
pii-shield

Zero-code log sanitization sidecar for Kubernetes that redacts PII from logs

SecuritySecurity
coraza-rule-validator

Standalone CLI tool to validate ModSecurity and Coraza SecLang WAF rules before production deployment

SecuritySecurity