-
Notifications
You must be signed in to change notification settings - Fork 2
Debug size tracker #779
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
base: main
Are you sure you want to change the base?
Debug size tracker #779
Conversation
| analyzer = SizeTrackerAnalyzer() | ||
|
|
||
| try: | ||
| with open(log_file, 'r', encoding='utf-8', errors='ignore') as f: |
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.
Mend Code Security Check
New finding (1 of 1)
The Mend Code Security Check of your branch failed because of a Path/Directory Traversal finding in this line.
| Severity | Vulnerability Type | CWE | File | Data Flows | Detected | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Path/Directory Traversal | 1 | 2025-12-20 05:12am | |||||||||||||||||
| |||||||||||||||||||
| print("="*80 + "\n") | |
| analyzer = SizeTrackerAnalyzer() | |
| try: | |
| with open(log_file, 'r', encoding='utf-8', errors='ignore') as f: |
1 Data Flow/s detected
cloudfuse/tools/auditSizeTrackerLog.py
Line 238 in 417ce04
| log_file = sys.argv[1] |
Secure Code Warrior Training Material
● Training
▪ Secure Code Warrior Path/Directory Traversal Training
● Videos
▪ Secure Code Warrior Path/Directory Traversal Video
● Further Reading
Add some debug prints,
improve sync size tracker results message