diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..3d0027f --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,36 @@ +# Security + +## Supported versions + +Only `main` is supported. There are no releases yet, so fixes land on `main` and nowhere else. + +## Reporting a problem + +Please don't open a public issue for a security problem. Send it privately to a maintainer on the +Discord instead: + +Say what the problem is, how to reproduce it, and which commit you tested. A small test case helps +more than a long write-up. + +Don't attach game files, dumps or anything else from a game package. + +## What counts + +XCL runs a game's code with the same rights as your user account. It is not a sandbox, and a game +run through it is no more contained than any other program you start yourself. + +Things worth reporting: + +- a write that gets past the overlay and changes the game folder or anything outside the title's + data folder +- a console path (`GAME:`, `G:`, `S:\`, `T:\` …) that resolves to somewhere it shouldn't +- a crafted game file (shader pack, RPF archive, texture, PE image) that makes XCL itself crash or + run code it shouldn't +- `report.json` or the logs leaking something they shouldn't, like paths or names outside the game + +Bugs that only crash the game, or need online services XCL doesn't provide, are normal issues. + +## No warranty + +XCL is GPL-2.0 and comes with no warranty (see `LICENSE`). Reports are handled when someone has +time; there is no fixed response time.