The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the VASTlint listing page.
Website & web validator: VAST tag validator Paste a VAST tag and get results in your browser, no install required.
A high-performance VAST XML validator built on a pure-Rust core. Checks ad tags against the IAB Tech Lab VAST specification so you don't have to read it. Over $30 billion in annual CTV and video ad spend flows through VAST XML, and malformed tags are one of the most common causes of lost impressions, broken tracking, and revenue discrepancies between platforms. There is no widely adopted open-source tool that validates VAST XML against the full IAB specification across all published versions.
VASTlint ships a native MCP server - making VAST validation available as a callable tool from Claude, Cursor, the AAMP Buyer Agent SDK, or any MCP-compatible client. Connect to vastlint.org/mcp and call validate_vast, validate_vast_url, inspect_vast, list_rules, explain_rule, or fix_vast. Each tool returns structured JSON with rule IDs, XPath locations, and spec references.
Native bindings for realtime ad pipelines: vastlint-go (CGo, prebuilt static libs, no Rust toolchain needed), vastlint-java (gRPC client for JVM ad servers), vastlint-erlang (Elixir/Erlang: OTP port mode for production ad delivery, DirtyCpu NIF for non-critical paths), and a WASM npm package for Node.js and browsers. All bindings share the same compiled Rust core. Consistent results everywhere, sub-millisecond latency at scale.
Need a copy-paste frontend starting point? See the React drop-in example in npm/examples.
Validates VAST documents against:
<InteractiveCreativeFile apiFramework="SIMID"> and nonlinear <IFrameResource> (the IAB-sanctioned VPAID replacement). Creative fetch, frame headers, and the postMessage handshake live in the VAST tester, not in vastlint-core or default check.<AdVerifications> — vendor format, duplicate vendor detection, OMID resource semantics, verification tracking validation, and pre-4.1 extension-carried compatibility blocks232 rules across required fields, schema validation, structural correctness, security, consistency, deprecated features, ambiguous usage, value formats, SIMID validation, OMID validation, VMAP 1.0, and DAAST 1.0. Rules marked with $ have direct revenue impact - use vastlint check --fail-on-warning in CI to catch them before they reach production. See common errors for the ones that cost real money. New to VASTlint? Start with the tutorial.
Full rule reference with examples and fix instructions: VAST error rule reference · RULES.md
How rules are derived: Rule derivation methodology · METHODOLOGY.md
Zero runtime dependencies in the core. vastlint-core has three compile-time dependencies (quick-xml, url, phf) and no runtime dependencies whatsoever — no async runtime, no regex engine, no schema interpreter. Rules are compiled Rust functions. There is no transitive dependency graph to audit, no CVE surface to track, and no supply chain to compromise at runtime.
Verifiable build provenance. All release artifacts are signed with SLSA Build Level 2 provenance via GitHub's native attestation store. Every binary, library, .vsix, and npm package can be verified cryptographically against the exact source commit that produced it. No developer machine is ever involved in producing release artifacts. SLSA L3 (hermetic, isolated signing) is in progress.
No data retention by default — and full self-hosting available. The VS Code extension and Chrome page-scan path process XML locally. Pasting a tag in the Chrome popup opens the hosted tester; that path follows the website policy. The CLI does not send tags unless you pass --contribute-sample. The hosted tester, inspector, validator, and MCP server at vastlint.org/mcp may store a redacted copy of tags you submit, so the rules can be improved; see vastlint.org/privacy. Local vastlint-mcp over stdio does not send tags. The RapidAPI /validate API and the gRPC sidecar still validate ephemerally. See Telemetry and sample contribution and PRIVACY.md for the Chrome extension policy.
For teams that require on-premise processing or air-gapped deployments, VASTlint runs entirely self-hosted: the CLI image (FROM scratch, under 5 MB, cold-start under 10 ms), the vastlint-grpc sidecar (aleksuix/vastlint-grpc:0.13.2), or the pre-built static musl binary. The Rust core has no network code: no callbacks, no telemetry, no license checks. The sidecar exposes partner tallies on /metrics (port 9090); scrape them yourself.
Apache 2.0 licensed. No CLA, no dual-license commercial upsell, no usage-based restrictions. Fork it, vendor it, embed it, redistribute it.
Dependency update automation. Dependabot monitors Cargo, npm, and GitHub Actions dependencies weekly and opens PRs automatically. Combined with cargo audit on every CI push and CodeQL static analysis on every push and PR, the dependency surface stays current without manual tracking.
Auditable. OpenSSF Scorecard runs weekly and publishes a public score. CII Best Practices badge covers vulnerability reporting, CI, fuzzing, and code review requirements. The Security Advisory channel provides a private disclosure path with a 48-hour acknowledgement SLA.
Fuzz-tested continuously. Three libFuzzer targets run on every CI push against the core validator and auto-fix engine. See the Fuzzing section below.
Benchmarked on Apple M4 (10-core), production-realistic VAST tags (17–44 KB):
| Metric | 17 KB tag | 44 KB tag |
|---|---|---|
| Single-thread throughput | 2,747 tags/sec | 475 tags/sec |
| Single-thread latency | 363 µs | 2,104 µs |
| 10-core throughput | 15,760 tags/sec | 2,635 tags/sec |
A typical OpenRTB bid cycle takes 100–300 ms; validation adds less than 2.1% of that budget even on the heaviest tags. An SSAI pipeline doing 1,000 stitches/sec spends more time on DNS than on validating the VAST response.
No async runtime, no regex engine, no schema interpreter. Rules are compiled Rust functions. Three dependencies: quick-xml, url, and phf (compile-time hash maps).
CLI crate on crates.io: crates.io/crates/vastlint
Or download a pre-built binary from the releases page.
Pull the image from Docker Hub:
Validate a file:
Pipe from stdin:
JSON output:
Validate a whole directory:
The image is built FROM scratch - a fully-static musl binary with no OS layer.
Compressed size is under 5 MB. Cold-start to first result is under 10 ms.
Example output:
vastlint fixis opinionated and experimental. It applies a small set of deterministic, low-risk repairs (HTTPS upgrades including SIMIDHTTP://, SIMIDapiFramework/variableDuration/ missingtype="text/html",conditionalAdremoval). Always review the diff before committing. Use--dry-runfirst, and re-runcheckafterward to confirm the result. Future releases may make individual fixes configurable.
vastlint fix repairs fixable issues and writes the corrected XML back to the file (or to a separate path with --out):
Not every rule is auto-fixable - some require human judgment (e.g. choosing the right <AdSystem> value). After running fix, re-run check to confirm the remaining issues.
| Code | Meaning |
|---|---|
| 0 | All files valid - no errors found |
| 1 | One or more files have validation errors |
| 2 | Usage error - unreadable file, bad config, or bad arguments |
Create vastlint.toml anywhere in your project tree. vastlint searches up from the current directory and uses the first one it finds. vastlint init generates a starter file with every rule listed at its default severity, commented out:
Valid levels: error, warning, info, off.
Use --config <path> to specify a config file explicitly, or --no-config to ignore all config files.
Or download a release binary instead of building from source:
--format json emits one JSON object per file, one per line (NDJSON). This makes it easy to process output with jq or pipe it into other tools.
Fields:
| Field | Type | Description |
|---|---|---|
file | string | Path as given on the command line, or "-" for stdin |
version | string | Detected VAST version, or "unknown" |
valid | bool | True when there are zero errors |
summary.errors | number | Count of error-level issues |
summary.warnings | number | Count of warning-level issues |
summary.infos | number | Count of info-level issues |
issues[].id | string | Rule ID (stable, use in config to override) |
issues[].severity | string | "error", "warning", or "info" |
issues[].message | string | Human-readable description |
issues[].path | string | XPath-style location in the document |
issues[].spec_ref | string | Section of the IAB VAST spec |
vastlint-core is published separately as a library crate. Full API documentation is on docs.rs.
To override rule levels programmatically:
The primary use case for VASTlint is in-process validation inside ad tech infrastructure — embed vastlint-core directly in your bid handler or SSAI stitcher to validate every VAST response before committing the impression. No subprocess, no network round-trip.
A typical OpenRTB bid cycle has 100–300 ms to work with; VASTlint adds less than 2.1% of that budget even on the heaviest 44 KB production tags. An SSAI platform doing 1,000 stitches/sec spends more time on DNS than on VAST validation.
Rust — vastlint-core (pure Rust, three small dependencies):
Go — vastlint-go (no Rust toolchain required, prebuilt static libs):
Java — vastlint-java (gRPC client, no JNI):
Talks to vastlint-grpc. Same catalog as Go. See vastlint-java.
Elixir / Erlang — vastlint-erlang (BEAM, OTP-safe):
Two integration modes are available. For production ad delivery, use the OTP port mode — vastlint-cli runs as a supervised OS process, so a crash is fully isolated and never affects the BEAM node:
The DirtyCpu NIF remains available for non-critical paths where the ~10–50 µs port overhead matters:
All four bindings share the same compiled Rust core. Identical rule enforcement, same rule IDs in the response. See the ad server integration guide for production patterns including per-partner rule overrides, revenue-impact rule filtering, and structured error reporting back to demand partners.
vastlint is published on npm. Same 232 rules, same core - compiled to WASM.
Works in Node.js (ESM and CJS), Vite, Webpack 5, and Rollup. Requires a bundler for browser use - see the npm package README for the full environment compatibility table and API reference.
vastlint-go provides Go bindings via CGo. Prebuilt static libraries are included - no Rust toolchain required.
Supported platforms: Linux (amd64, arm64), macOS (amd64, arm64).
With options:
See the vastlint-go README for the full API reference.
vastlint-java is a gRPC client for JVM ad servers. Same catalog as Go. Talks to vastlint-grpc rather than loading JNI on the auction thread.
Run the server first: docker run --rm -p 50051:50051 -p 9090:9090 aleksuix/vastlint-grpc:0.13.2. Set x-vastlint-caller to a stable partner id (seat, DSP, AdSystem); verdicts and $ findings land on /metrics. Grafana: docker compose --profile pipeline up --build. See the vastlint-java README for GitHub Packages, JitPack, TLS, and options. The Java client tag is still 0.13.0; the sidecar image tracks this repo.
Install the VASTlint extension from the VS Code Marketplace. VAST XML files are validated as you type with clean Problems entries, concise hovers, direct rule docs links, and no terminal required.
Or search for vastlint in the VS Code Extensions panel.
The VASTlint Chrome extension detects VAST XML on any page and shows inline validation errors, warnings, and info messages - squiggly underlines, hover tooltips, and a collapsible panel, all powered by the same VASTlint core.
Install from the Chrome Web Store: VASTlint – Chrome Web Store
Or install manually (no review wait):
vastlint-extension.zip from the latest GitHub Releasechrome://extensions and enable Developer mode (top-right toggle)The toolbar icon badge shows the error count for the current tab. Click it for a per-severity summary, a button to vastlint.org, paste XML / a tag URL to open the VAST tester with that tag already in the editor, or open the analysis studio and SIMID studio.
vastlint-mcp is a Model Context Protocol server. It exposes validate_vast, validate_vast_url, inspect_vast, list_rules, explain_rule, and fix_vast as tools callable from Claude, Cursor, and any MCP-compatible client.
In automated advertising pipelines - as creative trafficking moves into agent-based systems (see IAB Tech Lab AAMP), validation needs to happen at the same step. The VASTlint MCP server is compatible with the AAMP Buyer Agent SDK: an agent calls validate_vast or validate_vast_url, gets back rule IDs and XPath locations for any issues, and can reject or escalate the creative before trafficking. The same server works in Claude Desktop, Cursor, Copilot, any MCP client, and CI pipelines.
No-install hosted endpoint - connect directly without installing anything. Tags sent to this endpoint may be stored (identifiers stripped); see vastlint.org/privacy. Local stdio below does not send tags:
Local install (stdio transport):
Listed on the MCP Registry as io.github.aleksUIX/vastlint. Open Plugins package: root plugin.json and mcp.json (hosted Streamable HTTP, no auth). Gemini CLI extension: gemini-extension.json (gemini extensions install https://github.com/aleksUIX/vastlint). Claude Code plugin: .claude-plugin/plugin.json, .mcp.json, skills under skills/, agent agents/vast-tag-reviewer.md. Load locally with claude --plugin-dir ./vastlint, then /vastlint:validate-vast or /vastlint:inspect-vast. Validate with claude plugin validate ./vastlint. Submit to the community marketplace at platform.claude.com/plugins/submit. Agent install notes: llms-install.md. See crates/vastlint-mcp for the full tool reference and docs/mcp-agentic.md for integration patterns, agentic loop examples, and how VASTlint fits into the IAB Tech Lab AAMP / ARTF ecosystem.
Available on RapidAPI. Send a POST /validate request with your VAST XML and get a full validation result back - no SDK, no install.
Returns the same structured result as the CLI and library: version, issues with rule IDs and line/col positions, and a summary. See the RapidAPI listing for full endpoint docs and pricing.
Paste any VAST tag into the web validator at VAST tag validator - no install, no account. Validation runs in your browser via WebAssembly. Tags you paste or fetch may be stored (identifiers stripped); see Telemetry and sample contribution and vastlint.org/privacy. An optional "contribute this tag" button next to the results is an explicit extra send.
Three independent mechanisms. None is bundled into another:
Telemetry — off by default. CLI only -- the core library has no network code. Enable with --telemetry or telemetry = true in vastlint.toml. Sends one HTTP GET per CLI invocation with: version, OS, anonymous install ID, file count. No file names, no file contents, no personal data. The install ID is a random 128-bit hex value stored in ~/.config/vastlint/id. The ping fires in a background thread with a 2-second timeout and is silently dropped on any error.
--share — off by default. Uploads the validation result (rule IDs, severities, XPath locations, summary counts) to vastlint.org and prints back a public URL (vastlint.org/r/<id>) for pasting into Slack/GitHub/PRs. Never sends the input XML itself.
Sample contribution — vastlint check tag.xml --contribute-sample on the CLI, or the "contribute this tag" button on the web validator, sends the tag's raw XML to vastlint.org to help refine its rules. The hosted tester, inspector, validator, and MCP server at vastlint.org/mcp may also store a redacted copy of tags you submit; that path is not behind --contribute-sample. Known tracking identifiers (device IDs like [IFA]/[GAID], IP addresses, consent strings like [GDPRCONSENT]/us_privacy) are redacted server-side before storage, regardless of source. Contributed samples are stored privately and kept indefinitely for internal rule-refinement research — they are never made public, unlike --share reports. Local vastlint-mcp over stdio does not send tags. See vastlint.org/privacy.
See ROADMAP.md for what's shipped, what's in progress, and what's next.
All release artifacts are built with SLSA Build Level 2 provenance via GitHub's native attestation store (actions/attest-build-provenance). Provenance is generated after the build completes and is independent of the build process — the build cannot tamper with what is signed.
Verify any artifact:
The OpenSSF Scorecard score is updated weekly.
VASTlint uses cargo-fuzz (libFuzzer) to continuously test the validator and auto-fix engine against arbitrary inputs.
Three fuzz targets run on every CI push and pull request for 30 seconds each, seeded from the test fixture corpus:
| Target | What it covers |
|---|---|
validate | Core validator against arbitrary byte sequences |
fix | Auto-fix pass against arbitrary byte sequences |
validate_wrapper | Wrapper-chain depth logic (all depths 0–255) |
To run locally:
vastlint-core is an embeddable Rust library — the primary use case is in-process validation inside SSPs, DSPs, ad servers, and SSAI platforms.type, apiFramework, HTTPS, fallback media, nonlinear iframe). It does not GET the creative HTML or run createSession. That QA is the VAST tester.vastlint inspect <url> and the MCP inspect_vast tool follow VAST wrapper chains hop-by-hop with validation at each level.vastlint-go.vastlint-core — no CVE surface, no supply chain risk.FROM scratch, under 5 MB, cold-start under 10 ms.vastlint-mcp, the VS Code extension, Chrome page scans, RapidAPI /validate, and vastlint-grpc do not store XML. Pasting a tag in the Chrome popup opens the hosted tester and follows that page's policy. --contribute-sample on the CLI is opt-in. See Telemetry and sample contribution and vastlint.org/privacy.vastlint.org/mcp is a production hosted MCP endpoint. No install needed for agents — add it to any MCP client config.vastlint-grpc serves the catalog over openadtech.vastlint.v1. /metrics counts verdicts and $ findings by x-vastlint-caller. XML is not stored.vastlint-mcp is ARTF-compliant and works with IAB Tech Lab AAMP buyer and seller agent SDKs.For a machine-readable summary formatted for LLMs: vastlint.org/llms.txt
See FREE_FOREVER.md for the free-use commitment.
The CLI and library are licensed under Apache 2.0. Use freely in any project, open-source or proprietary. The only requirement is to retain the NOTICE file (and the copyright header in the LICENSE) in any distribution - this provides attribution back to the project.
If you distribute VASTlint or a derivative work, include the NOTICE file verbatim. That is the entire obligation.
See CONTRIBUTING.md.
Sekowski, A. (2026). VAST XML Validation at Bid-Time Scale: Latency Analysis and Integration Patterns for Programmatic Video Pipelines. Preprint. DOI: 10.13140/RG.2.2.11404.27520
Using VASTlint in production or in your workflow? Let us know!
Enterprise support agreements, SLA contracts, priority issue resolution, custom rule development, and on-site integration consulting are available. If you are evaluating VASTlint for use at scale — in a DSP bid pipeline, SSAI platform, ad server, CTV device, or brand safety workflow — contact the author directly to discuss requirements:
Email: aleks@vastlint.org
For general questions, bug reports, and community discussion:
For commercial inquiries, consulting, or enterprise support, see Enterprise support above, email aleks@vastlint.org, or reach out via GitHub at @aleksUIX.