-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[0x04e] Add check for JWT Claim #1939
Conversation
@cpholguera Can you please tell why this has failed ? |
Hi @Saket-taneja, markdown-link-check gives the following output: Document/0x04e-Testing-Authentication-and-Session-Management.md: 431: MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
Document/0x04e-Testing-Authentication-and-Session-Management.md: 435: MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]
Document/0x04e-Testing-Authentication-and-Session-Management.md: 446: MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
Document/0x04e-Testing-Authentication-and-Session-Management.md: 458: MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
Document/0x04e-Testing-Authentication-and-Session-Management.md: 477: MD005/list-indent Inconsistent indentation for list items at the same level [Expected: 0; Actual: 1] Please go thought your changes and fix those spots. In order to avoid this in the future we strongly recommend using a markdown linter on your IDE. You can ignore the link checker for now, it is not completely reliable. But the markdown check pass is mandatory. Thank you in advance! |
Thanks for the fixes, there are two more: Document/0x04e-Testing-Authentication-and-Session-Management.md: 435: MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]
Document/0x04e-Testing-Authentication-and-Session-Management.md: 475: MD005/list-indent Inconsistent indentation for list items at the same level [Expected: 0; Actual: 1] |
Hey @cpholguera Updated the fixes , Can you check the link problem |
@cpholguera Hey Man i have not added this link https://securitylearn.net/wp-content/uploads/tools/iOS/BinaryCookieReader.py which is causing the problem, Please check if this is not related anywhere we can then remove it so it won't cause problems for us |
Hi @Saket-taneja, please take a look at the comment I sent you as part of your other PR: #1937 (comment) You can safely ignore that one but please focus on the LINT CHECK. In this case it's fine 👍 |
Thanks for contributing to the project, @Saket-taneja ! Unfortunately, I don't think we should include this in the MSTG for a few reasons:
That being said, I do think that lines 378 and 475 could be added, as they do compliment the current lists. In any case, if you would like to continue to contribute (which I surely hope you do!) it's always best to open a ticket first to make sure the PR will be accepted. This is described in our Contributing Guide, though maybe we should make this even clearer :). @cpholguera what do you think? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @TheDauntless but I also found that one line was already included. I've put all the fixes as suggestions which should be applied before merging. Thanks @Saket-taneja!
Document/0x04e-Testing-Authentication-and-Session-Management.md
Outdated
Show resolved
Hide resolved
Document/0x04e-Testing-Authentication-and-Session-Management.md
Outdated
Show resolved
Hide resolved
Document/0x04e-Testing-Authentication-and-Session-Management.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the new content @Saket-taneja! We highly encourage you to keep contributing, please take a look at our current Issues or create new ones :)
Hi @TheDauntless I disagree over here , as if a person is reading something from the MSTG , it would be great if we can provide all the knowledge and misconfigurations in our guide , In this case the reader doesn't has to move from one document to other. What are your thoughts @cpholguera |
Hi @Saket-taneja, we're narrowing the scope of the MASVS and the MSTG. We prefer to link to other well maintained resources and standard whenever possible. It's not realistic that we can cover every possible scenario. We'll try our best to cover the app scenarios (whatever could be fixed in the app-side). Server-side scenarios will be from now on out of scope and will be a task for e.g. the ASVS and the WSTG. The KID configuration is something that needs a fix in the server-side. Therefore, we consider it to be out of scope here unfortunately. Have you checked the ASVS/WSTG? Maybe this could be added over there. |
Here some useful links: https://cheatsheetseries.owasp.org/cheatsheets/JSON_Web_Token_for_Java_Cheat_Sheet.html |
Reference LInk : https://bugsbunnyy1107.medium.com/is-your-jwt-secure-edef27f304fc
Thank you for submitting a Pull Request to the Mobile Security Testing Guide. Please make sure that:
If your PR is related to an issue. Please end your PR test with the following line:
This PR closes #< insert number here >.