# Flathub prohibits AI-generated code

> Source: <https://github.com/flathub-infra/documentation/commit/992f57b30de98ddbd5e80959e9672998c83c8c97>
> Published: 2026-05-29 10:24:02+00:00

@@ -183,28 +183,32 @@ removed from the store.

`183`

`183`

`184`

`184`

### Generative AI policy

`185`

`185`

`186`

+ This policy applies to both the application being submitted to Flathub and the

`187`

+ Flathub submission itself, including the manifest, metadata, patches, build

`188`

+ scripts, and pull request. For the purpose of this policy, applications include

`189`

+ BaseApps, extensions, and any other artifacts that can be produced by

`190`

+ flatpak-builder.

`191`

+

`186`

`192`

Submission pull requests must not be generated, opened, or automated

`187`

`193`

using AI tools or agents. Please also do not request review from any AI

`188`

`194`

tools in the submission PR. Automated Copilot reviews on GitHub can be

`189`

`195`

disabled by the submitter by going [ here] ( https://github.com/settings/copilot/coding_agent )

`190`

`196`

and changing ` Repository access ` to exclude the repo or disabling the

`191`

`197`

global "Automatic Copilot code review" found [ here] ( https://github.com/settings/copilot/features ) .

`192`

`198`

`193`

- Submissions or changes where most of the code is written by or using AI

`194`

- without any meaningful human input, review, justification or moderation

`195`

- of the code are not allowed.

`196`

-

`197`

- Submissions or changes having low-quality AI-generated or AI-assisted

`198`

- code are not allowed.

`199`

+ Applications containing AI-generated or AI-assisted code, documentation, or

`200`

+ other content are not allowed.

`199`

`201`

`200`

- Submissions or changes containing copyrighted, license-incompatible, or

`202`

+ Applications or changes containing copyrighted, license-incompatible, or

`201`

`203`

ethically questionable code are not allowed.

`202`

`204`

`203`

`205`

These submissions can be rejected without any further review.

`204`

`206`

`205`

`207`

Repeatedly violating these policies may result in a permanent ban from

`206`

`208`

future submissions and activities.

`207`

`209`

`210`

+ Exceptions may be granted for mature, well-maintained projects.

`211`

+

`208`

`212`

## Application ID

`209`

`213`

`210`

`214`

::: important
