Skip to content
sm0k3net edited this page Nov 28, 2026 · 4 revisions

FAQ

Short answers to the questions that come up before and during a first engagement. Each answer is grounded in the plugin's code or the repository docs; environment-dependent claims say so.

Is it legal to use this?

Only against systems you own or have explicit written authorization to test. Unauthorized access is a criminal offense in most jurisdictions. Scope, RoE and approvals keep authorized work inside its authorization; they are not a license.

Which versions does it need?

DeepSeek Harness 0.2.2-rc.3 or newer and Node.js 20 or newer (22 recommended: the browser drawer needs the global WebSocket available from Node 21). CI runs the suite on Node 20 and 22. There are no npm runtime dependencies.

Is Docker required?

No. Docker powers the Kali toolbox; without it the plugin runs binaries already on the host PATH in a marked degraded mode. Installing and removing packages always needs the container, and apt never touches the host.

Are findings verified automatically?

Not implicitly. A finding's status (unverified, verified, exploited or reported) comes from stored evidence or an explicit operator action, never from a banner or model output. pentest_verify adds an explicit deterministic check for ten CWE families: it reads already-captured evidence, returns confirmed/refuted/inconclusive with named checks, and may lift unverified → verified — never to exploited.

What is the Team tab?

The delegation board. It shows the engagement plan, maxParallel, step and task budgets, the nine roles, status-grouped tasks with owners/focus/dependencies and the independent critic verdict. The agent remains the lead: it creates the plan, publishes native tasks when Agent Teams is enabled, spawns children and closes with the critic. Child agents' tool calls resolve to the root session, so the team shares one engagement and one store.

Can I retest a finding?

Yes. pentest_retest plans a replay from stored raw-HTTP or curl evidence; run sends one GET/HEAD/POST to an in-scope URL and requires confirm: true. The verdict is fixed, still-vulnerable or inconclusive, and the finding is never changed to exploited.

What is an OOB canary?

A local callback for SSRF, blind XXE and similar proof: pentest_oob returns /dsh-redteam/canary/<token>, the target calls it, and the plugin records the hit. The token is a bearer capability and is redacted from the panel, audit and bundles; canaries expire (60 minutes by default) and no external interactsh service is used. Set publicBaseUrl if the target reaches DSH through a proxy.

Can I export SARIF?

Yes. pentest_sarif writes SARIF 2.1.0 under redteam/reports/<session>/ with CWE rules, OWASP/WSTG tags, CVSS and stable fingerprints, and every bundle includes findings/findings.sarif. It is metadata only — no bodies or headers.

How do approvals work?

DEFAULT mode is the default; SAFE is opt-in (or defaultMode: safe for new engagements). In SAFE mode, exploitation, privesc, lateral, exfiltration, credential and credential_dump categories create a card showing the command, target, phase, rationale and impact. The operator approves once, approves for the phase, or denies; no answer within approvalTimeoutMs (5 min) expires the request and the call returns a denial.

What can the agent not do?

It cannot approve its own action, accept the RoE, switch modes or change scope — those are operator actions in the HTTP bridge, and the engine rejects them for any other actor. It also cannot lower a tool's category to dodge a gate, redirect out of scope, or act before an engagement exists. The doctrine refuses worm-like behavior, unapproved persistence and exfiltration beyond scope.

Where is everything stored?

Under $DSH_HOME/redteam/ (default ~/.dsh/redteam): sessions/, audit/, reports/, evidence/, artifacts/, wordlists/, bundles/ and archives/. OSINT keys live outside it in $DSH_HOME/osint-keys.env (0600). Directories are 0700, files 0600, JSON is written atomically and the audit file is append-only.

Is state per session or global?

Per session. Each chat session has its own engagement, graph, audit trail, evidence and reports. A second pentest_start_engagement in the same session is refused; use pentest_update_engagement. Two sessions means two separate engagements.

Can it work offline?

