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

# Security

> Why Stylebit is secure?

Stylebit runs on your codebase and only collects metadata.

## CLI

* Stylebit do **NOT** expose your codebase. It just collects metadata regarding your design system.
  You can always run analytics in `dry-run` mode and check generated local json to see exactly what is collected.
* Stylebit do **NOT** run `AI` on your codebase. The logic behind Stylebit cli is `static code analysis` running on AST (abstract syntax tree)
* Stylebit do **NOT** request neither write or read access. It's your local codebase and your local machine.
* Stylebit CLI code is npm registry and you can always check it.

<Accordion title="Connecting to the internet">
  Stylebit cli connects to the internet only for the following cases

  1. On cli login to get `access token`
  2. On running analytics it pings to check access token validity
  3. On uploading report to stylebit web application

  but

  1. You can get permanent token and not connect to the internet on login. For more details contact us at [support@stylebit.io](mailto:support@stylebit.io)
  2. You can run in `dry-run` mode and get the report on your local machine without valid access token
  3. You can check the report file and upload to [app.stylebit.io](app.stylebit.io) manually through our web interface.
     Otherwise you can host the reports on your own, making sense from raw json report yourself and not use our web application.
</Accordion>

## Web application

* The web application is hosted in google cloud and basic security is provided by Google.
* We never ask for password on logging in and don't ask or collect any sensitive during the session.
