惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
博客园_首页
IT之家
IT之家
Engineering at Meta
Engineering at Meta
量子位
宝玉的分享
宝玉的分享
MyScale Blog
MyScale Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
L
LangChain Blog
爱范儿
爱范儿
WordPress大学
WordPress大学
F
Full Disclosure
T
Tailwind CSS Blog
GbyAI
GbyAI
Recorded Future
Recorded Future
美团技术团队
S
SegmentFault 最新的问题
A
About on SuperTechFans
小众软件
小众软件
云风的 BLOG
云风的 BLOG
人人都是产品经理
人人都是产品经理
Recent Announcements
Recent Announcements
Google DeepMind News
Google DeepMind News
Apple Machine Learning Research
Apple Machine Learning Research
D
DataBreaches.Net
J
Java Code Geeks
The Cloudflare Blog
The GitHub Blog
The GitHub Blog
Hugging Face - Blog
Hugging Face - Blog
D
Docker
Vercel News
Vercel News
H
Help Net Security
博客园 - 叶小钗
B
Blog
阮一峰的网络日志
阮一峰的网络日志
N
Netflix TechBlog - Medium
Blog — PlanetScale
Blog — PlanetScale
腾讯CDC
Microsoft Security Blog
Microsoft Security Blog
V
Visual Studio Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美
The Register - Security
The Register - Security
aimingoo的专栏
aimingoo的专栏
博客园 - 聂微东
月光博客
月光博客
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Last Week in AI
Last Week in AI
M
MIT News - Artificial intelligence
Jina AI
Jina AI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Flibustier: Why We Built a Container Security Auditor in Pure Bash
KL3FT3Z · 2026-06-18 · via DEV Community

"A lightweight, zero-dependency container runtime audit toolkit designed for redteam operations. No Python, no Docker image, no compilation — just scp and run.”


⚓ Flibustier: Why We Built a Container Security Auditor in Pure Bash

"When you're inside a target network, you don't have time to build a Python virtualenv or pull a 500MB scanner image. You need answers in seconds, with whatever tools are already there."

TL;DR

We built Flibustier — a container runtime security auditor written entirely in Bash. It requires nothing but docker, jq, and standard UNIX utilities. No compilation, no package managers, no bloated dependencies. Just scp it to a compromised node and run it. It outputs findings in terminal, JSON, CSV, Markdown, or SARIF for your GitHub Security tab.

GitHub: github.com/toxy4ny/flibustier


The Problem: Redteam Reality

If you've ever done a redteam engagement against a containerized environment, you know the drill:

  1. You land on a worker node or a compromised pod.
  2. You want to map the attack surface of the container runtime.
  3. You reach for your favorite scanner... and realize it's written in Python and needs pip install -r requirements.txt.
  4. Or it's a Docker image that you can't pull because the node has no internet access.
  5. Or it needs root and a dozen kernel headers to compile a kernel module.

The target cluster doesn't care about your development workflow. It has bash, it (probably) has jq, and it definitely has docker. That's it.

Existing tools are great for CI/CD pipelines:

  • Trivy scans images for CVEs.
  • Falco monitors runtime behavior.
  • Docker Bench checks host configuration.

But they all assume you're running them from a comfortable bastion host with internet access, package managers, and time to spare. In a redteam scenario, you're often operating from a minimal container, a sidecar, or a compromised node where apt-get is a distant dream.


The Philosophy: Zero-Friction Runtime Auditing

We asked ourselves: What is the absolute minimum tool that can tell us if a container fleet is misconfigured right now?

Not "what vulnerabilities exist in the image layers" — that's Trivy's job.
Not "what syscalls are being made" — that's Falco's job.

We wanted to know:

  • Which containers are running --privileged?
  • Who mounted /var/run/docker.sock?
  • Which processes are running as root despite a USER directive?
  • Who shares the host network or PID namespace?
  • Are there secrets in environment variables?

These are runtime misconfigurations. They don't require a vulnerability database. They require reading docker inspect output and /proc status files. And docker inspect + jq + bash is all you need.


Why Bash?

I can already hear the objections: "Bash? For security tooling? In 2026?"

Yes. Here's why:

1. Universal Availability

Every Linux system has Bash. Every container host has Bash. You don't need to install a runtime. You don't need to worry about glibc versions. You don't need python3.11 when the target only has python3.6.

2. Zero Dependencies (Almost)

Flibustier needs:

  • bash (4.0+)
  • jq (available in every modern distro, often pre-installed)
  • docker CLI (you're auditing Docker; it's already there)
  • capsh (optional, for capability decoding)

That's it. No pip. No npm install. No cargo build. No 200MB base image.

3. Easy Exfiltration & Deployment

# From your attack box
scp -r flibustier/ user@target-node:/tmp/
ssh user@target-node "cd /tmp/flibustier && ./flibustier.sh --format json"

Done. The entire toolkit is under 20KB of shell scripts.

4. Readable & Hackable

Redteamers modify tools on the fly. Bash is transparent. You can open any check file, understand it in 30 seconds, and adapt it to the specific quirks of your target environment. Try doing that with a compiled Go binary.

5. Fast Startup

No interpreter warmup. No dependency resolution. Just fork and exec.


What Flibustier Checks

We focused on runtime misconfigurations that directly enable container escape or privilege escalation:

Check What it finds Severity
Privileged --privileged containers 🐙 Kraken
Capabilities CapAdd and effective vs. bounding set mismatches 🌀 Hurricane
Mounts docker.sock, /proc, /sys, /dev, host root 🐙 Kraken
Namespaces Host pid, net, ipc, uts, userns 🌀 Hurricane
Processes Root processes inside containers ⛈️ Storm
Secrets Env vars matching secret patterns ⛈️ Storm
Resources Missing limits, mutable rootfs, no no-new-privs 🌊 Choppy–⛈️ Storm
Security Profiles Disabled seccomp/AppArmor/SELinux 🌀 Hurricane

