[BUG] 2FA security issues
- Dominant language
- Java
- Stars
- 238
- Forks
- 125
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
There are several issues with the 2fa system:
* 2fa code can be brute-forced, because you won't get kicked when typing the wrong code.
* When adding 2fa, it does not ask you for confirmation code, so if you type the command to add 2fa and exit the game, your account will be lost.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files, tests, or entry points. Start by locating the Java 2FA and authentication flows, then reproduce wrong-code attempts and enabling 2FA without a confirmation code. Done means both reported security issues are addressed and regression coverage verifies the resulting behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- authentication, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100