Skip to content

Instantly share code, notes, and snippets.

@Blevene
Blevene / CVE-2026-122006.md
Created November 6, 2026 18:12
Detection Guide — Rails Active Storage arbitrary file write/read via ImageMagick coders (CVE-2026-122006 / GHSA-f3w6-w445-fwh9)

Detection Guide — Rails Active Storage arbitrary file write/read via ImageMagick coders (CVE-2026-122006 / GHSA-f3w6-w445-fwh9)

Scope and evidence base

  • Affected: Rails applications using Active Storage with config.active_storage.variant_processor = :mini_magick (default for apps on load_defaults 6.1 or earlier) that accept uploads from untrusted users, on ImageMagick builds whose policy does not deny the scripting coders. GHSA-f3w6-w445-fwh9 / CVE-2026-122006, CVSS 9.8 (AV:N/AC:L/PR:N/UI:N), published 2026-11-04.
@Blevene
Blevene / Ssh_Musl_password_bypass.md
Last active November 6, 2026 22:22
reproduction and detection: SSH x Musl Password Bypass

Validating the OpenSSH × musl password-authentication bypass: one correction to the public disclosure, one bound confirmed, and what detection actually looks like

This report is self-contained: a reader with no access to our systems can understand the bug, the one correction we validated against the public disclosure, the claim of theirs we confirmed, and every detection claim, with all decisive evidence quoted verbatim in Appendix A and the detection tools reproduced verbatim in Appendix B. Scope boundary: this is a validation and detection report, not an exploitation report — we claim no evidence of this bug being used in the wild, and nothing here was tested against a production fleet. Raw logs are retained by us and available on request.

