Skip to content
FunCoding

attack-patterns-reference

Use when classifying a verified web or WordPress behavior and selecting a related validation skill.

Star
1,302
Category
Security
License
MIT
Last commit
Sep 1, 2026

meta/attack-patterns-reference/SKILL.md

View on GitHub

Attack Patterns Reference

This catalog maps observed web and WordPress behavior to the skill that owns its validation. Pattern IDs are navigation labels. They do not establish exploitability, severity, prevalence, or a confirmed attack path.

When to Use

  • A recon result needs to be classified before focused testing.
  • Several verified behaviors may form a candidate attack path.
  • A WordPress, CORS, XML-RPC, source-leak, or exposed-service signal needs an owning validation procedure.

Do not use the catalog as a scanner finding list or a substitute for the verification section of the owning skill.

Prerequisites

  • An authorized target and current scope constraints.
  • Captured evidence for the observation being classified.
  • The tools and identities required by the selected follow-up skill.

How to Run

  1. Match the observed behavior to the closest pattern.
  2. Open the owning skill listed in the table.
  3. Check its prerequisites and side effects.
  4. Run the smallest validation and negative control that can falsify the hypothesis.
  5. Record the result as observed, inferred, confirmed, or not tested.

Procedure

General Web Patterns

PatternInitial signalOwning skill
WordPress user exposureREST or author route returns user metadatawp-mass-recon
Credentialed CORSUntrusted origin reflected with credentialscors-credential-wordpress
XML-RPC methodsProtocol-valid system.listMethods responsexmlrpc-exploitation
XML-RPC SSRFpingback.ping reaches a controlled callbackxmlrpc-exploitation
Public registrationRegistration is enabledwp-mass-recon
Plugin surfaceREST namespace, asset, or version markerwordpress-plugin-hunt
Staging differenceNon-production host has weaker controlsstaging-subdomain-hunt
Exposed error logResponse contains real application errorserror-log-mining
PHPInfo exposurePHP configuration page is reachablephpinfo-to-rce
Source or backup leakResponse contains repository, configuration, or database contentsource-leak-hunt
JavaScript secret candidateBundle contains a credential-shaped valuejs-secrets-extraction
Public serviceNon-HTTP or administrative service is internet reachableport-service-discovery

See references/p-patterns.md for the extended pattern notes.

CORS Variants

VariantInitial signalRequired validation
Origin reflection with credentialsUntrusted origin plus ACAC: trueCredentialed browser reads non-public data
Null-origin trustACAO: null plus ACAC: trueSandboxed browser reads non-public data
Wildcard without credentialsACAO: *Determine whether the response is already public
Credentialed preflightOPTIONS accepts origin, method, and headersActual request succeeds and browser exposes response
Auth-route CORSCORS headers appear on a protected routeApproved session returns readable protected data
Plugin-specific CORSOnly one plugin namespace accepts the originResponse contains protected data or performs an authorized test action
Environment-specific CORSStaging and production policies differDemonstrate impact in the authorized environment
Third-party allowlistOne external service origin is trustedEstablish control of that origin and protected-data access

Candidate Attack Paths

These are composition templates, not confirmed findings:

PathPreconditions that must be verified
CORS to protected-data readApproved session, untrusted origin, browser-readable non-public response
XML-RPC SSRF to cloud metadataControlled callback, reachable metadata service, usable secondary impact
Open registration to uploadApproved synthetic account, upload-capable role, executable file path
Exposed log to account accessCurrent credential material, approved identity, valid authentication control
Staging exposure to production impactShared trust boundary, reusable secret or deployment path, explicit scope

Use cross-attack-chains only after every prerequisite is independently verified.

Pitfalls

  • Historical frequency is not evidence about the current target.
  • A product name, version, status code, or header does not prove impact.
  • A catch-all route can make sensitive paths appear reachable.
  • Public client identifiers and intentionally public APIs are not automatically credentials or authorization failures.
  • Pattern prerequisites change across product and plugin versions.
  • An attack path inherits the uncertainty of its weakest step.

Verification

  • Match every pattern to captured request and response evidence.
  • Run a negative control that distinguishes the result from public or generic behavior.
  • Use a browser for CORS impact; headers alone are insufficient.
  • Use a controlled callback for blind SSRF; a protocol status alone is insufficient.
  • Use exact component and prerequisite checks before associating a CVE.
  • Report only the impact reproduced within scope.

Similar Skills

agent-security-hardening

AFaffaan-m/ECC278k4,046 new stars in the last 7 days

ponytail-review

DIDietrichGebert/ponytail162k5,405 new stars in the last 7 days

ponytail-audit

DIDietrichGebert/ponytail162k5,405 new stars in the last 7 days

ponytail-audit

DIDietrichGebert/ponytail162k5,405 new stars in the last 7 days

cso

GAgarrytan/gstack136k883 new stars in the last 7 days

Featured

security-and-hardening

Harden code against the OWASP Top 10: input handling, authentication, sessions and dependencies.

ADaddyosmani/agent-skills106k3,628 new stars in the last 7 days