Skip to content
All articles

DevSecOps

Pipelines, containers and hardening

Linux and ISO builds · · 13 min readSSH hardening: keys, sshd_config and fail2ban done properlySet up SSH keys, harden sshd_config with a drop-in file, restrict who can log in and add fail2ban, with checks that prevent locking yourself out.Self-hosted LLMs · · 13 min readSecuring a self-hosted LLM API: auth, TLS and rate limitsProtect a self-hosted LLM endpoint in layers: private binding, an nginx reverse proxy with TLS, per-client API keys, route allowlists and rate limits.DevSecOps · · 13 min readSecrets management for small teams: from .env files to a vaultA staged path for handling passwords and API keys: stop leaks, encrypt secrets in Git with SOPS and age, deliver them safely, and know when a vault is worth it.RAG and AI agents · · 14 min readPrompt injection: how it works and how to defend your appHow direct and indirect prompt injection work, why filters alone fail, and the layered controls that limit what an injected LLM app can do.Linux and ISO builds · · 13 min readnftables for beginners: a practical Linux firewall guideBuild a default-deny nftables firewall for a Linux server: tables, chains, sets, rate limits, safe testing over SSH and making rules persistent.Linux and ISO builds · · 12 min readLinux server hardening: a practical checklist with commandsA step-by-step hardening checklist for Debian, Ubuntu, RHEL and Rocky servers: updates, accounts, SSH, firewall, services, sysctl and auditing.DevSecOps · · 13 min readDockerfile best practices: smaller, faster, safer imagesWrite Dockerfiles that build quickly and ship small images: layer ordering, build cache, multi-stage builds, base image choice and build secrets.DevSecOps · · 13 min readDocker security best practices: hardening containers properlyHarden Docker at runtime: non-root users, dropped capabilities, read-only filesystems, resource limits, safer networking and daemon settings, with checks.DevSecOps · · 13 min readDocker Compose in production: what to change before you deployTurn a development Compose file into a production one: pinned images, restart policies, health checks, resource limits, log rotation, secrets and safe updates.DevSecOps · · 13 min readA DevSecOps pipeline in GitHub Actions: test, scan, deployBuild a GitHub Actions pipeline that tests code, scans for secrets and vulnerabilities, builds and signs a container image, and deploys with approval.DevSecOps · · 13 min readContainer image scanning with Trivy: find and fix vulnerabilitiesScan container images with Trivy, read the report, fix what matters, record accepted risks with expiry dates, and fail CI builds on fixable serious issues.