Claude Code, Skill
Php Modernization Skill
PHP 8.x modernization patterns with type safety and PHPStan
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit bbfbc87bd0cd, unchanged since the check below.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST PERMISSION_SHELL_DECLARED
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
skills/php-modernization/references/composer-package-metadata.md, line 89
curl -s -o /dev/null -w "%{http_code}\n" https://repo.packagist.org/p2/<vendor>/<name>.json - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
skills/php-modernization/references/composer-package-metadata.md, line 89
curl -s -o /dev/null -w "%{http_code}\n" https://repo.packagist.org/p2/<vendor>/<name>.json - PERMISSION_SHELL_DECLARED Note
Runs shell commands, and the manifest or description says so.
scripts/test_fixtures.py, line 87
completed = subprocess.run(
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
scripts/test_fixtures.py, line 87
completed = subprocess.run(
skills/php-modernization/references/phpstan-compliance.md, line 241
$h = @proc_open($cmd, $spec, $pipes); // ✗
skills/php-modernization/references/phpstan-compliance.md, line 243
try { $h = proc_open($cmd, $spec, $pipes); }
Show more
skills/php-modernization/scripts/introspect.py, line 67
completed = subprocess.run(
skills/php-modernization/scripts/modernize_loop.py, line 98
completed = subprocess.run(
skills/php-modernization/scripts/verify_php_project.py, line 224
completed = subprocess.run(
skills/php-modernization/scripts/verify_php_project.py, line 1071
completed = subprocess.run(
skills/php-modernization/scripts/verify_php_project.py, line 1125
completed = subprocess.run(
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach repo.packagist.org. The description does not name that host. can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
skills/php-modernization/references/composer-package-metadata.md, line 89
curl -s -o /dev/null -w "%{http_code}\n" https://repo.packagist.org/p2/<vendor>/<name>.json
skills/php-modernization/references/php-8.4.md, line 479
function fetch(string $id, Logger $logger = null): array { /* ... */ }
skills/php-modernization/references/php-8.4.md, line 482
function fetch(string $id, ?Logger $logger = null): array { /* ... */ }
Show more
evals/evals.json, line 198
"prompt": "Review and fix the dependency injection in this PHP class to follow PSR standards:\n\n```php\n<?php\ndeclare(strict_types=1);\n\nuse GuzzleHttp\\Client;\nuse Monolog\\Lo
Secrets
Pass
No read of a credential file or secret environment variable found.
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Note
no licence file found.
LICENCE_MISSING
No file path was stored.
no licence file found.
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit bbfbc87bd0cd. requests shell access. The manifest names this permission. can reach repo.packagist.org. The description does not name that host. can reach a host that is not written as a fixed address. no licence file found.
Date and source
Date checked:
github.com
Commit graded: bbfbc87bd0cdd54d76f2d0a865392b476d88b03a
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.