PTK can be used as a browser extension, from source, through the npm package, or inside OWASP ZAP. Use the path that matches your workflow.
Install PTK from the browser extension store for your browser:
- Firefox Add-ons
- Chrome Web Store
- Microsoft Edge Add-ons
Links are available from:
Recommended browser setup:
- Create a dedicated browser profile named
PTK Testing. - Install PTK only in that profile.
- Disable unrelated extensions.
- Use test accounts only.
- Clear cookies and storage between clients or engagements.
- Keep a separate profile for each high-sensitivity engagement.
Use this when you want to inspect, modify, or test the extension locally.
git clone https://github.com/DenisPodgurskii/pentestkit.git
cd pentestkit
npm ci
npm run buildLoad the unpacked extension:
Chrome / Edge / Brave
Extensions -> Developer mode -> Load unpacked -> select pentestkit/src
For Firefox development, use the generated build or temporary add-on loading flow documented by Firefox.
Use this when you need CRX/XPI/ZIP artifacts:
npm run build_pkgArtifacts are written under pentestkit/dist. Store artifacts keep automation disabled; PTK Auto artifacts use the -automation suffix and include dev.local.json with automation enabled by default.
Use npm when you want CLI, CI, or SDK-driven scans:
npm install -D pentestkit
npx playwright install chromium
npx ptk-agent --doctor-extensionStart with:
npx ptk-scan https://target.example \
--engine DAST \
--max-routes 50 \
--output-dir .ptk/artifacts/quickSee Automation and ZAP for extension and ZAP concepts. For CLI and framework automation, use the canonical PTK Agent npm documentation.
Use the ZAP add-on when you want ZAP to launch browsers and import PTK findings into ZAP alerts.
High-level setup:
- Install the OWASP PTK add-on in ZAP.
- Open ZAP options for OWASP PTK.
- Enable the PTK active scan rule for current automation plans.
- Select browser family, headed/headless mode, and browser count.
- Run a ZAP automation plan that uses the PTK active scan rule.
Legacy spiderClient automation is still supported for compatibility, but the active scan rule is the preferred path for current release validation.
After installing PTK:
- Open an authorized target page.
- Sign in with a test account if the app requires authentication.
- Browse a few normal workflows.
- Open PTK from the browser toolbar.
- Confirm Dashboard, Proxy, cookies, and storage show target data.
- Run a small DAST scan on a known safe page or selected request.
- Export results and confirm the artifact contains findings or scan metadata.
If PTK shows no data, see Troubleshooting.
- Dedicated browser profile created
- PTK installed and visible in toolbar
- Target scope written down
- Test account credentials ready
- Rate/concurrency limits agreed
- Destructive actions disabled unless allowed
- Export folder prepared outside the repository
- Secrets stored in environment variables or a password manager