Skip to main content

Cyberstrike is now open source! AI-powered penetration testing for security professionals. Star on GitHub

WSTG Agent

The wstg-agent is the orchestrator for Cyberstrike’s web security testing pipeline. It receives captured HTTP traffic and dispatches the appropriate WSTG specialist agents based on request characteristics and accumulated session context.

Overview

PropertyValue
Agent IDwstg-agent
Roleorchestrator
Domain@cyberstrike-io/web
ColorBlue

How It Works

The wstg-agent is a pure orchestrator — it does not perform vulnerability testing itself. Its workflow:

  1. Receives a captured HTTP request (from HackBrowser or Chrome Extension)
  2. Analyzes request characteristics and accumulated session context
  3. Routes the request to the appropriate WSTG specialist(s) via signal-based dispatch
  4. Manages the testing queue and re-test triggers

Signal-Based Routing

Each captured request generates signals based on its properties — endpoint path, parameters, headers, response patterns, and Vortex rule matches. The wstg-agent maps these signals to specialist classes:

Signal CategorySpecialist
Authentication patternswstg-authentication
Authorization indicatorswstg-authorization
Input parameterswstg-input-validation
Session tokenswstg-session-mgmt
Configuration endpointswstg-config-deploy
API patternswstg-api
Crypto indicatorswstg-cryptography
Error responseswstg-error-handling
Business logicwstg-business-logic
Client-side resourceswstg-client-side
LLM endpointswstg-llm

A single request can trigger multiple specialists when it exhibits signals from multiple categories.

WSTG Specialists

Each specialist is a focused testing agent for one WSTG category:

SpecialistWSTG SectionFocus
wstg-info-gathering4.1Fingerprinting, enumeration, leak detection
wstg-config-deploy4.2Server config, default credentials, file extensions
wstg-identity-mgmt4.3User enumeration, account provisioning
wstg-authentication4.4Login bypass, credential testing, MFA
wstg-authorization4.5IDOR, privilege escalation, path traversal
wstg-session-mgmt4.6Session fixation, cookie attributes, timeout
wstg-input-validation4.7SQLi, XSS, SSTI, command injection
wstg-error-handling4.8Error disclosure, stack traces
wstg-cryptography4.9Weak ciphers, padding oracle, key exposure
wstg-business-logic4.10Workflow bypass, race conditions
wstg-client-side4.11DOM XSS, clickjacking, postMessage
wstg-api4.12BOLA, mass assignment, rate limiting
wstg-llmCustomPrompt injection, LLM-specific attacks

Each specialist carries WSTG skills (deterministic test scripts) that it executes against captured requests.

Escalation Hunter

After specialists complete their testing, the escalation-hunter runs across all findings to identify chained vulnerabilities and escalate impact.

Permissions

The wstg-agent orchestrator has a restricted permission set:

  • Can create tasks (dispatch specialists)
  • Can read session context and coverage notes
  • Can check methodology status and scope
  • Cannot perform direct testing or report vulnerabilities