You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 14, 2026. It is now read-only.
Repository navigation
Commit 210fb22
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: platform/automations/credits.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: "Automation credits"
3
3
description: "Understand how to buy Automation credits, how runs use them, and how auto top-up works."
4
4
---
5
5
6
-
[Automations](/platform/automations/overview) run on shared organization automation credits. Every [remediation](/platform/automations/remediation) run, whether triggered manually from a finding or by an automation, deducts credits based on what the run costs when it completes.
6
+
[Automations](/platform/automations/overview) run on shared organization automation credits. Every [remediation](/platform/automations/remediation) run, whether triggered manually from a finding or by an automation, deducts credits based on what the run costs when it completes. Replies from the [Slack assistant](/platform/slack-assistant#credits) use automation credits too.
7
7
8
8
Automation credits are organization-wide. They are separate from Code Review seats and your Whitebox Scan credits.
Copy file name to clipboardExpand all lines: platform/slack-assistant.mdx
+61-11Lines changed: 61 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,25 @@
1
1
---
2
2
title: "Hacktron in Slack"
3
-
description: "Mention @Hacktron AI to triage findings, set up pentests and change PR review settings without leaving Slack."
3
+
description: "Mention @Hacktron AI to ask security questions, triage findings, set up pentests and change PR review settings without leaving Slack."
4
4
---
5
5
6
-
Mention **@Hacktron AI** in a Slack channel or direct message to work with your findings, set up a pentest or manage PR reviews. The assistant uses your Hacktron account and permissions, and replies in a thread.
6
+
Mention **@Hacktron AI** in a Slack channel or direct message to ask security questions about your code and plans, work with your findings, set up a pentest or manage PR reviews. The assistant uses your Hacktron account and permissions, and replies in a thread.
7
7
8
8
You can continue in that thread without mentioning it again. Teammates can join by mentioning @Hacktron AI. Each person's requests use their own account and permissions.
|[Ask a security question](#ask-security-questions)| We're adding file uploads to acme/web. What should we think about? |
15
+
|[Look into findings](#ask-about-findings)| How many critical findings are open in acme/api? |
16
+
|[Triage a finding](#act-on-findings-and-scans)| Mark the SSRF finding in acme/api as a false positive because the URL is allowlisted |
17
+
|[Update your threat model](#keep-your-threat-model-up-to-date)| Save our decision to fetch link previews through the egress proxy and update the threat model |
18
+
|[Set up a pentest](#set-up-a-pentest)| Pentest acme/api on main and test staging.acme.com signed in |
19
+
|[Manage PR reviews](#manage-pr-reviews)| Turn on PR reviews for acme/api and acme/web |
20
+
|[Ask how Hacktron works](#ask-how-hacktron-works)| How do I stop reviews of PRs into release branches? |
19
21
20
-
Before changing a finding, stopping a scan or updating PR review settings, Hacktron shows you what will change and asks you to click **Approve**. Starting a pentest requires approval from an organization admin.
22
+
Before changing a finding, stopping a scan, updating PR review settings or changing your threat model or context documents, Hacktron shows you what will change and asks you to click **Approve**. Starting a pentest requires approval from an organization admin.
21
23
22
24
## Set up
23
25
@@ -70,7 +72,7 @@ Before changing a finding, stopping a scan or updating PR review settings, Hackt
70
72
</Step>
71
73
</Steps>
72
74
73
-
Your Hacktron role determines what you can do. Viewers can ask questions, members can prepare pentests, and organization admins can start pentests and change PR review settings.
75
+
Your Hacktron role determines what you can do. Viewers can ask questions. Members can also have Hacktron read your code, prepare pentests and update context documents and threat models. Organization admins can also start pentests, change PR review settings and manage applications.
74
76
75
77
## Ask about findings
76
78
@@ -88,6 +90,45 @@ Ask Hacktron to change a finding's status, add a comment, stop a running scan or
88
90
89
91
Each finding card also has buttons to update its status or fix it with AI.
90
92
93
+
## Ask security questions
94
+
95
+
Think of Hacktron as a security engineer you can pull into any conversation. Ask about a feature you're planning, a design doc or PRD, how part of your app handles something like sign-in or file access, or a change you're about to ship.
96
+
97
+
Hacktron answers from your own code and from what it already knows about your repositories. It can read the code at any branch or pull request, and it checks your threat models, context documents, recent pentests and past findings.
98
+
99
+
A few things you might ask:
100
+
101
+
- "We're adding file uploads to acme/web. What should we think about before we build it?"
102
+
- "How does acme/api check that a user can see another team's projects?"
103
+
- "Here's our PRD for shareable report links. What are we missing security-wise?" Paste the PRD into your message or attach it.
104
+
- "Is `https://github.com/acme/api/pull/42` safe to merge?"
105
+
106
+
Hacktron starts with the few points that matter most for what you're doing, and links each one to where it found it: a file and line, a related finding or your threat model. If something important is still unclear, it ends with a question for you. Reply in the thread to keep going.
107
+
108
+
<img
109
+
src="/images/slack-assistant-security-review.png"
110
+
alt="Hacktron answering a security question in a Slack thread, citing lines of code and linking a related finding"
111
+
/>
112
+
113
+
Hacktron only calls something exploitable when the code shows it, so treat its points as things to check. To confirm one, ask Hacktron to [review the pull request](/code-review/overview) or [set up a pentest](#set-up-a-pentest).
114
+
115
+
<Note>
116
+
Hacktron can read code from repositories connected through GitHub, GitLab and
117
+
Azure DevOps. The first question about a branch or pull request can take a
118
+
minute or two while Hacktron gets the code ready.
119
+
</Note>
120
+
121
+
## Keep your threat model up to date
122
+
123
+
When a conversation settles something, ask Hacktron to save it. Your scans, PR reviews and later answers then take it into account. Before each change, Hacktron shows an **Approve** button that describes it.
124
+
125
+
You can ask Hacktron to:
126
+
127
+
- Save a decision, requirement, PRD or accepted risk from the thread as a [context document](/platform/context/overview#context-documents) on the repository.
128
+
- Edit the [threat model](/platform/context/threat-models), for example to add a trust boundary. Your edits stay in place when the threat model updates later.
129
+
- Update the threat model with new context documents and triage feedback. If a repository doesn't have a threat model yet, Hacktron builds one from the code. Updates run in the background and take a few minutes.
130
+
- Create an [application](/platform/context/applications) from your repositories, add repositories to it or rebuild its threat model. Creating an application and adding repositories need an organization admin.
131
+
91
132
## Ask how Hacktron works
92
133
93
134
Ask a product question, such as "How do I stop reviews of PRs into release branches?" Hacktron answers from the documentation and links to the relevant page. If the docs don't cover your question, it tells you.
@@ -143,14 +184,23 @@ A pentest uses the same access mode for all its live sites: signed in or without
143
184
144
185
A progress card at the top of the reply shows Hacktron's plan and the steps it takes.
145
186
187
+
## Credits
188
+
189
+
Replies from the Slack assistant use [automation credits](/platform/automations/credits) from your organization's balance. Pentests and fixes you start from Slack cost the same as when you start them in Hacktron.
190
+
191
+
If your organization runs out of automation credits, Hacktron tells you in the thread and links to **Billing**. With auto top-up turned on, Hacktron buys more credits first.
192
+
146
193
## Limits
147
194
148
195
- The Slack assistant can read attached archives, but it doesn't build or run your code. Provide a deployed app URL for live testing.
149
196
- Each thread has a usage limit. When a thread reaches it, Hacktron stops and asks you to mention it in a new thread.
197
+
- A conversation ends after a week without activity, and any files attached to it are deleted. To pick it back up, mention @Hacktron AI in the thread. It reads the thread again, but you need to attach files again.
198
+
- Hacktron can't read code from Bitbucket repositories yet.
150
199
- If Hacktron can't read an attachment, ask an organization admin to disconnect Slack and connect it again from **Integrations** to grant file access.
151
200
152
201
## Troubleshooting
153
202
154
203
-**Hacktron doesn't reply to a mention in a channel.** Add it to the channel with `/invite @Hacktron AI`, and check that Slack is connected under **Integrations** in Hacktron.
155
204
-**"Hacktron couldn't find your account for this workspace."** Link your Slack account from **Personal settings** > **Connected accounts** in Hacktron, choosing the same workspace, then try again.
205
+
-**"Your Hacktron organization is out of automation credits."** An organization owner can buy credits from **Billing** or turn on [auto top-up](/platform/automations/credits#auto-top-up).
156
206
-**Hacktron doesn't answer a reply in a thread.** If someone else started the thread, mention **@Hacktron AI** in your reply. Only the person who started it can continue without a mention.
0 commit comments