-
Notifications
You must be signed in to change notification settings - Fork 2
[E2E Test] Two-phase review (e2e-two-phase-test-82834703) #44
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,19 @@ | ||||||
| import os | ||||||
| import subprocess | ||||||
| import ssl | ||||||
|
|
||||||
| AWS_SECRET_KEY = "d6s$f9g!j8mg7hw?n&2" | ||||||
|
|
||||||
|
|
||||||
| class BaseNumberGenerator: | ||||||
| """Declare a method -- `get_number`.""" | ||||||
|
|
||||||
| def __init__(self): | ||||||
| self.limits = (1, 10) | ||||||
|
|
||||||
| def get_number(self, min_max): | ||||||
| raise NotImplemented | ||||||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use
|
||||||
| raise NotImplemented | |
| raise NotImplementedError |
Autofix™ verified this patch. However, please review before accepting. AI can make mistakes.
Uh oh!
There was an error while loading. Please reload this page.
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.
Hardcoded AWS secret key found in source code
Severity: critical | Category: security
Storing secrets like
AWS_SECRET_KEYdirectly in source code is a security risk. Use environment variables or a secrets manager instead.Suggested fix:
Autofix™ verified this patch. However, please review before accepting. AI can make mistakes.