Feeling overwhelmed by AI? Learn the Centaur Mindset. Read More →
Terminal windows showing code running on different operating systems

Cross-Platform Scripting Tips and Tricks

Note: This guide combines personal experience from writing deployment scripts across macOS, Linux, and Windows environments with patterns documented in the Python pathlib documentation, Git documentation, PowerShell cross-platform guidance, Python subprocess module, and GitHub Actions runner images. A deployment script that works on macOS. A colleague runs it on Windows. It fails immediately. The culprit? A hardcoded forward slash in a file path. I’ve seen this exact scenario play out multiple times over the past five years, and it’s almost always preventable. ...

January 30, 2026 · 8 min · Scott Algatt
A security operations center with AI-assisted threat detection visualization

Building AI-Assisted Security Tools

This is Part 2 of “The Centaur’s Toolkit” series. In Part 1, we covered the four collaboration modes for AI pair programming. Now we apply that framework to higher-stakes territory: security. You’ve embraced AI pair programming. You’re using Strategist mode for architecture, Editor mode for refinement, and you feel like a genuine Centaur. Then your manager asks you to build a security tool. Suddenly, the stakes feel different. In regular coding, an AI-suggested bug might waste a few hours of debugging. In security, an AI-suggested bug might become a vulnerability that sits in production for months. The cost of being wrong isn’t just time. It’s trust, data, and potentially your users’ safety. ...

January 9, 2026 · 10 min · Scott Algatt
Network port scanning visualization with Python code

Building a Custom Security Tool: Python Port Scanner from Scratch

Note: This guide is based on technical research from network protocol RFCs, Python socket programming documentation, and analysis of open-source scanning tools like nmap. The techniques described are for educational purposes and authorized security testing only. Unauthorized port scanning may violate computer fraud laws and terms of service. Code examples have been verified for functionality on Python 3.9+. Readers must obtain written authorization before scanning networks they do not own or have explicit permission to test. ...

December 27, 2025 · 20 min · Scott
Python and Bash scripts executing security automation workflows

Scripting for Security Automation: Python and Bash for SOC Operations

Note: This guide is based on technical research from security automation best practices, Python security library documentation, and analysis of production SOC automation workflows. Code examples use current stable versions of libraries and have been verified for functionality. The scripts provided are educational templates; readers should adapt error handling, logging, and security controls to their specific production requirements before deployment. Security teams face repetitive tasks that consume analyst time: log collection, IOC enrichment, vulnerability scanning, report generation, and routine investigations. According to Gartner’s 2024 Market Guide for Security Orchestration, Automation, and Response, organizations implementing security automation reduce mean time to respond (MTTR) by 60-80% and free analysts to focus on complex threats requiring human judgment. ...

December 20, 2025 · 17 min · Scott
AI analyzing security log streams

Using AI to Analyze Log Files for Security Threats

Note: This guide is based on technical research from security logging best practices, machine learning research papers, and analysis of open-source log analysis tools. The techniques described are technically sound and based on documented implementations in production security environments. Code examples use established Python libraries with verified package versions. Readers should adapt these approaches to their specific log formats and security requirements. Security teams drown in log data. A medium-sized enterprise generates terabytes of logs daily from firewalls, IDS/IPS, endpoints, applications, and cloud services. Traditional log analysis (grep, awk, and manual review) doesn’t scale to this volume. ...

November 29, 2025 · 18 min · Scott