SkillVaultskills Browse all 1,000+ skills

Security · Version 1.3.0 · Reviewed 2026-08-02

PHP Security Hardening Specialist

Find and prioritize exploitable risk in PHP threat-boundary review and PHP least-privilege hardening with evidence, explicit trade-offs, and a verification plan.

4 method steps 4 documented failure modes 4 diagnostic checks 7 quality gates

Traces reachable attack paths and hardens trust boundaries for PHP using Composer graph, request lifecycle, framework configuration, and worker settings and slow-request logs, opcode-cache metrics, and database query traces, with explicit attention to state retained by a long-running worker violating assumptions from request-scoped execution.

₹299 one-time

Get this skill archive

Install in your AI coding tool

SkillVault packages this skill in the open Agent Skills format for five leading coding tools.

What this skill helps you do

  • PHP threat-boundary review
  • PHP least-privilege hardening
  • PHP security control verification

How PHP Security Hardening Specialist works

You provide

Code, configuration, and the deployment trust model

It inspects

Reachable input-to-sink paths for PHP threat-boundary review

It decides

A PHP least-privilege hardening finding ranked by blast radius

You verify

Re-attempt the exploit path after remediation

What it checks first

PHP Security Hardening Specialist traces reachable attack paths and hardens trust boundaries for PHP using Composer graph, request lifecycle, framework configuration, and worker settings and slow-request logs, opcode-cache metrics, and database query traces, with explicit attention to state retained by a long-running worker violating assumptions from request-scoped execution. Use it when the work involves PHP threat-boundary review, PHP least-privilege hardening, PHP security control verification.

  1. Trust boundaries and every point where untrusted input crosses one.
  2. Where authorization is enforced relative to where data is accessed.
  3. Secret handling: creation, storage, transmission, rotation, and revocation.
  4. What an attacker gains at each step, which determines whether a finding is material.

Failure modes it recognizes

  • Authorization enforced at the perimeter while internal callers reach the same data unchecked.
  • A single unparameterized query path among many parameterized ones.
  • Sensitive values written to logs or error responses.
  • A dependency vulnerability that is reachable in one code path and unreachable in the rest.

Answers it will reject

  • Reporting theoretical findings as exploitable without a demonstrated path.
  • Blocking a payload signature instead of removing the vulnerability class.
  • Treating obscurity as a control, which delays discovery without preventing exploitation.

Decision rules it applies

  • Prioritize by reachability and blast radius, not by scanner severity.
  • Fail closed on any ambiguity in an access decision.
  • Prefer eliminating the capability over sanitizing input into it.

Evidence it asks for

  • Trace input to sink and name every file and function on the path.
  • Verify the fix by attempting the original exploit path.
  • Check logs for prior exploitation before closing a finding.

The method inside

  1. Extract decisions, facts, and unresolved questions needed for PHP threat-boundary review.
  2. Organize PHP least-privilege hardening around the reader's next decision or action rather than the source order.
  3. Draft PHP security control verification with source traceability and no invented behavior.
  4. Run a completeness, consistency, audience, and actionability review before returning the artifact.

Deliverables

  • PHP threat-boundary review assessment
  • PHP least-privilege hardening decision and action plan
  • PHP security control verification verification checklist

Evidence requirements

  • Code, configuration, data flows, and trust boundaries
  • Identity, authorization, and deployment context
  • Threat model, controls, and known assumptions

Quality gates

  • Every material claim traces to supplied evidence or is labeled as a hypothesis.
  • The response follows the declared deliverable contract.
  • No execution, access, measurement, or verification is invented.
  • Secrets and personal data are redacted rather than repeated.
  • The user receives a concrete independent verification step.
  • The relevant failure modes in this domain were considered rather than only the reported symptom.
  • No listed anti-pattern was recommended as a solution.

Example task

Input

Apply the security hardening specialist to our PHP system before the next production change. We can provide Composer graph, request lifecycle, framework configuration, and worker settings; the main concern is state retained by a long-running worker violating assumptions from request-scoped execution.

Expected output

Treat per-request state, long-running workers, and external persistence as the primary trust boundary and enumerate who can cross it with which authority. The concrete failure path is state retained by a long-running worker violating assumptions from request-scoped execution. Remove the broad grant or unsafe input path first, then re-attempt that exact path and inspect the resulting audit evidence.

Boundaries and compatibility

Ideal for

  • PHP threat-boundary review: produce a decision or artifact grounded in supplied evidence.
  • PHP least-privilege hardening: produce a decision or artifact grounded in supplied evidence.
  • PHP security control verification: produce a decision or artifact grounded in supplied evidence.

Out of scope

  • Authorizing offensive actions against systems without permission
  • Reporting theoretical issues as exploitable without a path

Agent compatibility

  • GitHub Copilot Agent Skills
  • Cursor Agent Skills
  • Claude Code Skills
  • OpenAI Codex Skills
  • JetBrains Junie Skills

Tool policy: Advisory by default. No tools are assumed. If the host provides tools, use read-only evidence gathering unless the user explicitly approves a scoped write or execution action.