Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>oauthlintNew to Visual Studio Code? Get it now.
oauthlint

oauthlint

Auspeo

|
2 installs
| (0) | Free
Catch the OAuth/OIDC/JWT anti-patterns AI coding tools produce, right inside VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

OAuthLint: AI ships the auth bug. Catch it before the PR.

oauthlint for VS Code

Catch the OAuth, OIDC, JWT, session, and CORS anti-patterns that AI coding tools produce, right in your editor. oauthlint flags risky auth code as you save, links every finding to its explanation, and (when a finding ships a safe rewrite) offers a one-click fix.

Available on the VS Code Marketplace and on Open VSX for Cursor, Windsurf, and other VS Code-compatible editors.

What it does

  • Inline diagnostics on save and on open, for JavaScript and TypeScript. Severity maps to the editor's usual squiggles, so a CRITICAL finding reads as an error and a LOW one as information.
  • Rule id and docs link on every finding. Each diagnostic carries its rule id (for example auth.jwt.no-verification) and a link straight to that rule's page on oauthlint.dev. A hover adds the full message (the why and the fix) and any CWE the rule references.
  • Quick Fix: apply the fix. When a finding carries an autofix, the lightbulb offers Apply OAuthLint fix for <rule-id> as the preferred action. It rewrites just the offending span in place, the same deterministic replacement the CLI's --fix applies, without re-running the scan or touching the rest of the file. Findings without a fix don't show this action.
  • Quick Fix: suppress a line. Suppress <rule-id> on this line inserts an // oauthlint-disable-next-line <rule-id> directive above the finding, the same auditable comment the CLI honours, for the cases you've reviewed and accepted.
  • Quick Fix: open documentation. Open documentation for <rule-id> opens the rule's page in your browser.
  • Status bar item showing the OAuthLint finding count for the active file ($(shield) OAuthLint: 3). It spins while a scan is running ($(sync~spin) OAuthLint: scanning…), turns into a $(warning) warning when a scan can't run (with a tooltip pointing at the OAuthLint output channel), and re-scans the current file when clicked. It hides for non-JS/TS files.

The OAuthLint engine and rule pack ship inside the extension, so scans run in-process and render as native VS Code diagnostics. There is no oauthlint CLI to install.

Requirements

Nothing to install. The rule pack ships inside the extension, and the scan engine (Opengrep, a Python-free single binary) is downloaded automatically the first time you scan. That is a one-time download of about 41 MB, then cached and reused. No Python, no Semgrep, no CLI. If you already have opengrep or semgrep installed, point oauthlint.enginePath at it to skip the download.

Settings

Setting Default Description
oauthlint.enabled true Scan on save and on open
oauthlint.minSeverity MEDIUM Only surface findings at this severity or above
oauthlint.rulesDir empty Override the rules directory (empty = the rule pack bundled with the extension)
oauthlint.enginePath empty Path to an existing opengrep/semgrep binary (empty = download and manage Opengrep automatically)

Commands

  • oauthlint: Scan current file
  • oauthlint: Scan workspace
  • oauthlint: Open rule documentation
  • oauthlint: Retry scan engine setup

The editor integration scans JavaScript and TypeScript. The full oauthlint rule pack covers 140+ rules across JavaScript/TypeScript, Python, Go, Rust, and Java, including dataflow (taint) rules for open-redirect and SSRF, and runs from the CLI and GitHub Action.

Learn more

Full rule catalogue and guides at oauthlint.dev · source on GitHub.

See also: the MCP server lets AI coding tools scan the auth code they generate, in the loop, before it reaches your editor.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft