Bug: Personal Vault stores plaintext passwords and allows unsafe note paths
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- python
- Bereich
- authentication, security
Rechercherichtung
The payload names only users.json and the note-path construction under each user's vault; it does not name source files or tests. Start by finding where the login check compares passwords and where note names are joined into paths. Done means passwords are stored and verified with a salted hash from the standard library, note names are validated so they cannot leave the vault directory, and a test covers both. Scope is open, so confirm the approach with maintainers first.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Repository commit
unknown
Python version (python --version)
Python 3.x
Dependencies version (pip freeze)
The app uses a local users.json file and standard library modules only. No dependency list was provided for the sample application.
Expected behavior
The Personal Vault application should not store passwords in plaintext, and note filenames should be validated before being used to construct filesystem paths. The login flow should verify credentials securely and user note operations should remain confined to the current vault directory.
Actual behavior
The sample application stores each password in users.json as plaintext and compares it directly during login. It accepts arbitrary note names and uses them to build paths under the user's vault without validating or normalizing them. This can allow credential disclosure and filesystem access outside the intended vault directory, and file operations can crash or behave unexpectedly when an invalid path is used.
- Vorherrschende Sprache
- Python
- Sterne
- 226k
- Forks
- 51.3k
- Ø Merge
- 8 Std. 58 Min.
- Gemergte PRs (30 T.)
- 4
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus TheAlgorithms/Python
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
TheAlgorithms/Python#15763 ·
Maintainer antworten meist innerhalb von 1 Tag
-
binomial_distribution overflows at 171 trials even when the result is representableEvtl. vergeben @landfvit hat das vor 19 Tagen übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
TheAlgorithms/Python#15656 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
continued_fraction uses float division, producing invalid terms for large integers and raising OverflowErrorEvtl. vergeben @trleo hat das vor 19 Tagen übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
TheAlgorithms/Python#15655 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
ciphers/base32.py and ciphers/base85.py encode Unicode code points instead of bytes: output diverges from the spec for non-ASCII, round-trips corrupt chars >= U+0400, arbitrary bytes crashEvtl. vergeben @Nate-br hat das vor 21 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
TheAlgorithms/Python#15636 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
ciphers/des_ecb.py: encrypt/decrypt silently corrupts any character above U+00FF (round-trip fails)Evtl. vergeben @mohammedanasnakhuda hat das vor 21 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
TheAlgorithms/Python#15634 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in TheAlgorithms/Python
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 78/100
-
Needs Triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
pandas-dev/pandas#72163 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
LightFM prepare_test_df ignores mapping values and silently mislabels evaluation pairsEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 79/100
recommenders-team/recommenders#2480 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
521xueweihan/HelloGitHub#4385 ·
-
🐛 bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
pdm-project/pdm#4012 ·
Maintainer antworten meist innerhalb von 1 Tag