sc-lang-php

Scan Laravel and WordPress PHP code for security vulnerabilities.

56|5|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/ersinkoc/security-check --skill sc-lang-php
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc-lang-php
Source: https://github.com/ersinkoc/security-check/tree/main/skills/sc-lang-php
Command: npx skills add https://github.com/ersinkoc/security-check --skill sc-lang-php

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PHP-specific security checks tailored for Laravel and WordPress, simplifying detection of deserialization gadgets, include-based attacks, and type juggling issues across common PHP frameworks.

Core Features & Use Cases

  • PHP-specific vulnerability patterns and guidance for Laravel, WordPress, and generic PHP apps; supports targeted remediation and secure coding practices.
  • Use case: a developer runs a PHP security scan across a Laravel app to surface unserialize() and phar:// deserialization entries, and to flag risky include/require usage.
  • Use Case: security teams can integrate these checks into CI pipelines to prevent vulnerable code from shipping.

Quick Start

Scan a PHP project (Laravel/WordPress) for known PHP security patterns and misconfigurations with a single prompt.

Frequently Asked Questions about sc-lang-php

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan a Laravel project for PHP security vulnerabilities like deserialization?

To scan a Laravel project for PHP security vulnerabilities, you can trigger a targeted scan that detects deserialization issues like unserialize() and phar:// entries. The scan validates findings against known CWE patterns to produce structured vulnerability reports.

Can I detect insecure file inclusion and type juggling in WordPress plugins?

Yes, you can detect insecure file inclusion and type juggling in WordPress plugins. The scanner targets risky include/require usage and type juggling patterns specific to PHP frameworks, validating results against known CWE patterns for actionable findings.

What is the best way to automate PHP security checks in a CI pipeline?

Automating PHP security checks in a CI pipeline involves running targeted scans to prevent vulnerable code from shipping. These scans identify framework-specific risk patterns such as deserialization gadgets and include-based attacks, producing structured vulnerability findings.

Does this PHP security scanner identify generic PHP app vulnerabilities or only Laravel and WordPress?

This PHP security scanner identifies vulnerabilities in Laravel, WordPress, and generic PHP applications. It performs targeted code scans for risky patterns across common PHP frameworks, detecting deserialization issues, insecure file inclusion, and type juggling.

Why does my PHP code scan flag unserialize() calls as a security risk?

PHP code scans flag unserialize() calls as a security risk because they can lead to deserialization vulnerabilities. The scanner uses the PHP Security Checklist as a reference to surface these risky patterns and validate them against known CWE patterns.

How do I remediate insecure file inclusion vulnerabilities found in a PHP codebase?

To remediate insecure file inclusion vulnerabilities in a PHP codebase, review the structured vulnerability findings that flag risky include/require usage. The scanner provides PHP-specific vulnerability guidance to support targeted remediation and secure coding practices.