fix(attack-surface-management): relax pyOpenSSL in the bbot MCP script - #159
Merged
Merged
Conversation
mcp/bbot.py declares its own PEP 723 dependencies and is launched with `uv run`, so it resolves in its own environment. #158 relaxed pyOpenSSL in the manifest but missed this script, which still pinned pyOpenSSL~=25.3.0 and therefore cryptography<47. Allow pyOpenSSL 26.x here too. Bump to 2.0.3. Co-Authored-By: Claude Opus 5.5 (1M context) <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.
Summary
mcp/bbot.pyinline dependencies:pyOpenSSL~=25.3.0→pyOpenSSL>=25.3.0,<27.capability.yamlandpyproject.toml.Why
The bbot MCP server is launched with
uv run ${CAPABILITY_ROOT}/mcp/bbot.py, so it resolves its PEP 723 dependencies in its own environment. #158 relaxed pyOpenSSL in the manifest but missed this script, so the server still got pyOpenSSL 25.3.0 (2 advisories, max 9.8) and cryptography 46.0.7 (4 advisories, max 8.7).Verification
uv pip compileof the script's dependencies (Python 3.13, x86_64 Linux):tests/test_bbot_mcp.pypassed against pyopenssl 26.4.0 in the #158 test run, and the capability's other tests passed in the same environment. No otherpyOpenSSL~=ordnspython<2.8pins remain in the repo.🤖 Generated with Claude Code