Your test or CLI workflow
Start an authorised target and choose a PTK CLI command or supported framework integration.
PTK Auto + PTK Agent
PTK Agent drives the browser and scan lifecycle. PTK Auto runs inside the browser and returns security evidence from the application context. Keep credentials and provider configuration in the agent or CI environment—not in the extension.
Start an authorised target and choose a PTK CLI command or supported framework integration.
The pentestkit package acquires the runtime, launches or connects to the browser,
controls scan scope and collects results.
The restricted extension executes the browser-side security runtime under the active, authorised agent session.
Local quick start
Use your real scoped URL in place of the example. Scan only systems you own or have permission to test.
npm install -D pentestkit
npx playwright install chromium
npx ptk-agent --doctor-extension
npx ptk-scan https://your-authorised-target.example \
--engine DAST,IAST,SAST,SCA \
--require-ptk-bridge \
--require-ptk-findings-export \
--wait-for-ptk-complete
GitHub Actions
Start the application earlier in the job, wait until it is reachable, then invoke the published action. The action can retain PTK artifacts and expose a configurable severity result.
Read the complete action setup, including permissions, artifact handling and SARIF upload.
- name: Run OWASP PTK
id: ptk
uses: ptklabs/ptk-action@v1
with:
target: http://127.0.0.1:3000
engines: DAST,IAST,SAST,SCA
fail-on: high
Browser infrastructure
PTK Agent supports local browser frameworks and selected remote browser platforms. Provider capabilities differ by browser, automation protocol and extension-upload format, so consult the tested matrix before choosing a configuration.
Canonical documentation
The website provides the product boundary and quick start. Versioned options, framework APIs, provider setup and release details remain with the packages that implement them.