OWASP PTK

This add-on adds the OWASP Penetration Testing Kit (PTK) extension to Firefox, Chrome, and Edge when launched from ZAP.
OWASP PTK is a browser-based application security tool that turns your browser into a comprehensive security testing platform.

For more details see the OWASP PTK homepage.

OWASP PTK Features

OWASP PTK provides:

  • DAST - Dynamic Application Security Testing at runtime. Identify SQL injection, command injection, reflected/stored XSS
  • IAST - Interactive Application Security Testing instruments your app at runtime - right in the browser - tracking taint flows and code execution
  • SAST - Static Code Analysis for inline and external scripts flags unsafe patterns like eval(), innerHTML / outerHTML injection
  • SCA - Find outdated or vulnerable packages
  • Request Builder - Tamper any requests and/or run DAST attacks against a particular request
  • JWT Inspector - Analyze, craft, and tamper with JSON Web Tokens
  • Dashboard - One-click visibility into tech stacks, WAFs, security headers, crawled links, and authentication flows
  • Cookie Editor - Add, edit, remove cookies or create rules to block and protect them
  • Automation - Add the PTK to browser automation systems like Selenium to get security insight while running tests
  • Recording - Macro and traffic recording with HAR file output

ZAP Alerts

PTK will raise ZAP alerts for any issues it finds during a session. The full list of alerts raised by PTK is available at https://www.zaproxy.org/alerttags/tool_ptk/.

All PTK alerts are tagged with TOOL_PTK . In addition, alerts raised by rules that are part of the recommended rule set are also tagged with one of:

  • TOOL_PTK_PASSIVE_DEFAULT — added to alerts raised by recommended SAST and IAST rules, which run passively (in the client spider).{#tool_ptk_passive_default} {#tool_ptk_passive_default}
  • TOOL_PTK_ACTIVE_DEFAULT — added to alerts raised by recommended DAST rules, which run as part of the PTK active scan rule.{#tool_ptk_active_default} {#tool_ptk_active_default}

These tags make it easy to filter for the alerts that PTK raises by default, as opposed to those only raised when non-default (custom) rules have been enabled - see OWASP PTK Options for more details.

You can enable and disable OWASP PTK and other browser extensions via the Selenium Options page.

See also: OWASP PTK Options