-
Notifications
You must be signed in to change notification settings - Fork 1
DO NOT MERGE! add slack token just for kicks #13
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: master
Are you sure you want to change the base?
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 | ||
|---|---|---|---|---|
|
|
@@ -15,4 +15,4 @@ | |||
| if __name__ == '__main__': | ||||
| person = Person() | ||||
| print('User Abbas has been added with id ', person.set_name('Abbas')) | ||||
| print('User associated with id 0 is ', person.get_name(0)) | ||||
| slack_token = "xoxb-123456789012-1234567890123-abcdefghijklmnopqrstuvwx" | ||||
|
Check warning on line 18 in python/person.py
|
||||
|
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. Codacy found an issue: Possible hardcoded secret: Slack token 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. 🔴 HIGH RISK Codacy has detected multiple hardcoded secrets. This line exposes a Slack token, which is a critical security vulnerability. Sensitive information like API tokens should always be stored securely, for example, using environment variables or a secret management service, and never committed to version control. This might be a simple fix:
Suggested change
|
||||
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.
Codacy found an issue: Possible hardcoded password: 'xoxb-123456789012-1234567890123-abcdefghijklmnopqrstuvwx' (B105)