Mostly. Bundled wordlists, the methodology base, reports, evidence, the panel and the test suite need no network. OSINT, AI wordlists, the Kali image pull and apt installs need connectivity; Docker and Chromium are local processes.

What data leaves the machine?

Target traffic during testing (inside scope); the query and key to the OSINT provider you chose; the AI prompt to the Host model route, category and instruction only by default, context only with consent. There is no telemetry and no phone-home path.

Are API keys mandatory?

No. The plugin installs and runs without keys. A key is required by Shodan, VirusTotal, Hunter, HIBP, AbuseIPDB, SecurityTrails, Censys, FOFA, ZoomEye, DeHashed, Intelligence X, Snusbase, BreachDirectory and GitHub code search; the rest work keyless or at a lower rate. AI wordlists need a model route, not a key.

How are secrets stored?

First hit wins: DSH credential service, environment, $DSH_HOME/osint-keys.env (0600), then the plugin's keys object. Values never reach the page, tool output, audit trail or a report. Set keys in the OSINT drawer instead of committing them to a profile.

Are reports auditable?

Yes. Reports render from the stored graph, findings, approvals, runs and audit trail, never from model memory. Each report carries the engagement id and an audit appendix, marks itself draft before closure, and cites evidence by stored SHA-256.

Can I use custom wordlists?

Yes. Upload a .txt of up to 32 MB into a category, or place files in $DSH_HOME/redteam/wordlists/. pentest_resolve_wordlist returns the path the active runtime uses and pentest_wordlists lists everything with line counts. Bundled lists cannot be removed.

Which standards are bundled?

PTES phases, OWASP WSTG v4.2 (97 tests), OWASP Top 10 for Web, API, LLM and Mobile, NIST SP 800-115, CWE (62) and MITRE ATT&CK (57). pentest_methodology queries them and recommends tests for an asset type or technology.

Why PTES, and can I use another framework?

The phase engine is fixed to the nine PTES phases with one-step-forward gating and backtracking. There is no alternative engine, but WSTG, OWASP, CWE, ATT&CK and NIST are available as data for mapping findings. Changing gate order is a product decision, not a config option.

Can I use it headless, without the sidebar?

Agent tools work in any session and the bridge serves state and downloads without a rendered panel. But RoE acceptance, mode switching and approval resolution are operator actions reachable only through that bridge, so gated work needs a human at a UI (or an equivalent operator call).

Is there an HTTP API for automation?

The bridge registers /dsh-redteam/*: health, state, stream (SSE), action, report, wordlist, wordlist/upload, browser/screenshot, evidence/file and evidence/package. They are same-origin, method-allowlisted and body-capped. They exist for the panel; treat them as an internal contract, not a versioned public API. The one exception is /canary/<token>: it is intentionally unauthenticated because the target calls it, and it answers only a 1×1 PNG.

Does it support languages other than English?

The panel and reports ship in English and Russian; report language is independent of UI language. Code, comments and docs are English.

How do I reset an engagement?

Restart from scratch in Scope & RoE is the operator control. It archives the current state and artifacts under $DSH_HOME/redteam/archives/<session>/<engagement>-<timestamp>/, keeps the scope, client and accepted RoE, and starts a new engagement id with no findings, runs, reports, plan or team board. Stop is the softer option: it kills active runs, blocks the running phase and denies pending approvals but keeps findings and evidence. To erase a session completely, stop DSH and remove redteam/sessions/<session>.json plus its optional directories; prefer a new session for a new client.

What license applies?

MIT. Bundled wordlists are compact derivatives of SecLists (MIT) and its upstream corpora; the methodology data cites OWASP, NIST, MITRE and the PTES project. See LICENSE and docs/ATTRIBUTION.md.

How do I report a bug or a vulnerability?

Bugs and feature requests go to GitHub Issues; Discussions is not enabled. Security problems — scope bypass, approval bypass, audit tampering, credential leak, path traversal — go privately through SECURITY.md.

Related

Clone this wiki locally