The severity scale is nautical because we like our themes consistent:

  • 🌊 Calm — Informational
  • 🌊 Choppy — Low risk
  • ⛈️ Storm — Medium risk
  • 🌀 Hurricane — High risk
  • 🐙 Kraken — Critical (immediate container escape likely)

In Action: A Redteam Scenario

Imagine you've gained access to a Kubernetes worker node via a compromised pod. You want to escalate to the host or move laterally. Instead of blindly poking around, you run Flibustier:

$ ./flibustier.sh --severity storm

⚓ FLIBUSTIER v0.1.0 — Container Runtime Security Audit
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

[🐙 KRAKEN]    /monitoring-agent        Container runs with --privileged flag
[🐙 KRAKEN]    /ci-runner               Dangerous host mount detected
               Mount: /var/run/docker.sock → /var/run/docker.sock (rw)
[🌀 HURRICANE] /load-balancer           Host network namespace shared
[⛈️ STORM]     /api-gateway             Capability added: NET_ADMIN
[⛈️ STORM]     /worker-7                Container processes running as root
               Processes: nginx,python. No explicit non-root user configured.

  Risk Score: 75/100 (HIGH) | 5 findings require attention

In 3 seconds, you know:

  1. /monitoring-agent is privileged — full host device access.
  2. /ci-runner has the Docker socket — you can spawn a new privileged container and escape.
  3. /load-balancer shares the host network — you can sniff traffic and hit localhost services.
  4. /api-gateway has NET_ADMIN — you can modify network interfaces and routes.
  5. /worker-7 runs everything as root — a simple container escape gives you host root.

That's your attack path, prioritized by severity. No noise from CVE databases. Just actionable runtime intelligence.


Output Formats for Every Workflow

Terminal (default)

Human-readable, color-coded, instant situational awareness.

JSON

./flibustier.sh --format json --output audit.json

Perfect for piping into jq, storing in your engagement notes, or feeding into automation.

SARIF

./flibustier.sh --format sarif --output results.sarif

Upload directly to GitHub Security tab or any SARIF-compatible platform. Because even redteamers need to write reports.

Markdown

./flibustier.sh --format md --output report.md

Drop it straight into your engagement report or wiki.


Comparison: Where Flibustier Fits

Tool Scope Runtime Dependencies Best For
Trivy Image CVEs No Binary CI/CD image scanning
Falco Syscall monitoring Yes Kernel module/eBPF Continuous runtime detection
Docker Bench Host config Partial Shell script Docker daemon hardening
Flibustier Runtime misconfigs Yes Bash + jq Rapid redteam assessment

Flibustier doesn't replace these tools. It complements them by filling the gap between "I need a full vulnerability scan" and "I need to know what's misconfigured right now on this specific node."


For Defenders Too

While we built this with redteamers in mind, it's equally valuable for blue teams:

# Run in CI pipeline
./flibustier.sh --format sarif --severity storm --output results.sarif

# Fail the build on Hurricane/Kraken findings
# Exit codes: 0 = clean, 1 = storm, 2 = hurricane/kraken

The GitHub Actions workflow in the repo automatically uploads SARIF to your Security tab and fails the pipeline on critical findings.


Under the Hood: A Modular Bash Architecture

We didn't just dump everything into one script. Flibustier is structured like a proper toolkit:

flibustier.sh          # Entry point, argument parsing
lib/
  boarding.sh          # Environment validation
  hold.sh              # Severity engine, finding registry
  logbook.sh           # Output formatting
  chart.sh             # Report generators (JSON/CSV/MD/SARIF)
checks/
  privileged.sh        # Check logic
  capabilities.sh
  mounts.sh
  namespaces.sh
  processes.sh
  secrets.sh
  resources.sh
  security_profiles.sh

Each check is a standalone module. Want to add a new check? Create checks/your_check.sh, implement check_your_check(), and it automatically integrates with the severity engine and all output formats.


Limitations & Honesty

We're not claiming Bash is the perfect language for security tools. It has limitations:

  • No type safety. We validate inputs carefully, but Bash is Bash.
  • Performance. On fleets with 1000+ containers, a compiled tool would be faster. For typical engagements (<100 containers), it's instant.
  • Error handling. We use set -euo pipefail and trap errors, but edge cases exist.

However, for the specific use case of rapid runtime assessment during an engagement, these trade-offs are worth it. The alternative is often no assessment at all because you can't deploy your primary toolkit.


Try It

git clone https://github.com/toxy4ny/flibustier.git
cd flibustier
chmod +x flibustier.sh

# Run it
./flibustier.sh --format json | jq '.summary'

Or run it from Docker:

docker run --rm -it \
  -v /var/run/docker.sock:/var/run/docker.sock:ro \
  flibustier --format json


Contributing

Found a new container escape vector? Want to add a check for Kubernetes-specific misconfigurations? PRs welcome. The modular architecture makes contributions straightforward.


Final Thoughts

Security tooling often follows the "shiny object" syndrome — complex, feature-rich, and dependent on ever-growing stacks. But when you're deep inside a target environment, simplicity wins. Bash is boring. Bash is everywhere. Bash just works.

Flibustier embraces that philosophy. It's not fancy. It's effective. And when you need to know if that container fleet is one misconfiguration away from total compromise, it gives you the answer in seconds.

Happy hunting. 🏴‍☠️


Have you built security tools in "unconventional" languages for operational reasons? Share your stories in the comments.