Skip to content

ajtazer/heckit / skills/cve-hunting/decompression-bomb

decompression-bomb

Verified

Detect decompression bomb vulnerabilities where compressed input can expand to exhaust memory, targeting buffer-based decompression without size limits.

FileKindSize
SKILL.mdskill md2.8 KB
references/false-positive-indicators.mdmarkdown959 B
references/poc-skeleton.mdmarkdown2.5 KB
references/sinks.mdmarkdown1.7 KB

references/false-positive-indicators.md

View on GitHub
# False Positive Indicators -- Decompression Bomb

### 1. Has maxSize/maxOutputSize Check
Library checks decompressed output size and aborts if exceeded.

### 2. Uses Streaming with Backpressure
Streaming decompression where the consumer applies backpressure and processes chunks without buffering the entire output.

### 3. Has Compression Ratio Limiting
Library checks the ratio of compressed to decompressed size and rejects abnormally high ratios (> 100:1 or similar).

### 4. Input Size Bounded by Upload Limits
Server enforces a maximum upload/request body size. Calculate: even worst-case compression ratio (1032:1 for gzip) applied to max input size -- is the result within memory limits?

### 5. Process Has Memory Limits
Container/cgroup memory limits. Still a DoS (process killed) but reduced blast radius.

### 6. Nested Compression Not Supported
For nested bombs (compressed data inside compressed data), the library only decompresses one level.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall