AI-agentgids
Is mijn product of website getroffen? Controleren met een AI-agent
Veel websites gebruiken PHP niet rechtstreeks maar via XAMPP, een hostingpaneel, een NAS, een Docker-image of een appliance. Met deze alleen-lezen-prompts vindt een AI-agent elke PHP-runtime, vergelijkt die met de gepatchte versies en maakt een tabel, zonder iets te wijzigen.
Laatst bijgewerkt
Wat de prompts de agent laten doen
- Systeem-PHP, bundels (XAMPP, MAMP, Laragon), panelen, containers, NAS en appliances inventariseren.
- Versie, herkomst en blootstelling vastleggen.
- Door leveranciers beheerde items koppelen aan de productpagina’s.
- Oordeeltabel: Opgelost / Kwetsbaar / Onbekend / Leveranciersbeheer.
Een agent veilig gebruiken
- Lees elk commando voordat u het goedkeurt; laat de agent vragen vóór shellcommando’s.
- Eerst op staging of een kopie; maak een back-up of snapshot vóór wijzigingen in productie.
- Geen onbewaakte sudo/root op productieservers; keur bevoorrechte commando’s één voor één goed.
- Plak nooit wachtwoorden, API-sleutels, tokens of .env-inhoud in een prompt; die zijn niet nodig.
- Vraag geen exploitcode of ‘testpayloads’; controleren gaat via versies, changelogs en logs.
- Een agent kan zich vergissen; controleer zelf de versie op de draaiende PHP-FPM of mod_php.
Prompts om te kopiëren
De prompts zijn in het Engels zodat elke agent ze betrouwbaar volgt; de laatste regel vraagt om een verslag in het Nederlands. De feiten komen van de pagina’s van deze site.
Audit this machine for PHP2Shell exposure. This is a READ-ONLY audit.
Context: PHP2Shell is CVE-2026-109618 and CVE-2026-109619, two critical unauthenticated remote-code-execution bugs in the PHP runtime (advisory published 21 October 2026). Fixed upstream releases: PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 (or later on the same branch). PHP 8.1 and earlier get no upstream fix. Linux distributions may ship backported fixes under an older version string, so check the distro's security tracker / package changelog for CVE-2026-109618 and CVE-2026-109619, not only "php -v".
Rules for you (the agent):
- Read-only: do not install, upgrade, delete, restart or change any file or service. Do not use sudo unless I approve a specific read-only command.
- Do not write, download or run exploit code, and do not probe other hosts.
- Do not print secrets you see; redact them.
- Show each command before you run it.
Find every PHP runtime, including bundled ones:
1. System PHP: php -v, php-fpm*, mod_php, every binary named php* on PATH and under /usr, /opt, /usr/local.
2. Bundled stacks: XAMPP (/opt/lampp, C:\xampp), MAMP (/Applications/MAMP), WampServer, Laragon, Local, Herd, Valet.
3. Hosting panels: cPanel ea-php, Plesk plesk-php, aaPanel/宝塔 /www/server/php, DirectAdmin, CyberPanel lsphp, HestiaCP.
4. Containers: docker ps / docker images / kubectl, and php -v inside each running container.
5. Apps that run on PHP (WordPress, Magento, Drupal, Joomla, Moodle, Nextcloud, phpMyAdmin, GLPI ...) and which PHP each one uses.
6. If this is a NAS or vendor appliance (Synology, QNAP, Unraid, pfSense, OPNsense, FreePBX ...), report the product and firmware version only; such PHP is updated by the vendor firmware.
For each item record: product/location, PHP version, how it is installed (distro package / vendor bundle / container / custom build), whether it is internet-facing, and whether the version is >= the fixed release on its branch or has a distro backport.
Output a verdict table with columns: Item | PHP version | Source | Exposed? | Verdict (Fixed / Vulnerable / Unknown / Vendor-managed) | Next step. Then list the matching product pages from https://phpvulnerabilities.app/affected-products/ for anything vendor-managed.
Write your report in Dutch.I run [PRODUCT NAME AND VERSION]. Tell me whether it is affected by PHP2Shell. This is research and a READ-ONLY check.
Context: PHP2Shell is CVE-2026-109618 and CVE-2026-109619, two critical unauthenticated remote-code-execution bugs in the PHP runtime (advisory published 21 October 2026). Fixed upstream releases: PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 (or later on the same branch). PHP 8.1 and earlier get no upstream fix. Linux distributions may ship backported fixes under an older version string, so check the distro's security tracker / package changelog for CVE-2026-109618 and CVE-2026-109619, not only "php -v".
Rules: do not write or run exploit code; do not change anything; never ask for or print credentials.
Steps:
1. Find out whether this product bundles its own PHP or uses the system PHP, and which PHP version the version I named ships with.
2. Look for the vendor's official advisory, changelog or knowledge-base article about CVE-2026-109618 / CVE-2026-109619, and the matching page under https://phpvulnerabilities.app/affected-products/. Cite each source with its URL and date; if you find none, say so instead of guessing.
3. If I can give you shell access, list the read-only commands that would confirm the runtime version, and wait for me to run them or approve them.
Output a verdict table: Product | Version | Bundled PHP | Vendor status | Verdict (Fixed / Vulnerable / Unknown) | Fix path (vendor update, upgrade host PHP, or mitigate) | Sources.
Write your report in Dutch.Audit this repository (and any inventory files it contains) for PHP2Shell exposure. READ-ONLY: do not edit files, open pull requests or connect to servers unless I approve.
Context: PHP2Shell is CVE-2026-109618 and CVE-2026-109619, two critical unauthenticated remote-code-execution bugs in the PHP runtime (advisory published 21 October 2026). Fixed upstream releases: PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 (or later on the same branch). PHP 8.1 and earlier get no upstream fix. Linux distributions may ship backported fixes under an older version string, so check the distro's security tracker / package changelog for CVE-2026-109618 and CVE-2026-109619, not only "php -v".
Rules: no exploit code, no scanning of hosts, redact secrets.
1. Search Dockerfiles, compose files, Helm charts, Terraform/Ansible/Puppet/Chef code, CI workflows, .tool-versions, composer.json "config.platform.php" and "require.php" for PHP versions and base images.
2. List every place a PHP version or image is pinned, and resolve tags like php:8.3-fpm to the patch level they currently point to if you can.
3. Mark each as Fixed / Vulnerable / Unknown against 8.2.35 / 8.3.36 / 8.4.27 / 8.5.12 (or a distro backport), and flag PHP 8.1 or older.
Output a verdict table: File | Line | Image or package | PHP version | Verdict | Suggested change. Do not apply the changes; list them for my review.
Write your report in Dutch.Veelgebruikte AI-codeeragents
Zonder rangorde. Deze site is met geen van hen verbonden.
| OpenAI Codex CLI | Start codex in het project of op de server en plak de prompt; laat de goedkeuringsmodus aan die vraagt vóór commando’s. |
|---|---|
| Claude Code | Start claude in een terminal en plak de prompt; standaard vraagt het toestemming vóór commando’s. |
| Cursor (Agent) | Open de repo of een Remote-SSH-sessie, plak in de Agent-chat en controleer elk terminalcommando. |
| Cursor Cloud Agents | Geschikt voor Docker-/repositoryprompts: werkt op een branch, u beoordeelt de diff; geen toegang tot uw servers. |
| Grok Build (xAI CLI) | Terminal-codeeragent van xAI; start in het project of op de server. Zonder shell: plak in de Grok-chat op grok.com en voer de commando’s zelf uit. |
| GitHub Copilot coding agent | Wijs een issue met de Docker-/repositoryprompt toe aan Copilot; het opent een pull request. |
| Gemini CLI | Start gemini in een terminal, plak de prompt en bevestig elk commando. |
| Windsurf (Cascade) | Plak in Cascade in de editor; windsurf.com verwijst momenteel door naar Devin Desktop. |
| Cline | VS Code-extensie; plak in het Cline-paneel en keur elk commando goed. |
| Aider | Voor Docker-/repositoryprompts: start aider in de repo en controleer de commits. |
FAQ
Hoe weet ik of mijn website door PHP2Shell is getroffen?
Zoek de PHP-versie die de site serveert (niet alleen php -v) en vergelijk met 8.2.35 / 8.3.36 / 8.4.27 / 8.5.12 of het backportpakket van uw distributie. De inventarisprompt doet dit voor elke runtime.
Wijzigt de audit iets?
Nee. De prompts eisen alleen-lezen en een vraag vóór elk sudo-commando.
Mijn PHP zit in een NAS, paneel of appliance?
Die PHP wordt door de leverancier bijgewerkt. Bekijk de productpagina in de lijst en installeer de update van de leverancier.