All Tags

    Python

    10 items across 1 section

    Blog Posts10

    Run AI Locally for AWS Security Work: The Complete Ollama Guide

    Stop sending your IAM policies, CloudTrail logs, and infrastructure code to third-party APIs. Run LLMs locally with Ollama on Apple Silicon: private, offline, fast. Complete setup guide with AWS security use cases.

    15 min read · 2026-03-30

    We Detonated the Real LiteLLM Malware on EC2: Here's What Happened

    We obtained the actual compromised litellm packages, set up a disposable EC2 instance with honeypot credentials and mitmproxy, and detonated the malware. Full evidence: fork bomb, credential theft in under 2 seconds, IMDS queries, AWS API calls, and C2 exfiltration.

    22 min read · 2026-03-25

    Anatomy of a Supply Chain Attack: How LiteLLM Was Weaponized in 6 Hours

    A deep technical breakdown of how threat actor TeamPCP compromised Trivy, pivoted to LiteLLM, and turned a popular AI proxy into a credential-stealing weapon targeting AWS IMDS, Secrets Manager, and Kubernetes.

    18 min read · 2026-03-25

    Mastering AWS SAM for Python Lambda: The Ultimate Hands-On Guide

    A complete beginner-to-builder guide for AWS SAM with Python. Learn to create, test locally, deploy, debug, and manage serverless APIs step by step.

    20 min read · 2025-07-15

    Building an S3 Security Scanner: From Frustration to Open Source

    Part 3 of the S3 Security Series. Learn about the open-source S3 Security Scanner tool that automates 22 security checks, DNS takeover detection, and bucket discovery.

    12 min read · 2026-01-14

    Episode 1: Hunting Deprecated Lambda Runtimes - Before They Become Problems

    Learn how to systematically identify Lambda functions running on deprecated runtimes across all AWS regions with CLI and Lambda automation tools.

    12 min read · 2025-09-01

    Setting Up Your AWS Developer Environment with Python Automation

    A practical guide to configuring AWS CLI v2, Boto3, and secure credential management for professional cloud development.

    15 min read · 2025-01-06

    IAM Fundamentals: Your First Line of Defense in AWS

    A practical guide to AWS Identity and Access Management covering users, groups, roles, and policies with hands-on Python examples.

    12 min read · 2025-01-13

    Vault Authentication and Python Integration: From AppRole to Production Code

    Deep dive into Vault authentication methods including AppRole and AWS IAM auth, with a complete Python application that uses dynamic AWS credentials transparently.

    15 min read · 2025-02-17

    AWS Lambda Deep Dive: Serverless Computing from First Function to Production

    Complete guide to AWS Lambda covering the execution model, deployment options, triggers, cold starts, concurrency, pricing, and production architecture patterns.

    21 min read · 2025-03-24

    Need Help with AWS Security?

    Our AWS security experts can help you implement best practices across all these topics.

    Contact Us