Open
Conversation
Collaborator
|
Hi @Barbariandev, pls add more details to the PR description to explain why you consider this a potential security vulnerability. |
Author
|
default_verify accepted signature="" or signature=None and only rejected requests that had signatures that were not None and which were invalid. As I understand it this is not the intended behavior |
Contributor
|
Read CONTRIBUTING |
basfroman
requested changes
Apr 17, 2026
Collaborator
basfroman
left a comment
There was a problem hiding this comment.
Hi @Barbariandev, thanks for catching this!
The fix itself is correct, and we’d like to merge it. However, there are a few things that need to be brought into compliance with the repository guidelines:
- pls rebase your pr to
staging - Please add tests to
tests/unit_tests/test_axon.py. Minimum coverage:- request with
signature=None-> raisesException("Missing signature") - request with
signature=""-> raisesException("Missing signature") - request with an invalid signature -> raises
Exception("Signature mismatch...") - request with a valid signature -> nonce is saved, no exceptions raised
- request with
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.
Possible security vulnerability