# osnr/horrifying-pdf-experiments

:syringe: Stuff which works in Chrome and maybe Acrobat and Foxit.

Repository: https://github.com/osnr/horrifying-pdf-experiments
Canonical: https://ross.abutalabs.com/products/horrifying-pdf-experiments
Homepage: https://cdn.jsdelivr.net/gh/osnr/horrifying-pdf-experiments@master/breakout.pdf
Language: Python
License Family: other
Last push: 2020-10-30T12:16:22+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3713, "days_push": 2133, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1660, forks 52 (observed 2026-08-28T04:05:18.363496+00:00)

## What it is
A collection of experiments demonstrating that PDF files can contain JavaScript and interactive behavior, most famously a playable Breakout game inside a PDF that works in Chrome. It serves as a demonstration and educational resource about the surprisingly powerful PDF specification.

## Use cases
- play breakout inside a pdf file
- learn what javascript can do inside pdf documents
- demonstrate pdf security risks to a team
- understand the pdf specification's scripting features
- find examples of interactive pdf hacks

## When to choose
- you want a concrete, working demo of JavaScript-driven behavior inside PDFs
- you are researching or teaching about PDF format capabilities and attack surface
- you want to reproduce the Breakout-in-a-PDF hack

## When to avoid
- you need a production PDF generation or manipulation library
- you need a maintained tool with a license and ongoing support
- you need PDF features that work across all readers including Acrobat and Foxit

## Facets
- artifact type: learning-resource
- maturity: experimental
- function: pdf, security, developer-tools
- domain: pdf, security, developer-tools
- platform: browser, cross-platform
- tags: pdf-experiments, pdf-javascript, breakout-game, security-research, demo

## Member repositories
- osnr/horrifying-pdf-experiments (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:18.363496+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:44:41.013521+00:00, confidence not recorded.
  - readme: https://github.com/osnr/horrifying-pdf-experiments (fetched 2026-08-28T04:05:18.363496+00:00, sha e37cf4c55623)
- Data as of 2026-08-30T08:39:29.467469+00:00.
