Sign inSign up

getreadystack/erb-escape-audit

By getreadystack

Updated 4 days ago

15 rules that find every line in a Rails .erb view where output escaping was switched off or was the

Image
0

87

getreadystack/erb-escape-audit repository overview

ERB Escape Audit - Rails XSS lint

15 rules that find every line in a Rails .erb view where output escaping was switched off or was the wrong escaping.

Run

docker run --rm -v "$PWD":/work getreadystack/erb-escape-audit /work/file

The same 15 rules as the VS Code extension, in a container. Mount a folder on /work.

Free

  • Audit the .erb file you have open: every unescaped-output line with its line number, severity and the escaping helper that fixes it - no key, no cap, no watermark.
  • --rules lists every rule

With a licence ($29 once)

  • Sweep every .erb file in the workspace in one run and write a dated Markdown/CSV report you keep as the evidence artefact for a release note or a vulnerability-handling record.
docker run --rm -e READYSTACK_LICENSE=<key> -v "$PWD":/work getreadystack/erb-escape-audit --dir /work --ci

A freelance Rails developer doing the same template review by hand bills $75-$150 an hour.

Use from an AI agent (MCP)

Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:

{ "mcpServers": { "erb-escape-audit": { "command": "npx", "args": ["-y", "@readystack/erb-escape-audit", "--mcp"] } } }

Tools: check_text and check_file (free) · check_dir (licence; the full sweep is free for 7 days). The agent gets every finding with the line number.

Use in CI

- name: ERB Escape Audit - Rails XSS lint
  run: npx -y @readystack/erb-escape-audit --dir . --ci

(container: docker run --rm -v "$PWD:/work" getreadystack/erb-escape-audit --dir /work --ci)

Try the full run free for 7 days — no key needed. Then one licence, 7-day refund, no questions. Set READYSTACK_LICENSE=<key> or run --license <key> once.

Get a licence

Tag summary

Content type

Image

Digest

sha256:5a2d9beab

Size

46.1 MB

Last updated

4 days ago

docker pull getreadystack/erb-escape-audit