The remote cache exposes credentials to tasks and env value hashes to the server
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
Start with the remote cache configuration described in issue #727 and the key format in issue #755. Trace how credentials reach task processes and how tracked environment values are included in keys; done means credentials are supplied separately from the URL without reaching tasks, and the server cannot recover individual environment values.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Credentials. The remote cache URL is the only place to put credentials, so tokens end up in its query string or user info. To keep the token out of vite.config.*, the URL comes from VP_REMOTE_CACHE_URL, and vp run passes every VP_* variable through to the processes tasks spawn. Every tool and script a task runs can read the token.
Env value hashes. Each tracked env value is hashed on its own with unsalted SHA-256, and those hashes are part of the key sent to the server. Anyone who can read the remote cache can recover short or guessable values, such as short tokens or passwords, by brute force.
Expected: credentials can be supplied separately from the URL, for example as a token sent in an Authorization header, and aren't passed to task processes. The server can't recover individual env values from what it stores.
Affects remote cache configuration (#727) and the key format (#755).
- Vorherrschende Sprache
- Rust
- Sterne
- 473
- Forks
- 44
- Ø Merge
- 1 T. 4 Std.
- Gemergte PRs (30 T.)
- 73
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine 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 voidzero-dev/vite-task
-
Concurrent cache hits for the same task fail to restore outputs with "File exists (os error 17)"Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
voidzero-dev/vite-task#846 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Windows: automatic filesystem tracking makes Git/MSYS sh.exe fail with MapViewOfFileEx error 487Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 18/100
voidzero-dev/vite-task#830 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
voidzero-dev/vite-task#822 · 1 Kommentar · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
Let tools mark cache directories with CACHEDIR.TAGEvtl. vergeben @lifeiscontent hat das vor 10 Tagen übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
voidzero-dev/vite-task#793 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Preview cache hits without running tasksEvtl. vergeben @lifeiscontent hat das vor 11 Tagen übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 52/100
voidzero-dev/vite-task#791 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in voidzero-dev/vite-task
Ähnliche Issues
-
Add MimirOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 78/100
slavakurilyak/awesome-ai-agents#759 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
compiler-explorer/compiler-explorer#9272 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Trash, bin or rubbish?Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 63/100
pop-os/cosmic-files#2117 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
L: java:gradle L: java:maven L: ruby:bundler T: bug 🐞
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
dependabot/dependabot-core#16547 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug status:ready-for-test
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
UniClipboard/UniClipboard#1985 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag