Gezine/CivSwitch

Nintendo Switch userland code execution using Civilization 7 game cartridge

Open original source ↗

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

XSS toolchain for the Switch 1 edition of Civilization 7. Only the 1.0.0 version of the game in physical cartridge is supported. Every switch 1/2 firmware 20.x.x and up to current version (23.0.1) should work. Tested at Switch 1 fw 22.5.0, Switch 2 fw 20.4.0 and 23.0.1 Two components: Default payload = the Remote JS Loader bootstrap (exploit core + TCP loader). Ships with compress.js (chat transport: terser -> deflateRaw -> base-25 chunked img/onerror lines with censor armor). core.js at the root is the shared payload both components build from, and sendjs.py at the root sends any payload to a running loader. Video Tutorial from switch2hacks reddit On the Switch, go to "System" menu and change system language to English(US). Go to "Controllers & Accessories" menu and change USB Keyboard to English(US). These are required to type "English" letters (code) using USB keyboard. (Higher fw might not need to change…

Gezine/CivSwitch on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-11-02T13:00:55.149Z

Inside the original README — Document outline
  1. CivSwitch
  2. Layout
  3. Workflow
  4. Sending payloads (sendjs.py)
  5. Build (Pico firmware)
  6. Credits

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: MIT. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

Nintendo Switch userland code execution using Civilization 7 game cartridge

Repository facts

Owner
Gezine
Primary language
JavaScript
Stars
394
Forks
80
Open issues + pull requests
0
License
MIT
Archived
No
Default branch
main
Created
2026-11-01T13:30:59.000Z
Last push
2026-11-02T08:12:14.000Z

Topics and intended use

No topics were included in the latest source metadata.

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-11-02T12:18:10.172Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

affaan-m/ECC

react/react

trekhleb/javascript-algorithms

CyC2018/CS-Notes

DietrichGebert/ponytail

Snailclimb/JavaGuide