cd /news/ai-agents/making-the-most-of-ai-in-open-source · home › topics › ai-agents › article
[ARTICLE · art-176802] src=phpstan.org ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Making the Most of AI in Open Source

PHPStan creator Ondřej Mirtes said at TechMeetup Ostrava on November 20, 2026 that AI tools helped him build documentation for all 1100+ PHPStan error identifiers and PHPStan Turbo, roughly 200 thousand lines of C++ despite not knowing C++. Mirtes also described a near-miss prompt injection in a GitHub issue that could have stolen PHPStan's secrets, which he fixed, and said he prefers a well-described issue over a generated pull request. He urged anyone running AI agents in GitHub Actions to read the security section of his slides first.

recommendation

Treat issue text and other untrusted input to agents in GitHub Actions as hostile: scope credentials tightly and audit workflow permissions, since a prompt injection in an issue nearly exposed PHPStan's secrets.

more in playbook: Securing agents and AI tools
read1 min views11 publishedNov 26, 2026
Making the Most of AI in Open Source
Image: source

November 20, 2026 · 2 min read

Today I gave a talk at TechMeetup Ostrava about how AI changed the way I work on PHPStan. AI tools and trends change from week to week, so instead of tricks that expire with the next model, I tried to share lessons that should last.

The talk was in Czech, but I translated the slides to English. Every slide also ends with a short summary of what I said, so you don’t need the recording to follow along:

  1. What I built with AI that wouldn’t exist without it :documentation for all 1100+ error identifiers , andPHPStan Turbo , about 200 thousand lines of C++, even though I don’t know C++.
  2. AI in everyday work on GitHub : keeping the documentation in sync with the code, andphpstan-bot fixing bugs I assign to it.
  3. One big disaster that almost happened : how a prompt injection in an issue could have stolen PHPStan’s secrets, how I fixed it, and the GitHub Actions security traps that have nothing to do with AI.
  4. Mob Programming 2.0 : why I’d rather get a well-described issue than a generated pull request.
  5. Where humans are still irreplaceable : taste, priorities, and the idea an agent doesn’t come up with on its own.
  6. Take care of yourselves.

Click into the slides and use the arrow keys, or the controls in their bottom left corner, which also go fullscreen. They’re also available on their own page, and the Czech original too.

If you’re running AI agents in GitHub Actions, the third part is the one I’d read first.

── more in #ai-agents 4 stories · sorted by recency
── more on @ondřej mirtes 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/making-the-most-of-a…] indexed:0 read:1min 2026-11-26 · —