Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungI audited my own ML linter and had to withdraw its best evidence(21.09.2026 um 22:54 Uhr)
Sichere ProgrammierungQuantum Result Validation for Distributed Computing Systems(21.09.2026 um 22:54 Uhr)
Sichere ProgrammierungJWT Authentication and Role-Based Access Control in LocalHands(21.09.2026 um 22:56 Uhr)
Sichere ProgrammierungStochastic Parrot or Alien Mind?(21.09.2026 um 22:56 Uhr)
Sichere ProgrammierungBuilding AI for the Physical World Is a Different Engineering Problem(21.09.2026 um 22:58 Uhr)
Sichere ProgrammierungI audited my own ML linter and had to withdraw its best evidence(21.09.2026 um 22:54 Uhr)
Sichere ProgrammierungQuantum Result Validation for Distributed Computing Systems(21.09.2026 um 22:54 Uhr)
Sichere ProgrammierungJWT Authentication and Role-Based Access Control in LocalHands(21.09.2026 um 22:56 Uhr)
Sichere ProgrammierungStochastic Parrot or Alien Mind?(21.09.2026 um 22:56 Uhr)
Sichere ProgrammierungBuilding AI for the Physical World Is a Different Engineering Problem(21.09.2026 um 22:58 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

I Built a GitHub Action to Stop AI-Generated PRs Before They Reach My Queue

Last year, Daniel Stenberg — the author of curl — shut down his project's bug bounty program. The reason? 20% of the incoming reports were AI-generated garbage. Not just low-quality — worthless. Hallucinated vulnerabilities, copy-pasted ex…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

Last year, Daniel Stenberg — the author of curl — shut down his project's bug bounty program.



The reason? 20% of the incoming reports were AI-generated garbage. Not just low-quality — worthless. Hallucinated vulnerabilities, copy-pasted exploit templates, fabricated CVEs. His team was spending more time triaging noise than fixing real bugs.



This is the asymmetry nobody talks about: AI can generate 500 lines of plausible-looking code in two seconds. Reviewing it still takes a human hours.



And it's breaking open source.



The industry's fix made things worse

When the "AI PR flood" problem became obvious, the market responded with AI code review bots — CodeRabbit, Copilot review, and friends.



Here's the problem: they review code the way an anxious intern would. They flood your PR timeline with comments about variable naming, whitespace, missing docstrings. They are glorified linters with a chat interface.



Maintainers went from dealing with one source of noise (AI-generated PRs) to dealing with two (AI-generated PRs + AI-generated review comments).



I call this double review fatigue. And it's what made me build something different.



A different approach: Zero-Nitpick

I built PR-Sentry — a GitHub Action with one core rule:



Never comment on style. Only report things that break in production.



That means: security vulnerabilities, runtime crashes, memory leaks, race conditions. Nothing else.



Here's how it works under the hood:




  1. Statistical slop detection (no LLM needed)
    Before calling any API, PR-Sentry runs a local analysis on the PR description and diff. It calculates a "slop score" based on:



Buzzword density (robust, seamless, leverage, synergy...)



Passive voice ratio



Sentence length patterns



Repetition score



If the PR scores above 60, it's flagged as AI slop — without burning a single API token.



Python

`

slop_score = (

buzzword_density * 30 +

passive_voice_ratio * 20 +

sentence_length_avg * 20 +

repetition_score * 30

)



is_slop = slop_score >= 60





  1. Security scanning with entropy analysis

    The diff parser checks for 50+ security patterns before any LLM touches the code:



    Python



    PATTERNS = {

    "aws_key": r"AKIA[0-9A-Z]{16}",

    "github_pat": r"gh[pousr][A-Za-z0-9]{36,}",

    "openai_key": r"sk-[A-Za-z0-9]{48}",

    "sql_inject": r"SELECT.FROM.*WHERE.=.\$",

    "xss": r"innerHTML\s
    =|document.write(",





    ... 45 more



    }

    `

    High-entropy strings (Shannon entropy > 4.5) are also flagged to catch accidentally committed secrets.



  2. Constrained AI review

    Only PRs that pass the slop filter and show signs of potential runtime issues reach the LLM. And the system prompt is strict:




"You are a zero-nitpick code reviewer. Report ONLY: runtime crashes, memory leaks, race conditions, security vulnerabilities. If the code is logically sound, say nothing."



One concise comment. Or silence. Never noise.



Setup takes 2 minutes

Add this to .github/workflows/pr-sentry.yml:



YAML

`

name: PR-Sentry Review



on:

pull_request:

types: [opened, synchronize]



jobs:

review:

runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v4

with:

fetch-depth: 0




  - name: Run PR-Sentry
uses: Ebuodinde/PR_SENTRY@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
# Optional: switch providers
# provider: openai # or deepseek




`

Then add ANTHROPIC_API_KEY to your repo secrets. Done.



No database. No external server. No lock-in — it supports Anthropic, OpenAI, and DeepSeek out of the box.



It also works locally via MCP

If you use Cursor or Claude Code, PR-Sentry ships an MCP server. You can run the slop detector and security scanner against your diff before pushing, directly from your IDE.



What's next

The tool is at v3.0.0 with 262 passing tests. What I want to improve next:



Smarter language-aware slop detection (Python idioms vs JS patterns)



VS Code extension for local pre-push checks



Feedback loop: learning from maintainer decisions over time



If you maintain an open source project and review fatigue is real for you — give it a try. Remove it anytime, it's just a YAML file.



→ github.com/Ebuodinde/PR_SENTRY



Have you noticed an uptick in AI-generated PRs in your repos? Curious how others are handling it — drop a comment.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten I Built a GitHub Action to Stop AI-Generated PRs Before They Reach My Queue

Thematisch verwandte Begriffe: Built, GitHub, Action, Stop · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-79918 | MaxKB is an open-source AI assistant for enterprise. Prior to version 2.…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick