Overview
The AI chat assistant is available throughout Pwnbook to help with security research, methodology questions, payload crafting, report writing, and analysis. It understands the context of the platform and can help you work more efficiently without leaving the app. AI capabilities require at least one AI provider to be configured. See AI Providers for setup instructions.Using the AI chat
From within an engagement
The AI assistant is accessible from any engagement via the AI Chat button in the engagement sidebar. When you open the chat from within an engagement, the assistant has context about the engagement — its targets, recent activity, and your current workspace. To start a conversation:- Click AI Chat in the engagement sidebar.
- Type your message in the input field.
- Press Enter or click Send.
From the global chat
A global AI chat is available from the main navigation bar, outside of any specific engagement. This is useful for general security questions, research, or when you want to start fresh without engagement context.Capabilities
The AI assistant can help with a wide range of security tasks:Methodology guidance
Ask for step-by-step testing approaches for specific vulnerability classes, attack surfaces, or technology stacks.
Payload generation
Generate payloads for XSS, SQLi, SSRF, command injection, and other common vulnerability classes. Customize for specific contexts or WAF bypass.
Report writing
Draft finding write-ups, executive summaries, or remediation recommendations. Describe the vulnerability and the assistant drafts professional report language.
Code review
Paste code snippets and ask the assistant to identify security issues, insecure patterns, or misconfigurations.
Public vs. authenticated AI chat
Authenticated chat
When you’re logged into Pwnbook and use the AI chat from within the app, your session is authenticated. This enables:- Engagement context awareness
- Conversation history saved to your account
- Access to organization-specific configurations
Public AI chat
Pwnbook optionally exposes a public-facing AI chat that does not require a Pwnbook account. This is useful for:- Quick security questions without logging in
- Sharing access with external reviewers
- Marketing or demo use cases
Whether the public AI chat is enabled depends on your organization’s configuration. Server admins can enable or disable it from the admin panel.
Conversation history
Authenticated conversations are saved and accessible from the AI Chat history panel. To view past conversations:- Click AI Chat in the navigation.
- Click History in the chat sidebar.
- Select any past conversation to resume it.
AI provider configuration
Pwnbook supports two AI providers:| Provider | Models |
|---|---|
| Anthropic | Claude (recommended for security tasks) |
| OpenAI | GPT-4 and compatible models |
Data privacy
For maximum control over data handling, consider:- Using self-hosted Pwnbook with API keys configured to your own provider accounts
- Reviewing the data processing agreements with your chosen AI provider
- Establishing internal policies about what types of data can be shared in AI queries