GrapheneOS imposes a set of restrictions on how generative AI can be used in our project and community. It isn't forbidden but rather we imposed rules based on actual issues.

Posts made in our forum, chat rooms, issue tracker and the rest of our project must be written by humans. There's an exception from this rule for translation and accessibility features. That means commit messages, pull request messages, bug reports and feature requests are expected to be written by humans, not a machine.

Replying to @⁨GrapheneOS@grapheneos.social⁩

We largely disallow making posts entirely based on AI model output. For example, we get a lot of forum threads from people with concerns based on AI model output and will typically provide a quick answer followed by locking the thread and then eventually removing it.

It isn't permitted to submit pull requests or issue reports created by an AI model without fully understanding it. It's fully allowed to file issues found by an AI model if there's a human who understands it and writes the report.

Replying to @⁨GrapheneOS@grapheneos.social⁩

We do not want issue reports entirely generated by an AI model or which were written by a human and passed through an AI model to provide analysis. It's usually incredibly inaccurate and we would greatly prefer the user's explanation of what's wrong. We want a description of what happened, a crash traceback if one is available and optionally a subset of logs emailed to logs@grapheneos.org if people are comfortable doing that after triggering the crash or another issue. We sometimes request it.

Replying to @⁨GrapheneOS@grapheneos.social⁩

It can sometimes be useful to analyze an issue with an AI model but it usually isn't. It also definitely isn't useful to do it with a free or cheap model available without either paying for it or running it on very expensive hardware. In general, users do not have access to anything useful to analyze it. We don't want people to keep converting their issue reports into slop. We want what a user pasted into the AI model interface rather than what an AI model produced as output from that.

Replying to @⁨GrapheneOS@grapheneos.social⁩

Frontier models are very good at finding bugs but it requires an experienced developer to babysit it and extract the useful portion of the output. Important bugs are often found but mixed in with a bunch of low quality output. The details on the issue and especially proposals to fix it are often wrong. It's still very useful and finds many real issues. The volume of real vulnerabilities being found this way in Linux, Chromium, Firefox, Postfix and countless other projects is quite scary.

Replying to @⁨GrapheneOS@grapheneos.social⁩

It isn't a good idea for people to point a model at an open source project and then start submitting bug reports to it. People need to be able to confirm the issues themselves with relatively high confidence before reporting it. It's okay to make some mistakes but it should not be the majority of what's reported. We do want people to report these kinds of security bugs to us but the signal to noise ratio is far too low right now. Even frontier models spew out contrived nonsense and fabrications.

Replying to @⁨GrapheneOS@grapheneos.social⁩

We want people to report very serious Android Open Source Project security bugs to us but we can't handle a lot of minor issues. We don't generally need Chromium security bugs reported to us because they handle those far more quickly and have a far better system for releasing it. Linux kernel security bug reports are useful if they refused to fix it (arm64 kASLR) or it didn't get backported to the LTS. GKI LTS being behind the LTS is a separate problem we'll be addressing ourselves again soon.

Replying to @⁨GrapheneOS@grapheneos.social⁩

We have high standards for code being merged into GrapheneOS, especially for code in critically important parts of the project. Most of the changes made to the OS are to critically important parts of the code. It takes a long time to get features to meet our standards. There's usually a lot of back and forth review with many improvements requirements for anything significant. External contributors shouldn't try to take on major features without talking to us and planning that out with us first.

Replying to @⁨GrapheneOS@grapheneos.social⁩

Going from having a working implementation of a feature to code we can merge often takes a long time. It can take months or even more than a year. It doesn't always work out. Sometimes we decide a feature ended up being too invasive or risky for other reasons and don't want to include it. We'll often do rewrites. Contributors need a full understanding of what they've submitted and need to be prepared to make substantial changes including fully rewriting it multiple times. AI slop isn't accepted.

Replying to @⁨GrapheneOS@grapheneos.social⁩

We don't forbid using AI models for writing code but pull requests largely created that way will typically be rejected or skipped due to not meeting our requirements. It needs to be well written code which appears to be regular code written by a human regardless of the level of AI assistance involved in making it. It should not look like AI generated code. We do want to know if AI models are being used and how they're being used rather than people using it but not telling us they're using it.

Replying to @⁨GrapheneOS@grapheneos.social⁩

GrapheneOS is based on projects heavily using AI including the Linux kernel. Cellebrite, NSO and other exploit developers are using it to exploit these projects. They currently have a major advantage thanks to AI which will likely be turned into a major disadvantage over the long term. It's getting a huge backlog of bugs fixed and creating enormous pressure to make systemic improvements.

