npm 12 Disables Install Scripts: What Breaks and How to Fix
npm 12 stops dependency install scripts by default. We ran one package on npm 10 and 12, then approved it with allowScripts. Here is what changes.
Security6 min read
The security basics every developer needs: how common attacks work and how to stop them, tested on real code.
6 guides
npm 12 stops dependency install scripts by default. We ran one package on npm 10 and 12, then approved it with allowScripts. Here is what changes.
Security6 min read
What SQL injection is, shown on a real database, and how to prevent it with parameterized queries in Python, Node.js and PHP, tested on PostgreSQL.
Security7 min read
What PGP is and why it's still useful: how signing and encryption work, tested step by step with GPG, and how Cicada 3301 used it so nobody could fake them.
Security8 min read
Create an SSH key with ssh-keygen, add it to a server and to GitHub, use ssh-agent and a config file, and fix the most common SSH permission errors.
Security7 min read
A practical hardening checklist for a fresh Ubuntu or Debian server: a sudo user, SSH keys, firewall, automatic updates, fail2ban and backups.
Security6 min read
What .env files are for, how to load them in Python, Node and Docker, how to keep them out of Git, and what to do when a secret leaks.
Security6 min read