-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
4.2.0 #2450
Merged
Merged
4.2.0 #2450
Changes from 6 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
ba628ec
Added Malware lookup for Android, iOS, Windows and other binary types
ajinabraham 8d3e91a
QA
ajinabraham 0e0040e
File download with sanitized file name
ajinabraham eb64e83
Split APK and ZIP logic to apk.py
ajinabraham f36ae46
Optimize apk and src analysis
ajinabraham d932575
Pathlib optimizations
ajinabraham e3ce0cf
fix untar permission errors, update ssl pinning scripts, add intent t…
ajinabraham 0753b6f
Add support for async scan with djangoq2, improved frida scripts, new…
ajinabraham 1eee28e
Fix save_ctx for a and dylib
ajinabraham e228def
Update codeql
ajinabraham 5ff1ec5
suppress noisey rule
ajinabraham 06bc2b4
1G for nginx
ajinabraham fa4e603
Queue improvements + webview frida scripts
ajinabraham 41f770a
Code QA
ajinabraham 5059941
Code QA
ajinabraham fbeb8a2
Final QA
ajinabraham File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
Check failure
Code scanning / CodeQL
Uncontrolled data used in path expression
Copilot Autofix AI 2 months ago
To fix the problem, we need to ensure that the constructed file path is contained within a safe root folder. This can be achieved by normalizing the path using
os.path.normpath
and then checking that the normalized path starts with the root folder. This approach will prevent path traversal attacks by ensuring that the path does not escape the intended directory.path
usingos.path.normpath
.