> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Bach builds Windows installers from one bach.toml with the bach command: bach init, bach check, bach preview, bach build. Installs are per user and need no administrator rights by default. installer.scope = "machine" installs for every user after one Windows prompt. On Windows, run setup files with Start-Process -Wait -PassThru in PowerShell, and give signtool arguments that start with the word sign.

# Security policy

> How to report a security problem in Bach privately, which versions get fixes, what counts as a vulnerability and what doesn't.

Installers built with Bach run on other people's computers, so security reports are taken seriously. This is a summary of [SECURITY.md](https://github.com/usebach/bach/blob/main/SECURITY.md).

## Report privately

Don't open a public issue or pull request. Use GitHub's form: [Report a vulnerability](https://github.com/usebach/bach/security/advisories/new). Only maintainers see it. Include:

* what the problem is and which part it's in (`bach`, `bach-setup`, install scripts, GitHub Action)
* the version or commit, and your Windows version if relevant
* steps to reproduce, ideally with a small `bach.toml` or a crafted file
* what an attacker would gain

You'll get an answer within a few days. Maintainers confirm, fix, and publish an advisory and a release, with credit if you want it. Please allow time for the fix before disclosing.

## Supported versions

Bach is young. Only the latest release and `main` get fixes. Setup files keep the version they were built with, so rebuild and release yours after a fix.

## What counts

Breaking one of the [safety rules](/docs/concepts/safety.md), for example:

* writing, replacing or deleting outside the install folder or the data folders the user chose
* removing files that weren't installed
* getting administrator rights the app didn't ask for, or writing outside the expected places
* changing another program's registry keys, `PATH` entries, links or file types
* accepting a damaged payload or feed, or updating from a file that doesn't match the checksum or app, or over `http`
* crashes or memory bugs caused by a crafted setup file
* install scripts or the GitHub Action running or replacing something unasked

## What doesn't

* a developer putting something harmful into their own app or config
* SmartScreen warnings on unsigned files
* the unsigned `uninstall.exe`
* attacks that need code already running as the same user
* dependency findings Bach can't reach (report them anyway if unsure)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.