ERB Escape Audit - Rails XSS lint
Runs the same checker as our npm package on a Node.js runtime that pip installs for you (
nodejs-wheel-binaries) - no system Node.js needed. Your files are checked locally.
15 rules that find every line in a Rails .erb view where output escaping was switched off or was the wrong escaping.
Install
erb-escape-audit file
Node 18+. The same 15 rules as the VS Code extension, from a terminal or CI.
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.
--ruleslists 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.
erb-escape-audit --dir ./templates --report html --out report.html
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": "erb-escape-audit", "args": ["--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: pip install rulestamp-erb-escape-audit && erb-escape-audit --dir . --ci
The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set READYSTACK_LICENSE=<key> or run --license <key> once.
Install (PyPI)
pip install rulestamp-erb-escape-audit
erb-escape-audit --help
Metadata
Release files for rulestamp-erb-escape-audit 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rulestamp_erb_escape_audit-1.0.7.tar.gz | 15.9 kB | Without provenance | Details for rulestamp_erb_escape_audit-1.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rulestamp_erb_escape_audit-1.0.7-py3-none-any.whl | Python 3 | none | any | Details for rulestamp_erb_escape_audit-1.0.7-py3-none-any.whl |
Total release size: 33.7 kB
Release files / rulestamp_erb_escape_audit-1.0.7.tar.gz
| Download URL | rulestamp_erb_escape_audit-1.0.7.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47032b88c5cc2a6d9a7493a29e3fc1b7039305730ffa96be951f00fddd618d31
|
|
BLAKE2b-256 checksum How to use checksums |
eabe6f721363597a3453e89f6a097337041bdf1fcd22f77a0fad0a4ae95139ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / rulestamp_erb_escape_audit-1.0.7-py3-none-any.whl
| Download URL | rulestamp_erb_escape_audit-1.0.7-py3-none-any.whl |
|---|---|
| Size | 17.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ac1ea7431539e8138ff86ca3d41e59cdb34e5d3c9fa2c4b06e425c056d410bc
|
|
BLAKE2b-256 checksum How to use checksums |
a697862577b9092ddf3fb5c096085c1004d5e19874f1c6bf89ab8288fbb2f624
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for rulestamp-erb-escape-audit 1.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.