-
Notifications
You must be signed in to change notification settings - Fork 25
security issues #24
Copy link
Copy link
Open
Description
chriszhang-circle
opened on Feb 19, 2025
Issue body actions
- backend (FinancialAccountManager):
- should not use wildcard import when importing libraries
- API key is sensitive data, should not be allowed to log
- should not use e.printStackTrace()
- should not use println
- should not print out sensitive data like account balance and here as well
- should not log explicitly about sender and receiver
- need to use db transaction when move money
- transfer amount should have input validation, to not allow negative number
- Frontend
- should write all graphQL for example here in it's own file
- should keep url in config file instead of hard code
- api keys is leaked, should use variable in config file instead of hard code
- API should require authentication https://github.com/j-kopf/nextJSGraphQLapp_sanitized/blob/main/graphql/dataSources.ts#L10-L12
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels