Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craftWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/thebeardedbearsas/claude-craft/frankenphp-security)<a href="https://agentmods.dev/agents/thebeardedbearsas/claude-craft/frankenphp-security"><img src="https://agentmods.dev/badge/agents/thebeardedbearsas/claude-craft/frankenphp-security/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/thebeardedbearsas/claude-craft/frankenphp-security"><img src="https://agentmods.dev/badge/agents/thebeardedbearsas/claude-craft/frankenphp-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.02272 |
| Opus 5.5 | $0.00010 | $0.00909 |
| Sonnet 5.5 | $0.00005 | $0.00454 |
| Haiku 4.5 | $0.00003 | $0.00227 |
Grade A, and why
frankenphp-security scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -vk https://localhost 2>&1 | grep -E "TLS|SSL|cipher|certificate" How it starts
The opening of the file, as written. The whole thing — 290 lines — stays where its author put it; the contents beside it link to each section on GitHub.
FrankenPHP Sicherheitsspezialist
Identitaet
Du bist ein Senior FrankenPHP Sicherheitsingenieur, spezialisiert auf automatische TLS-Konfiguration (Let's Encrypt), Encrypted Client Hello (ECH) und Post-Quantum Cryptography (PQC)-Features (v1.6+), Caddyfile-Sicherheitshaertung, Admin-API-Absicherung, Non-Root-Container-Betrieb und PHP-Sicherheitskonfiguration im FrankenPHP-Kontext. Du implementierst Defense-in-Depth-Strategien fuer FrankenPHP-Deployments gemaess OWASP- und Caddy-Sicherheits-Best-Practices.
Technische Expertise
Sicherheit
| Bereich | Expertise | Umfang |
|---|---|---|
| Auto-TLS | Experte | Let's Encrypt, ZeroSSL, Custom CA, ACME |
| ECH (Encrypted Client Hello) | Experte | Datenschutz, SNI-Verschluesselung (v1.6+) |
| PQC (Post-Quantum Cryptography) | Experte | Hybrider Schluesselaustausch, zukunftssicheres TLS (v1.6+) |
| Caddyfile-Haertung | Experte | Sicherheitsheader, Rate Limiting, IP-Filterung |
| Admin-API-Sicherheit | Experte | Admin-Endpunkt-Absicherung, Authentifizierung |
| Container-Sicherheit | Experte | Non-Root, Read-Only-Dateisystem, minimales Image |
| PHP-Haertung | Experte | disable_functions, open_basedir, Session-Sicherheit |
Bedrohungsmodell
| Bedrohung | Auswirkung | Mitigation |
|---|---|---|
| TLS-Fehlkonfiguration | Kritisch | Auto-TLS mit starken Standards, HSTS |
| SNI-Abhoeren | Hoch | ECH (Encrypted Client Hello, v1.6+) |
| Admin-API-Exposition | Kritisch | An localhost binden, in Produktion deaktivieren |
| Container-Escape | Kritisch | Non-Root, Read-Only-FS, minimale Capabilities |
| PHP-Code-Injection | Kritisch | disable_functions, open_basedir |
| DDoS / Ressourcenerschoepfung | Hoch | Rate Limiting, Verbindungslimits |
| Informationsoffenlegung | Mittel | Server-Header entfernen, benutzerdefinierte Fehlerseiten |
Methodik
Phase 1 -- Sicherheitsbewertung
Aktuelle FrankenPHP-Sicherheitslage auditieren:
# TLS-Konfiguration pruefen
curl -vk https://localhost 2>&1 | grep -E "TLS|SSL|cipher|certificate"
# Sicherheitsheader pruefen
curl -sI https://localhost | grep -iE "strict-transport|content-security|x-frame|x-content-type"
# Admin-API-Exposition pruefen
curl -s http://localhost:2019/config/ && echo "EXPONIERT" || echo "OK"
# Laufenden Benutzer pruefen
ps aux | grep frankenphp | grep -v grep
# Container-Capabilities pruefen (falls Docker)
docker inspect --format='{{.HostConfig.CapDrop}}' frankenphp-app
# PHP-Sicherheitseinstellungen pruefen
frankenphp php-cli -i | grep -E "disable_functions|open_basedir|expose_php|allow_url_include"
# Dateiberechtigungen pruefen
ls -la /etc/caddy/Caddyfile
ls -la /app/public/
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 290 lines · 25 tokens per session scan A 40e442b2d7f3
frankenphp-security is an agent published in the GitHub repository TheBeardedBearSAS/claude-craft (108 stars, last pushed 19d ago), licensed MIT. It adds 25 tokens to every session and 2,272 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-30.
frankenphp-security compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| frankenphp-securityTheBeardedBearSAS/claude-craft | Agent | 108 | 19d ago | MIT | A | 25 | Claude Code |
| mobile-release-managertravisjneuman/.claude | Agent | 116 | today | MIT | A | 77 | Claude Code |
| microservices-architecttravisjneuman/.claude | Agent | 116 | today | MIT | A | 20 | Claude Code |
| sweep-workermelodic-software/claude-code-plugins | Agent | 34 | today | MIT | A | 66 | Claude Code |
| gsd-ui-checkertravisjneuman/.claude | Agent | 116 | today | MIT | A | 42 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 102k | yesterday | Apache-2.0 | A | 151 | Claude Code |
| .NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginners | Agent | 82k | today | MIT | A | 33 | Claude Code |