The XSS Rat

Case study · RatCTF, September 2026

I pentested my own platform and published what I found.

RatCTF hosts deliberately vulnerable machines that thousands of people attack on purpose. The platform around them is not supposed to break. In September 2026 I ran a full assessment against production to NIST SP 800-115, fixed what it found, and put the result, the policy and the open gaps online. This is what I would hand you, done to myself first.

0critical findings0 open
2high findings, both fixed and re-tested0 open
6medium findings, all fixed and re-tested0 open
5low and informational findings1 open · accepted risk

The assessment

All three execution phases of SP 800-115, including live exploitation against production.

What changed

Remediation, in the order it mattered.

Tested and held

A report that only lists failures tells you half of what was checked.

  • Privileged routes reject unauthenticated access
  • Internal APIs reject missing or invalid credentials
  • Lab containers network-isolated
  • Lab workloads hold no cluster permissions
  • Reset tokens random, hashed at rest, expiring
  • No credentials in source control
  • Modern TLS with HSTS
  • In-browser attack box unprivileged, all capabilities dropped

NIST CSF 2.0 profile

Current tier against target, per function. Tier 2 today, trending to 3.

  • Govern2 → 3One person runs the platform, so there is no segregation of duties. A named deputy holds independent access.
  • Identify3 → 3Third-party dependencies are inventoried; advisories are not yet tracked systematically.
  • Protect3 → 3The content security policy permits inline scripts because the in-browser attack box needs them. A deliberate trade-off, written down as one.
  • Detect2 → 3No alerting on unusual outbound traffic yet.
  • Respond2 → 3The incident response plan exists and has never been exercised.
  • Recover3 → 3Backups every six hours. The quarterly restore test has one data point so far.

current tierstill to reachat target · Tier 4 is declined: it does not fit a single-operator company.

The standing policy

Written to the planning requirements of SP 800-115 §2, so the next assessment is not improvised.

Read the originals

Everything on this page is published on the platform itself.

Need this for your own platform?

A test, a remediation round and a governance profile you can show a customer or an auditor. The intake call is 45 minutes and free.