Reading through the recent "bricked my Switch 2" threads, I noticed the cause is often traced back to the most visible variable, usually the microSD (standard vs Express). I went through the project documentation and bug reports and tried to lay out the chain of processes, in order.
The description below follows the CivSwitch (Civilization VII) → CivSwitchFS → kaiHEN path; Other entry points reach the same FS exploit through a different front end, so the core mechanism should be the same.
TL;DR: The brick risk appears to originate in the FS exploit itself: it drives `fsp-srv` (the service behind every filesystem) through a race condition, and under certain conditions corrupted data can be written to NAND. Some variables reduce the probability (cartridge as the active game, hard reboot only, not rebooting mid-run), but none of them remove it.
---
1. Streaming (Moonlight) The streaming use case runs entirely inside the Civilization VII process: the CivSwitch entry gives JavaScript execution in the game's sandbox, and a Moonlight client runs on top of that to stream a PC (Sunshine/GeForce Experience host) to the console. It never acquires `fsp-srv`, never runs the FS race, and never loads kaiHEN, so the brick mechanism described below should not apply to it. What ends when you close the game is the streaming session.
Source: https://github.com/XITRIX/Moonlight-CivSwitch
2. CivSwitchFS-kaiHEN acquisition. From inside the host game, the payload runs a race against `fsp-srv` and, on success, obtains a full-filesystem handle. This moment — winning the race — is the "FS acquisition", and it looks like the only point at which the console is materially at risk. It is probabilistic: the chain retries (up to ~30 times), and each attempt re-enters the same window.
Source: https://github.com/s8n/CivSwitchFS-kaiHEN/blob/slop/BRICK_RISKS.md
3. Where the corruption comes from. `fsp-srv` is a single process serving every filesystem client. Each race wave frees heap objects while IPC requests are still in flight. If another system service queries `fsp-srv` during that window, it can read transitional/corrupted data and persist it to NAND. This can happen independently of any user action, and the microSD is not part of this path.
Source: https://github.com/s8n/CivSwitchFS-kaiHEN/blob/slop/BRICK_RISKS.md
4. Host game on cartridge vs on NAND. The exploit leaves a corrupted cache entry tied to the storage backing the active game. If that storage is a cartridge without an installed update, a flush to it should fail — the media is read-only, so nothing is written. If the storage is NAND (a digital title, or a cartridge with an update installed), the flush can succeed and write corrupted data. A clean cartridge should be the lower-risk configuration for the active game, though it doesn't address the race described in point 3 (both documented bricks occurred from cartridge).
Source: https://github.com/s8n/CivSwitchFS-kaiHEN/blob/slop/BRICK_RISKS.md
5. Recovery: hard reboot vs normal shutdown. On a failure or unknown state, holding power for ~15 seconds cuts power before the shutdown routine runs, so `fsp-srv` never finalizes and the corrupted entry is discarded from RAM. A normal reboot or closing the host game is what flushes dirty cache entries to backing storage. The standing instruction is to avoid rebooting or exiting the game during a run.
Source: https://github.com/s8n/CivSwitchFS-kaiHEN/blob/slop/BRICK_RISKS.md
6. Persistence. The FS access and kaiHEN (the homebrew enabler) live in RAM and do not survive a reboot. The modified save that triggers the entry does persist, so the PC-side setup isn't repeated, though the acquisition is re-run on every boot. Keeping the console in sleep mode (and not letting the battery fully discharge) should preserve the acquired state across sessions and reduce how often the risk window is crossed. Each forced reboot requires another acquisition.
Source: https://github.com/s8n/CivSwitchFS-kaiHEN
7. Updating kaiHEN re-runs the acquisition. There is no self-update mechanism yet: moving to a newer kaiHEN build requires restarting the console and running the FS acquisition again from scratch. Every update is another pass through the race condition, and another exposure to the brick risk. For now that's a practical reason to change versions as little as possible.
Source: https://github.com/ouncebrew/kaihen/issues/32
8. Backups and dumps (LayeredFS). Running a backup uses the Atmosphère-style mechanism: an installed title acts as a legitimate shell (donor), and kaiHEN substitutes its files with user-supplied files from the SD card at load time. Dumping is the inverse: `fsp-srv` returns decrypted content, which can be copied out (RomFS/ExeFS). The console keys are not extracted, so dumps are usable in emulators but a clean encrypted image can't be reconstructed.
Source: https://github.com/s8n/CivSwitchFS-kaiHEN
9. The microSD question. In this chain the SD card is just a container for the kaiHEN files, not part of the exploit's attack path, so its type shouldn't influence the brick risk. The project docs state a card can be non-Express, and users have reported the chain working on plain standard cards. The only real constraint is the format: exFAT needs a system update to be enabled, so an offline console uses FAT32. That's a compatibility detail, separate from bricking.
Source: https://github.com/s8n/CivSwitchFS-kaiHEN (requirements); https://github.com/ouncebrew/kaihen/issues/3 (standard card confirmed working)
—-
This is just my own understanding from reading the project docs and bug reports, so I may have gotten parts of it wrong. If anyone has a different reading of any of these points, I'd be glad to hear it and update the relevant section.