Please report security vulnerabilities privately through GitHub, not in a public issue.
That link opens a private security advisory that only you and the maintainers can see. You can also reach it from the Security tab of this repository via Report a vulnerability. Private reporting is enabled on this repository, so it is the fastest and safest way to reach us — a public issue or pull request discloses the problem to everyone before there is a fix available.
Please do not report vulnerabilities by email, on social media, or in the community chat. Those channels are public or unmonitored for this purpose.
The more of this you can provide, the faster we can confirm and fix:
datacontract --version) and how it is
installed (pip, uvx, Docker image, or as a Python library).Please give us a reasonable opportunity to release a fix before disclosing the issue publicly.
Security fixes are released for the most recent version of Data Contract
CLI, published on PyPI and as the
datacontract/cli Docker image.
There are no long-term support branches and fixes are not backported, so please
upgrade to the latest release before reporting an issue.
Data Contract CLI reads data contract files, connects to data sources with
credentials taken from the environment or a configuration file, and can run as
a web server (datacontract api). Reports in these areas are especially
welcome:
datacontract api, or exposure of
data through it that the caller should not reach.The following are generally out of scope:
Releases are signed, so you can check that an artifact really came from our pipeline:
Docker images are signed keylessly with cosign and ship an SBOM and build provenance. Verify the signature with:
cosign verify datacontract/cli:<version> \
--certificate-identity-regexp 'https://github.com/datacontract/datacontract-cli/.*' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com