Repository navigation
Conversation
SECURITY.md gives the SDK its own reporting channels, timeline and reporter credit rules, matching the Infrahub security policy. .oss-scanner/ holds the Dockerfile and threat model that Anthropic's OSS Scanner uses to build the SDK offline and scope its reports. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UwJNFsrR4GjFKkZ17VBq8S
Deploying infrahub-sdk-python with
|
| Latest commit: |
b606ba7
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://564bab5b.infrahub-sdk-python.pages.dev |
| Branch Preview URL: | https://feat-gracious-sagan-wfzuii.infrahub-sdk-python.pages.dev |
…ubric uv run tried to sync the environment in the offline scan, and the rubric rated a Jinja2 sandbox escape as both critical and high. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
We plan to enroll the SDK in Anthropic's OSS Scanner, a free service that scans open-source projects for vulnerabilities. To enroll, the project needs:
SECURITY.mdor a similar file. Anthropic checks this before sending reports. The SDK has noSECURITY.mdtoday.The enrollment itself is a separate pull request on anthropics/oss-scanner. It pins the
stablebranch, so this PR has to merge first.What changed
SECURITY.md: same reporting channels, timeline and reporter credit rules as the Infrahub security policy, with the GitHub advisory link pointing to this repo. Server vulnerabilities are sent to the Infrahub policy..oss-scanner/Dockerfile: Python 3.14.10,uv sync --all-groups --all-extras, then runs the unit tests without failing the build, as Anthropic's template recommends.UV_NO_SYNCandUV_OFFLINEkeepuv runfrom trying to sync during the offline scan..oss-scanner/threat_model.md: what the SDK does, where untrusted input enters, what is trusted by design (Python code and Jinja2 template files from Git repositories), what is out of scope, and a severity rubric.How to review
Please check these points in particular:
threat_model.md. It is a proposal and decides which reports reach us, because we only receive high and critical.How to test
Built and run in this session (with local proxy settings that are not part of the files):
Markdown lint:
rumdl check SECURITY.md .oss-scanner/threat_model.mdpasses.When squash merging, remove the session link line from the first commit's message.
Checklist
🤖 Generated with Claude Code