Here's what Debian adopted, which is a similar idea but much more permissive:

debian.org/vote/2026/vote_002#

www.debian.org/vote/2026/vote_002#texte

Replying to @⁨GrapheneOS@grapheneos.social⁩

AI Concerns

@GrapheneOS
AI companies control what their bots do right? What if they tried to subtly place a vulnerability into graphene that your developers become too deskilled to notice? How do you know what is or isn't slop at that point? (We've seen nefarious PRs be accepted into the Linux kernel before AI, so humans cannot always be trusted to catch these types of vulnerabilities). I imagine the trust placed by the developers into these models only make this problem more of an issue.

- Who is the point of trust verifying slop from non-slop?
- Do you have extra security in place to test regressions imposed by AI models (that isn't an AI model itself)?
- What about the impending licencing issues? What if governments try to attack Graphene over illegally licenced code that was included from an AI model?

I think this is a bigger issue that needs more time to bake.

Replying to @⁨corigan01@todon.nl⁩

AI Concerns

@corigan01 @GrapheneOS Ultimately, and EVEN if you want, it is not theoretically possible to prevent someone from disguising code generated by AI in ways that you would know it's written by AI, if someone wants to make you believe it's human authored it will. You will not be able to prove otherwise, there are clues and watermarking systems from major LLM providers but you can easily strip those. And even human-to-LLM communication, with sufficient guidance you can easily make an LLM generate ouput no human will ever doubt is AI generated, and with expert domain knowledge too. It's possible to do it, alot of people don't know how that's why it's easy to filter out vibe coded contributions from lower skilled engineering folks, but it's possible and it's not that difficult. Let's be serious, Graphene OS devs arent getting deskilled, Graphene OS isnt a vibe coded project. The risks of vulnerabilities being subtly introduced is an ongoing risk, AI or not, there's no way to prevent it, and no human will resist it all. The key is probably building durable trust in the community, but even then someone could be paid or corrupted to subtly introduce something in, it's just a possibility. But Graphene OS is designed in such a way also that there are areas of the code that is more sensitive than others, probably simplifying review of sensitive code.

Replying to @⁨laura_ge@eldritch.cafe⁩

AI Concerns

@laura_ge @GrapheneOS Hello Laurage, and thanks for the response!

I think while not completely possible to detect all AI, I think the developers using it themselves in code creation brings up a bigger concern:

- The more one is exposed to AI generated code, the more that code becomes normalized within the project and the less likely you are to detect it in others.

- AI code removes the creative process of new novel solutions that might otherwise fix many issues.

- As far as I am aware, deskilling from AI happens quite quickly and its without ones own knowledge of it happening. I know the current developers are competent, but what's to say they will be long term? And what does that invite when we offload so much knowledge to the machine?

- I think AI invites too many edge cases that cause people to slip and invite the AI more and more until they are effectively not apart of the project themselves. Thinking you are immune to this problem only makes you more susceptible. AI is like a box of sirens.

Replying to @⁨corigan01@todon.nl⁩

AI Concerns

@corigan01 @GrapheneOS I do agree it's awful overall however if you use it at least to understand what this technology is even about and how it works I do believe it also makes you better at understanding its patterns and recognizing AI-generated output or code and also understanding the why of its gaps and inaccuracies come from it's possible to identify them as a human and better understand them. For example, understanding that AI models are probabilist systems that don't always give the same answer to an identical input, they are inherently random, that context management and attention systems optimization generates inaccuracies because the model is optimized to "forget" its own working data to optimize memory bandwidth use. It's still helpful to study the machine learning concepts behind it to know exactly what to expect from those tools when they are forced on you and why, and also to criticize it and be taken seriously because you actually know what you're talking about. AIgen is certainly like a casino machine, it's addictive and the models are actively trained to make you believe they are useful by being overly confident etc. though they now really can be useful and do real work it's not just a "fluke" it would be dishonest to affirm that. I do agree it has detrimental effects on one's mental health, just like addictive mainstream social networks are and many things in tech, that's why I think tech is dead in many ways, even pre-AI to be frank. All it does to the masses is mass surveillance and control, and even mass manipulation now even leading to turning election results over.

en

Replying to @⁨laura_ge@eldritch.cafe⁩

AI Concerns

@laura_ge @GrapheneOS Hello again,

Sorry your post is a little difficult for me to read, I will repeat your question to make sure I am not misunderstanding you.

> You say more AI generated code helps you detect it more often:

I am unable to find the study so I cannot claim it to be false definitively, but I will disagree with the following reasons:

- For many projects, AI code sticks out like a sore thumb due to its weird tendencies and behaviors. If those tendencies become ingrained in the project, how would you determine AI from not?

- Since these are indeed probabilistic models, you will notice they code like a stack overflow post. It doesn't always "correctly" fit into the project the way one might expect. It gives this weird off feeling, however, that relies on the project having good coding standards to begin with. Something that can be eroded by continuous use of AI.

Otherwise, I agree with your post. AI is very much like a slot machine and I don't know what long term use looks like. This is why I am concerned that a project like Graphene is so quickly adopting it. I just don't think we have enough proof or data to show its a healthy or productive thing to include in a project intended to be this secure.

If I disregard the ethics concerns, I could give Graphene a pass for using AI to exclusively pen-test their platform (no code generation), but I think allowing any code-gen is my real big concern here.

Replying to @⁨corigan01@todon.nl⁩

AI Concerns

@corigan01 @GrapheneOS It matters that Graphene OS isnt a vibe coded project, why does it matter if Graphene OS has marginal AI use if the software its based on already has major AI use in its recent months anyway? Graphene OS wont be able replace those dependencies. Graphene OS depends on Android AOSP, on Chromium, on Linux, by your logic Graphene OS should just close doors right now. Graphene OS doesnt function without the engineering resources of bigtech Google and all companies paying devs to contribute to Linux, and all those arent anti-AI and use AI in generous amounts, though for quality and reliability reasons they also arent vibe coded projects because every decent engineer knows it's not a way to make software for public consumption that works properly. It can work for some tech tools or backend software but even then it's meh. It certainly wont look good if you arent a team of sufficiently qualified engineering folks to begin with.

To stop AI, using or not in our very little privacy/free software projects wont do much, most companies etc. who have billions are already funding them all in, if we want to stop it, we must go and plug off the machines training the next models so they can't keep on with it. It's up to the people who live near enough to the places that train frontier models to do so, unfortunately where I live there are no frontier training datacenters so we can't locally do demonstrations or really oppose it meaningfully.

Replying to @⁨laura_ge@eldritch.cafe⁩

AI Concerns

@laura_ge @GrapheneOS Hello again v2 lol,

I think that this is a valid concern and is something I am worried about too!

However, it is unfair to say that Graphene should contribute to the problem themselves just because everyone else is doing it. I think that while many dependencies are tainted, Graphene could still carefully manage it's own source.

We can bring up concerns with its dependencies's authors another time, however, we cannot begin without someone first taking a stance.

Replying to @⁨corigan01@todon.nl⁩

AI Concerns

@corigan01 @laura_ge Linux, AOSP, Chromium and the many projects those use are not simply dependencies. That's the operating system we're building on. It has extensive use of AI regardless of what we do. Linux is also being quite lax about how it's used.

We're working on privacy and security where finding holes to break through the defenses is a key part of it. These AI models are extremely good at doing it and are heavily shifting the advantage to attackers unless that's countered.

Replying to @⁨GrapheneOS@grapheneos.social⁩

AI Concerns

@corigan01 @laura_ge It isn't important because everyone else is using it but rather because corporations and governments wanting to break into people's devices are heavily using it. It is our job to defend against them. People do not seem to realize how easy it's getting for attackers to the point you can go grab exploits on GitHub and take over non-GrapheneOS Android devices. It can get that way for us too if we don't stay on top of things despite how they're degrading.

Replying to @⁨GrapheneOS@grapheneos.social⁩

AI Concerns

@GrapheneOS @laura_ge Hello Graphene org, and thanks for taking the time to respond to me!

(NOTE: Sorry its getting a little late so my brain is a fried, but I will do my best lol.)

I understand the pressure is huge for a project like Graphene, and I too am worried about the current state of software security. Honestly, nothing could've prepared any FOSS project for this AI catastrophe. (I use Graphene myself and had trusted it to keep me safe, seriously thank you).

However, I also cannot dismiss what I've seen occur in other beloved FOSS projects, and I see this same pattern repeat over and over; its a heart breaking cycle of losing the software I once trusted. I think this is why many people on fedi get so upset when discussing AI, we've gone through this before and know whats on the other side.

I think overall I see the following things happen when projects start accepting AI:
- AI attracts the wrong crowd of developers.
- AI degrades standards over time.
- AI burns out talented contributors.
- AI leaves the project a shell of its previous state.

AI has destroyed our freedom, safety, and community. The companies festering these models have little incentive to create what is simply a "tool." These devices are cognitive hazards because they play with the very same addictive tendencies that keep people gambling, drinking, or doing drugs.

LLMs are optimized to scare people into thinking that without their magic new "tool", you will be left behind. They hook you, sing their siren song, and after all is done you're left without the very skills that made you great in the first place. You tell yourself you need to use the AI just to do the things you've confidently done for years. Its the same cycle we've all known before.

I don't believe people are upset about the pen-testing aspect of the AI use here. I think for security critical projects, one should use similar devices to those used by adversaries.

However, I think most of us are primarily concerned that allowing code contributions to be assisted with AI is ultimately harmful.

I think that if you only used AI in a very narrow way, effectively only to find bugs (like a fuzzer would) that is acceptable. We don't want to see AI replace fuzzing or other hand crafted tooling, but instead to serve as an aid to existing infrastructure due to the reasons you described.

Please, at least consider what I've said and invite more (healthy) discussion about AIs involvement before making your final choice.

Replying to @⁨corigan01@todon.nl⁩

@corigan01 @GrapheneOS @laura_ge

I think there's some misunderstanding.
People are jumping at conclusions too fast.

I guess what'ss happening is GOS team starting to embrace new technologies to *check* on code.
It seems they decided that dealing with false positives is a burden they are willing to take to receive also true positives.

There is a huge man in the loop involved in the process and only to *find* (not fix) bugs before they can be found by adversaries.

Am I missing something?

Replying to @⁨corigan01@todon.nl⁩

AI Concerns

@corigan01 @GrapheneOS I'm not saying that paper you are speaking is false but it's probably also not that simple, it's a strong support argument for anti-AI folks so that's why it's been mentioned alot but like all research just 1 paper isnt knowledge, we lack long term experience with those tools. Anyway I've seen this paper I know what you're talking about. I am happy with its conclusions if they are true it fits my political goals very nicely too, I find it good people are doing such research and we should do it more. I didnt say the more AI output the better necessarily, but that it's helpful to learn what those tools are like and how they work. I don't like having opinions on things I don't understand, it makes me feel like an impostor, how can you talk about something you have no knowledge of? It's much better in my opinion to make a very informed politcal critic of some tech, knowing very well how it works and not just spitting out inaccuracies and screaming out loud to progress a goal post. It makes it way more effective in my opinion if you can criticize it knowing exactly how it works and even better than many of its it's promoters if you can.

Replying to @⁨laura_ge@eldritch.cafe⁩

AI Concerns

@laura_ge @GrapheneOS Hello Laurage,

You are overwhelming me with streams of thought, and I need a minute to catch up.

I am a little more tired than I was when I made the other three posts and my thought process is starting to degrade for the day, so I might take some time between my next couple responses.

I invite other nice people of fedi to come discuss in my place in the mean time!

Replying to @⁨corigan01@todon.nl⁩

AI Concerns

@corigan01 @GrapheneOS "Since these are indeed probabilistic models, you will notice they code like a stack overflow post. It doesn't always "correctly" fit into the project the way one might expect. It gives this weird off feeling, however, that relies on the project having good coding standards to begin with. Something that can be eroded by continuous use of AI."

I don't think it's probabilistic nature causes the "off" feeling but rather if less capable models are used or if they werent given access to instructions to align their outputs with the project's code style, I was mentioning this because I think it has however impact on security use cases, that running the same input many times until saturation of substantially different outputs is relevant to pushing the limit of a model's capability for a task, specially security code review for a particular codebase, and also attention systems because of aggressive optimization that went into them for example models tend to reason more upon the tokens they were last fed and also post training instruction following bias (some models might be more trained and biased towards ignoring previous outputs more and specially ignoring all previous instructions and only follow the latest one skipping all previous instructions in context, it depends of models for that), so it can be beneficial to feed limited amount of code at a time for review so the model actually looks at all the code, etc.

I don't think Graphene OS wants AI use in any major capacity for code generation such that it would transform the project substancially in any way beyond it being human maintainable anymore as they said, and probably also only in areas where it doesnt matter for security like unprivileged apps where sometimes it can be needed to write alot of boring code etc.

Some anti-AI discourse seems to focus more on virtue of creating and using chemically AI pure software, while that's cool to keep writing code by hand for all the wonders and love of reading human code it can provide (I miss being able to go on git forges and happily read thousands of lines of code admiring and learning from it because it's written by people with good style or architecturing skills but I also do that less due to chronic headaches preventing me to feel good focusing too much on stuff). I don't believe such anti-AI virtue achieves much on a political basis to stop AI from existing or thriving while most of the people with alot of money are already largely funding it. Getting Graphene OS to be chemically AI pure software is not possible given it's dependencies and the AOSP project it's forked from already uses AI code generation.