# kr2s-was-i-exploited

Searches a Rails app's Active Storage for crafted files that exploited CVE-2026-66066, then judges whether any file read was exfiltration.

Skill by Ruby on Rails. Category: Security.

## Install

Project (for this project only):

```sh
npx skills add rails/rails-forensics-cve-2026-66066 --skill kr2s-was-i-exploited
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx skills add rails/rails-forensics-cve-2026-66066 --skill kr2s-was-i-exploited -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.

## Security audits

- Gen Agent Trust Hub: Warn
- Socket: Pass
- Snyk: Warn

Installs: 2. Installs counted by skills.sh. [Open on skills.sh](https://www.skills.sh/rails/rails-forensics-cve-2026-66066/kr2s-was-i-exploited)

## Source

[Open the source](https://github.com/rails/rails-forensics-cve-2026-66066/tree/HEAD/skills/kr2s-was-i-exploited). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

## SKILL.md

````markdown
---
name: kr2s-was-i-exploited
description: |
  Search a Rails application's Active Storage for evidence that CVE-2026-66066
  was exploited against it, establish exactly what any crafted file read, and
  decide whether that constitutes exfiltration. Requires an exposure window,
  which kr2s-was-i-vulnerable produces.
triggers:
  - kr2s-was-i-exploited
  - was i exploited
  - were we exploited
  - was this exploited
  - did anyone exploit
  - CVE-2026-66066 forensics
  - GHSA-xr9x-r78c-5hrm forensics
  - KindaRails2Shell forensics
  - active storage forensics
  - scan active storage for crafted files
  - search for crafted mat files
  - libvips arbitrary file read forensics
  - matload arbitrary file read
  - did anyone read our secrets
  - check for exfiltration through active storage
---

# kr2s-was-i-exploited

Open `@references/guide.md` and follow it. Do not proceed without it.

Determines whether CVE-2026-66066 (GHSA-xr9x-r78c-5hrm) was exploited against a
Rails application's Active Storage, and if so, exactly what left the building.

This skill runs second. It cannot start without an exposure window, and
`kr2s-was-i-vulnerable` is what produces one. If you do not have a start date
and an end date, stop and run that skill first.

It produces a written analysis, not a verdict line. Finding crafted files is the
easy half; establishing what they actually read, and whether that amounts to
exfiltration or a researcher's harmless proof, is the half that takes judgment.
````

- Previous: [ue-test-authoring](https://syn4pse.dev/terminal/ue-test-authoring.md)
- Next: [kr2s-was-i-vulnerable](https://syn4pse.dev/terminal/rails-kr2s-was-i-vulnerable.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