Terms used in this report: musl is a lightweight C library used as the system libc on Alpine Linux, OpenWrt, and Buildroot images. An arm (noun) is one lab test configuration — a specific sshd build plus an account layout plus a password policy (distinct

@Blevene
Blevene / CVE-2026-98432_reproduction_report.md
Created November 2, 2026 16:42
Reproduction and Detections CVE-2026-98432 — Reproducing the Linux `ip_options_rcu` Use-After-Free

CVE-2026-98432 — Reproducing the Linux ip_options_rcu Use-After-Free: a Full Account

Self-contained report: every quantitative claim was verified against raw run logs, and the provenance (kernel hashes, PoC fingerprint, upstream commits) is given in §10. Scope: proof-only — a bug trigger and a leak-detection experiment. No exploitation work was performed.

*Terms we use: an attempt is one full attack cycle (SYN → duplicate SYN → ACK → close) against one TCP connection 4-tuple (source IP, source port, destination IP, destination port). A harness is the userspace

@Blevene
Blevene / TGT_ISCI_PreAuth_RCE_Detection_Guide.md
Last active October 28, 2026 18:57
TGT ISCI PreAuth RCE Detection Guide

Original Source used as basis for lab validation and reproduction: https://warez.sl0p.foo/tgt-iscsi-rce/

Detection guide — Linux tgt (tgtd) iSCSI target: unauthenticated (default config) heap write, heap-pointer leak, Data-In over-read

Scope: userspace iSCSI target tgtd from the tgt project (a.k.a. scsi-target-utils), all shipped versions — the bugs were introduced in 2006/2007 and are present in the latest upstream tree, v1.0.97 @ commit f0dc199, which is also the newest version any distribution ships. Not a kernel-target issue: LIO (in-kernel) is a different codebase and is not affected.

Guide version: 1.0 — 2026-10-28. All claims below are from our own source checkout and lab runs, not from the (AI-generated, author-self-validated) advisory that brought these bugs to our attention.

AI Disclaimer: Lab work + orchestration of bug reproduction/expoitability as well as analysis was facilitated by AI models.

@Blevene
Blevene / Detection_CVE-2026-111497.md
Last active October 25, 2026 18:56
CVE-2026-111497, node2shell Detection Opportunities

Detection guide — CVE-2026-111497 (Node2Shell / Broccoli): Brotli decoder OOB write

(Brotli 1.0.3–1.2.0 per the upstream CVE record, plus bundled copies · Node.js, Python, Bun, Envoy · behind nginx/Apache/CDN proxies · v4 release, 2026-10-25)

Detection-engineering guide for the Brotli decoder out-of-bounds write (CVE-2026-111497, CWE-787 + CWE-252, CVSS v4.0 9.2): the decoder confuses malformed input with incomplete input, keeps filling an 8-byte state buffer past its end, and corrupts adjacent state. **Our angle: reproduction and

@Blevene
Blevene / PHP2Shell_Detection_Opps.md
Created October 21, 2026 15:13
PHP2Shell: Detection Opportunities

Detection guide — CVE-2026-109618 / 109619 (PHP)

(nginx+PHP-FPM · Apache mod_php · Apache+proxy_fcgi · 2026-10-21)

Act now

  1. Patch to 8.5.12 / 8.4.27 / 8.3.36 / 8.2.35. PHP ≤ 8.1: source-only backports on github.com/php/php-src. Restart FPM/CGI workers after the change (§8.3).
  2. Until patched: set session.upload_progress.enabled=Off. It closes the upload-progress path only — keep watching multipart POSTs (§6).
@Blevene
Blevene / gist:37418227b764cce3151099627ff02cfc
Last active February 15, 2026 17:39
Structured Analysis - Example 1

Structured Analysis Report: US Removal of Chinese Hackers from Networks

Analysis ID: 2026-02-15-us-chinese-hackers-network-removal Date: 2026-02-15 Techniques Applied: Key Assumptions Check, Analysis of Competing Hypotheses, Cross-Impact Matrix, What If? Analysis, Contrasting Narratives, Premortem + Self-Critique Mode: Adaptive Evidence Base: 20 items


@Blevene
Blevene / practical_agentic_archetypes.md
Last active January 2, 2026 17:03
A Practical Framework for Applying Agentic Archetypes

(Part 1 can be found here: https://gist.github.com/Blevene/0d5f74c70873ce2dbe356208f75c68fa)

A Practical Framework for Applying Agentic Archetypes

There's a pattern in technology that repeats itself. First, we build powerful, all-in-one monoliths. Then, as we try to scale them for the real world, we discover their limitations and break them apart into specialized, collaborating microservices.

Agents are to artificial intelligence as containers and microservices were to the cloud.

We've treated Large Language Models like monolithic "brains-in-a-box," trying to solve every problem with a single, complex prompt. This approach is brittle, expensive, and nearly impossible to debug in production. To build robust, scalable systems, we need to think less like prompters and more like architects. We need a new mental model.

@Blevene
Blevene / gist:0d5f74c70873ce2dbe356208f75c68fa
Last active January 1, 2026 04:11
Orchestrating Intelligence: A PM’s guide to Agentic Archetypes

Orchestrating Intelligence: A PM’s guide to Agentic Archetypes

Introduction

As a product manager, I find the most valuable takeaways are often new mental models for thinking about a problem. For a while, the default model for AI has been the single, conversational agent. But as we task these systems with more complex, multi-step work, that model can feel limiting.

This shift toward building systems that can "reason" has been a surprising flashback for me. Before I joined the security industry, my education was in psychology, with a focus on cognition—the science of “thinking about thinking.” So when I started seeing the need for more structured AI reasoning, I found myself diving deep into what I call “agentic archetypes.” It’s a way to logically segment how these models "think" and act, allowing us to build more robust and predictable solutions while being mindful of our natural tendency to anthropomorphize everything.

Quick Level Set

@Blevene
Blevene / HTML Redirectors
Created August 21, 2020 13:20
August 21st, 2020 TA505 Redirectors
+ HTML Redirectors:
+ http://202.164.235.127/mmd9b4u.html
+ http://jesamcorp.com/ksobv.html
+ http://theotime.net/exd2q.html
+ http://buresova-obrazy.wz.cz/t2z25.html
+ http://diaita.ch/oscbj.html
+ http://spadework.org/5hox.html
+ http://shibata-orimono.com/fcmycq.html
+ http://iceman30.de/qhkcv.html
+ http://lesrivesdechambesy.ch/wssvlsd.html