Sign inSign up

getreadystack/erb-escape-audit

By getreadystack

•Updated 25 days ago

Not affiliated with ReadyStack (readystack.dev). No new versions are published here.

Image
0

177

getreadystack/erb-escape-audit repository overview

Not affiliated with ReadyStack (readystack.dev). No new versions are published here.

⁠ERB Escape Audit - Rails XSS lint

ERB Escape Audit - Rails XSS lint — finds the line

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 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)

The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set READYSTACK_LICENSE=<key> or run --license <key> once.

Get a licence⁠

Tag summary

Content type

Image

Digest

sha256:89282e1a3…

Size

46.1 MB

Last updated

25 days ago

docker pull getreadystack/erb-escape-audit