Skip to content
This repository was archived by the owner on Nov 14, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
115 changes: 115 additions & 0 deletions .agents/skills/writing-docs/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
---
name: writing-docs
description: Write and review Hacktron documentation with a humanizer pass, current product screenshots, useful Mintlify components, and verified inter-page links.
---

# Writing Hacktron docs

Use this skill for new guides, documentation updates, and reviews in this repo.
Follow it alongside the user's request and the repo's contribution instructions.

## Start with the reader and the product

- Read the existing page and a nearby guide. Match their voice and level of detail.
- Identify what the reader wants to do and what they need before starting.
- Check the current product UI and source for labels, permissions, availability,
limits, and outcomes. Keep exact button names. Ask about genuine uncertainty.
- Explain the shortest complete path through the task. Include meaningful limits
and failure recovery. Leave implementation details out of customer guides.
- Extend the existing page when it fits. Add a page when the task deserves its own
destination, then connect it to navigation and related guides.

## Run a humanizer pass

Use an available `humanizer` skill, such as
[blader/humanizer](https://github.com/blader/humanizer). If unavailable, apply this
equivalent editing pass. Run it on the final prose, including captions, cards,
descriptions, and callouts.

1. Read the whole draft once for meaning and flow. Mark boilerplate, repetition,
inflated claims, and sentences a teammate would never say.
2. Rewrite around the reader's action. Use concrete verbs and ordinary words.
Start with the useful fact or instruction. Preserve verified behavior, limits,
safety guidance, and exact UI labels.
3. Remove staged contrasts such as "not X, but Y", "it's X, not Y", and their
two-sentence equivalents. State the fact directly. Keep factual restrictions
when the reader needs them.
4. Replace prose semicolons and em dashes with natural sentences. Leave syntax in
code, URLs, and literal UI labels alone.
5. Cut announcements like "let's dive in", sales language like "seamlessly
leverage", forced groups of three, and closers that repeat the preceding point.
Avoid repetitive sentence templates and unnecessary bold text.
6. Read the rewrite aloud. Check that it sounds like a helpful colleague and that
no behavior, promise, or example was invented while making it sound smoother.

Do not turn a technical guide into chatty commentary. Prefer a short, direct
explanation to either stiff prose or artificial personality.

Examples:

- "The team issues the letter; you do not create it in the dashboard." becomes
"Contact us to request a letter."
- "Exports include all pages, not just the current page." becomes
"The export includes matching findings across all pages."
- "Retesting checks fixes; it is not a new assessment." becomes
"The retest covers the fixes you submitted."

## Include product screenshots

- Include screenshots in dashboard workflow guides. Capture the controls and
states the reader needs, especially menus, configuration steps, and results.
A screenshot of the documentation itself is review evidence, not a product
screenshot for the guide. API-only or conceptual pages may not need an image.
- Match the view to the reader. For shared letters and public disclosures, show
the public page recipients see. Verify it opens without sign-in and omit
issuer/admin controls. For report guides, show a generated document example,
such as its contents page, alongside the download instructions.
- Capture the real current application. Use a dedicated test account and demo
data. If a state is unavailable, use the actual frontend with sanitized sample
fixtures and disclose that provenance in the PR. Never draw a replacement UI
or present sample outcomes as a completed customer engagement.
- Exclude customer data, personal information, credentials, private source, and
secret-bearing URLs. Do not mutate a customer's engagement to obtain a picture.
- Follow the existing screenshot style and theme. Keep labels readable at article
width. Crop to the relevant panel when useful, retaining the original evidence.
Avoid browser chrome, debug widgets, loading states, and accidental tooltips.
- Store assets under `images/` with descriptive names. Place each image beside
the instruction it explains, using descriptive alt text and the existing image
or `Frame` pattern. Reuse an image only if its UI is still current.
- If safe capture is blocked, explain the gap. Do not silently omit screenshots
from a UI guide or substitute an unrelated image.

## Use Mintlify components with a purpose

- Use `Steps` for ordered actions. Put an optional-step `Note` at the top of the
relevant step. Use ordinary prose for a short explanation.
- Put `Note`, `Tip`, and `Warning` beside the decision they affect. Reserve
warnings for consequences such as public access, destructive actions, or
one-time limits. Avoid repeating the same caveat in a callout and the prose.
- Use `Card` and `Columns` for distinct starting points or next tasks, especially
on overview pages. Do not turn every cross-reference into a card.
- Use `Tabs` for genuine alternatives and `Accordion` for optional detail. Keep
prerequisites and required steps visible.
- Use tables for real comparisons, statuses, and limits. Avoid tables that just
decorate a list or repeat surrounding instructions.
- Add inter-page links where the reader needs them. Embed the link in the
relevant sentence instead of appending a generic "see also" paragraph.
- Link to real page headings. Step titles may not create usable anchors in
Mintlify. Check the landing position in the browser.

## Verify the finished guide

1. Recheck claims against the product, especially labels visible in screenshots.
2. Run `pnpm lint` and `pnpm exec mintlify broken-links`.
3. Preview with `pnpm exec mintlify dev --port 3000`. Follow the repo's testing
approval and handoff rules for browser-driven checks.
4. In the browser, verify navigation, images and alt text, component rendering,
mailto targets, cross-page links, and heading anchor landings. Check image
legibility at article width and a narrow viewport.
5. Review the final diff for unsupported claims, filler, semicolons, contrast
templates, missing images, and duplicate navigation. Run normal commit hooks.
6. Put browser evidence and any sample-data or untested caveat on the PR. Distinguish
rendered-document checks from testing the product operations themselves.

The guide is ready when a reader can complete the task without guessing and the
prose, screenshots, and product describe the same workflow.
8 changes: 8 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Documentation

Before writing or reviewing documentation, read and follow
`.agents/skills/writing-docs/SKILL.md`.

Keep the existing human voice. Include product screenshots for dashboard
workflows, use Mintlify components where they help the reader, and check the
rendered pages before opening or updating a PR.
10 changes: 9 additions & 1 deletion docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,17 @@
"group": "Getting started",
"pages": ["white-box-pentest/quickstart"]
},
{
"group": "Scan activity",
"pages": ["white-box-pentest/logs"]
},
{
"group": "After the scan",
"pages": ["white-box-pentest/retests"]
"pages": [
"white-box-pentest/findings-and-reports",
"white-box-pentest/retests",
"white-box-pentest/attestation-letters"
]
},
{
"group": "Credits and billing",
Expand Down
Binary file added images/whitebox_attestation_public.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/whitebox_findings_export.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/whitebox_report_contents.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/whitebox_retest_reports.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/whitebox_retest_result.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/whitebox_scan_logs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/whitebox_validation_activity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions white-box-pentest/attestation-letters.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
title: "Attestation letters"
description: "Request an attestation letter from Hacktron and share it with auditors or customers."
---

An attestation letter confirms the application assessed and the engagement
period. Share it with auditors or customers who need evidence of the pentest.

## Request a letter

[Contact us](mailto:hello@hacktron.ai) after your pentest to request an attestation
letter. Include your organization, application, and scan so our team can issue it.

## View, download, or share a letter

Once issued, open **Attestation letters** in the dashboard sidebar. Each letter
lists the customer, application, test type, engagement period, and issue date.

Open the letter's actions menu and choose:

- **Open** to view the letter
- **Copy link** to share it
- **Download PDF** to save a copy

<Warning>
Anyone with the shared link can view and download the letter without signing
in. Share it only with the people who need it.
</Warning>

## Example letter

The shared link opens a public page with the letter and a **Download PDF**
button. The example below uses sample data.

<Frame>
<img
src="/images/whitebox_attestation_public.png"
alt="Sample public attestation letter for Acme's Demo application, with engagement dates, scope, methodology, retest confirmation, signature, and verification QR code"
/>
</Frame>

For detailed findings and remediation evidence, [download a pentest
report](/white-box-pentest/findings-and-reports#download-a-report).
88 changes: 88 additions & 0 deletions white-box-pentest/findings-and-reports.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
---
title: "Findings and reports"
description: "Export pentest findings as CSV, SARIF, or JSON, or download a PDF report."
---

Open a completed scan in **Whitebox Scans**. Click **View findings** to review
its findings, or use **Download report** at the top of the scan page for a PDF.

## Export findings

<Steps>
<Step title="Choose the findings">
From the scan, click **View findings** to open the **Findings** page filtered
to that scan. Narrow the list with search or filters such as severity,
status, or repository.

Select checkboxes to export individual findings. Leave them unselected to
export matching findings across all pages.

</Step>
<Step title="Choose a format">
Click **Export**, or **Export N selected** if you selected rows, then choose:

- **Download CSV** for spreadsheets
- **Download SARIF** for tools that accept SARIF security results
- **Download JSON** for structured finding data

<Frame>
<img
src="/images/whitebox_findings_export.png"
alt="Findings Export menu with Download CSV, Download SARIF, and Download JSON options"
/>
</Frame>

</Step>
</Steps>

## Download a report

On the scan page, open **Download report** and choose:

- **Full Whitebox Report** for the detailed assessment and findings, including
technical evidence and recommendations
- **Executive Report** for a shorter report with the risk assessment, key
findings, and next steps

Both download as PDFs. The Executive Report is available for completed scans
with findings. If Hacktron needs to prepare its summary, the PDF downloads
when it's ready.

### Example report

The Full Whitebox Report's contents page links to each section and finding.
This example uses sample data.

<Frame>
<img
src="/images/whitebox_report_contents.png"
alt="Sample Full Whitebox Report contents with executive summary, scope, findings summary, methodology, severity rubric, individual findings, and limitations"
/>
</Frame>

## Reports after a retest

After Hacktron completes a [retest](/white-box-pentest/retests), **Download
report** has two groups:

- **Original scan**: the report as delivered before the retest
- **After retest**: the updated report with verification results

Choose a report under the group you need. Both updated reports include a retest
summary and updated risk rating. In the full report, fixed findings also have a
**Fix Note** alongside their original technical details.

<Frame>
<img
src="/images/whitebox_retest_reports.png"
alt="Download report menu with Original scan and After retest groups, each offering Full Whitebox Report and Executive Report"
/>
</Frame>

<Note>
Some older scans do not have a saved original report or executive summary. If
the original is unavailable, download the **After retest** edition instead.
</Note>

For a letter confirming the engagement, [contact us for an attestation
letter](/white-box-pentest/attestation-letters).
52 changes: 52 additions & 0 deletions white-box-pentest/logs.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
title: "Viewing pentest logs"
description: "Follow scan progress and inspect the agents' validation activity, including dynamic testing actions."
---

Open a scan in **Whitebox Scans** to follow a run or review its logs later.

## Scan timeline

Expand **Timeline** to see the scan phases, timing, and progress. Click a phase
for more detail. On completed scans, the timeline starts collapsed.

## Agent activity

Expand **Agents** to see the findings being checked. Click a finding for its
description and any dismissal reason.

Click **View validation activity** beside an agent to open its log. You can
follow its progress and click **Show findings** to see what it checked.

<Frame>
<img
src="/images/whitebox_scan_logs.png"
alt="Scan Timeline and Agents expanded, with View validation activity beside an agent"
/>
</Frame>

### Dynamic testing actions

For scans with dynamic testing, the log includes actions taken against your
deployed application.

1. Open **View validation activity** for the agent you want to inspect.
2. Expand the **steps** beneath an activity message to see the actions taken.
3. Expand an action to inspect its recorded details, such as a command and its
output or a browser interaction.

<Frame>
<img
src="/images/whitebox_validation_activity.png"
alt="Validation activity with a dynamic testing action expanded to show its details"
/>
</Frame>

Logs update while the agent runs. Retry attempts appear in the same window.

<Note>
Validation activity is available for scans with recorded activity logs.
</Note>

Once the scan finishes, [review and export its findings or download a
report](/white-box-pentest/findings-and-reports).
22 changes: 22 additions & 0 deletions white-box-pentest/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,28 @@ White-box Pentest is a good fit when you need:
Each scan includes **one free retest**. [Request a retest](/white-box-pentest/retests)
after fixing your findings to get an updated report.

## Logs and deliverables

<Columns cols={2}>
<Card title="Pentest logs" icon="list" href="/white-box-pentest/logs">
Follow scan progress and inspect dynamic testing actions.
</Card>
<Card
title="Findings and reports"
icon="file-lines"
href="/white-box-pentest/findings-and-reports"
>
Export findings or download original and post-retest reports.
</Card>
<Card
title="Attestation letters"
icon="file-signature"
href="/white-box-pentest/attestation-letters"
>
Request a letter to share with auditors or customers.
</Card>
</Columns>

## Run status

| Status | Meaning |
Expand Down
16 changes: 9 additions & 7 deletions white-box-pentest/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ On-premises deployments can select an enabled GitHub Enterprise Server repositor
2. Fill in **Auth instructions** with login steps, dedicated test credentials,
and how to confirm successful access. For a public site, state that no
login is required and describe the page that should load.
3. Click **Verify access**. Hacktron follows your instructions in a browser;
a live access preview lets you watch the attempt. Wait for the target to
show **Verified** before continuing.
3. Click **Verify access**. Watch the attempt in the live browser preview.
Wait for the target to show **Verified** before continuing.

Use **Add target** for another application. Each target needs its own domain
and instructions. With multiple targets, **Verify all** checks the targets
Expand Down Expand Up @@ -98,8 +97,10 @@ On-premises deployments can select an enabled GitHub Enterprise Server repositor

</Step>
<Step title="Track progress">
Watch the run status in the dashboard. When the scan completes, review
findings and export the output needed for remediation or audit evidence.
[View the pentest logs](/white-box-pentest/logs) to follow progress and inspect
dynamic testing actions. When the scan completes, [export findings or
download a report](/white-box-pentest/findings-and-reports) for remediation
or audit evidence.

<img src="/images/whitebox_track_progress.png" alt="Track scan progress and review findings in the dashboard" />

Expand Down Expand Up @@ -138,8 +139,9 @@ For a public target:

<Warning>
Auth instructions are shared with AI agents for testing. Use a test
environment and dedicated test accounts, not personal credentials or
production secrets. Revoke test credentials after the assessment.
environment and dedicated test accounts. Keep personal credentials and
production secrets out of these instructions. Revoke test credentials after
the assessment.
</Warning>

## Scope checklist
Expand Down
Loading
Loading