security_php_ini_check
php.ini security audit — Offline security audit of a php.ini (or .user.ini / PHP-FPM php_admin_value lines): allow_url_include, display_errors, disable_functions, open_basedir, session cookie flags and strict mode, trans_sid, Xdebug, phar.readonly, auto_prepend_file persistence, memory/upload limits, cgi.fix_pathinfo and more. Unset directives are judged by PHP 8 defaults. Returns findings with fixes, score, grade, verdict (PASS/REVIEW/FIX BEFORE DEPLOY/BLOCK) and a hardened example. Params: text= (required), env=production|development. Price: $0.005 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "security_php_ini_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | expose_php = On display_errors = On allow_url_include = On session.use_strict_mode = 0 |