r/AIprogrammingLanguage • • 1d ago

Pull Request from new account

Hi all,

I recently received several pull requests for my project, and I was genuinely excited to see someone starting to contribute to the new programming language.

Being a bit paranoid, I asked Claude to scan the contributions for potential security issues. Two of the pull requests actually contained security vulnerabilities. I also noticed that the contributor's GitHub account had only been created a few days ago.

I'm grateful for every contribution, and maybe this was just an honest mistake. But it made me realize something: I find it difficult to trust code generated by someone else, even if it was written with AI. With my own code, it's a bit different. I know the context, the prompts, the iterations, and the decisions behind it. With someone else's code, I have no idea how it was produced or what might have been overlooked.

This got me thinking about how to handle external contributions securely. Even letting my own AI review a pull request isn't necessarily safe. What if the code contains hidden instructions designed to manipulate the AI reviewing it?

I used a multi-stage review process. The first AI inspected the code for hidden instructions and potential prompt injection, without having access to my repository. A separate AI then performed a security review in read-only mode before I re-enabled write access. But even that isn't enough. AI can miss things, especially when attacks are subtle.

I also want to strengthen the automated security mechanisms themselves: more tests, fuzzing, and potentially using tools like Kani to formally verify certain properties and invariants where possible.

But this experience also made me think about something else.

How can I expect people to trust my programming language when, from their perspective, I'm just another stranger generating code with AI?

I think I can now understand some of the skepticism I've encountered from others a little better. I hope the security measures I'm planning to introduce will help build that trust.

That said, I actually think PRs remain a great medium for communication, even when AIs are effectively talking to each other on both sides. A concrete PR allows contributors to express detailed ideas, edge cases, and design choices far more directly than a vague feature request ever could. In that sense, those tokens aren't wasted at all.

I definitely want to keep welcoming PRs. I'm just trying to figure out how to balance being open to the community with protecting the project.

How do you see this?

4 Upvotes

Duplicates