Skip to main content

OpenAPI Security Contract 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.

Finds the lines in an OpenAPI file that publish an endpoint with no authentication, an API key in the query string, or an OAuth grant RFC 9700 forbids.

Install

openapi-security-contract-lint file

Node 18+. The same 18 rules as the VS Code extension, from a terminal or CI.

Free

  • Audit the OpenAPI file open in the editor against all 18 rules - every finding, every line number, every rule reference, nothing withheld
  • --rules lists every rule

With a licence ($29 once)

  • Sweep every OpenAPI document in the workspace, not just the open tab, and write a dated CSV/JSON/HTML report you keep with the release as evidence
openapi-security-contract-lint --dir ./templates --report html --out report.html

An application-security consultant reading the same contract by hand bills $150-$250 an hour

Use from an AI agent (MCP)

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

{ "mcpServers": { "openapi-security-contract-lint": { "command": "openapi-security-contract-lint", "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: OpenAPI Security Contract Lint
  run: pip install rulestamp-openapi-security-contract-lint && openapi-security-contract-lint --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.

Get a licence

Install (PyPI)

pip install rulestamp-openapi-security-contract-lint
openapi-security-contract-lint --help

Metadata

Release files for rulestamp-openapi-security-contract-lint 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rulestamp-openapi-security-contract-lint 1.0.6
File Size Uploaded Provenance Actions
rulestamp_openapi_security_contract_lint-1.0.6.tar.gz 16.8 kB Without provenance Details for rulestamp_openapi_security_contract_lint-1.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rulestamp-openapi-security-contract-lint 1.0.6
File Interpreter ABI Platform Actions
rulestamp_openapi_security_contract_lint-1.0.6-py3-none-any.whl Python 3 none any Details for rulestamp_openapi_security_contract_lint-1.0.6-py3-none-any.whl

Total release size: 36.0 kB

Release files / rulestamp_openapi_security_contract_lint-1.0.6.tar.gz

Download URL rulestamp_openapi_security_contract_lint-1.0.6.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b3574e5bc5e10abb25e8e1ff3d323c50071b31deda22b3287f22b72113328fb5
BLAKE2b-256 checksum
How to use checksums
00fca0eadc5a818ca586151fbfd3d9a1cf8f74bd216004cc169f2198a57e3c38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / rulestamp_openapi_security_contract_lint-1.0.6-py3-none-any.whl

Download URL rulestamp_openapi_security_contract_lint-1.0.6-py3-none-any.whl
Size 19.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ca551468ccf5d031dbac5727d16ef09f28f1b654b172d69f63ba21228cad755
BLAKE2b-256 checksum
How to use checksums
17a4d14e4df6cec15b625edb64196fc5627262c8f1ece1122c7d04e564bd1d31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for rulestamp-openapi-security-contract-lint 1.0.6

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.

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page