Skip to content

Releases

dsh-redteam 1.3.0

Choose a tag to compare

@sm0k3net sm0k3net released this 28 Nov 07:19

dsh-redteam 1.3.0 — intelligence, expanded scope and engagement lifecycle

Released 2026-11-28 · previous release 1.2.0 · 51 agent tools · 39 OSINT connectors · 714 automated cases

1.3.0 turns the OSINT layer from a lookup drawer into an evidence pipeline, and gives the
engagement a lifecycle. Three new connectors (Team Cymru, Spamhaus ZEN, URLhaus) bring the
catalogue to 39; passive enrichment turns one in-scope target into a report-ready intelligence
model without touching it; the new OSINT tab renders only what was actually collected; a
discovery can extend the scope safely instead of stopping the engagement; exploitation becomes a
bounded, documented loop; and an engagement can be stopped or restarted from scratch without
losing the audit trail.

Nothing in this release changes the authorization model. The operator still accepts the Rules of
Engagement, defines the scope, switches the mode and resolves approvals — including every scope
proposal an agent produces. The agent still has no path to those actions.

Highlights

OSINT: 39 connectors, passive enrichment, standalone report

  • Three new connectors. Team Cymru IP-to-ASN (team-cymru, DNS TXT), Spamhaus ZEN
    (spamhaus, DNSBL) and URLhaus (urlhaus) cover origin AS/prefix and two reputation corpora
    at zero key cost. The catalogue is now 39 entries across recon, exposure, identity,
    vulnerabilities, exploits, breach/leak, dark-web and reference groups, each with its own
    documented limitation.
  • pentest_osint_enrich accepts one in-scope IP, CIDR, domain or hostname and returns ASN and
    announced prefix, country/city, ISP/organisation, reverse DNS, observed hostnames, related
    domains, certificate-transparency subdomains, third-party port observations, reputation and
    blacklist signals, per-source records, a fieldSources map and a heuristic confidence with its
    basis. It is passive by construction: it never scans, never opens a connection to the target and
    never invents a value a source did not return. Out-of-scope targets are refused unless the
    override is explicit; CIDR expansion is capped at 16 samples by default (256 hard) and IPv6
    blocks wider than /120 are refused instead of silently enumerated.
  • pentest_osint_report writes a standalone Markdown, HTML or JSON deliverable from stored
    facts only (lib/host/osint-report.js). Deterministic output, per-format escaping, scrubbed
    secrets and no overwrite of an existing file.
  • The OSINT tab. An eighth tab showing IP/CIDR/domain/hostname rows with identity fields,
    reputation, source badges and timestamps, graph connections and confidence. It renders the
    snapshot and the recorded facts; when there is nothing, it says so and names the next action.
  • Scope gates still win. Leak connectors need explicit approval, the allowlist and hourly
    budgets bound usage, onion fetch is opt-in and loopback-only, and enrichment honours the
    engine's scope when one is supplied.

Safe scope expansion

A recon or OSINT run routinely finds a host nobody listed. Instead of stopping, the agent calls
pentest_scope with target (plus the discovering fact/evidence):

  • inside an authorized target, CIDR or domain root → applied automatically and audited with
    its source;
  • outside every root → a pending proposal that only the operator can approve or reject in the
    Scope drawer;
  • exclusions and cloud-metadata endpoints always win, and the Rules of Engagement acceptance is
    never reset by an expansion.

lib/host/scope.js holds the pure planner (classifyScopeTarget, planScopeExpansion,
resolveScopeProposal, reconcileScopeExpansion), so the decision is testable without a store.

Exploitation as a bounded, evidenced loop

lib/host/exploitation.js and pentest_exploitation implement the loop documented in
docs/EXPLOITATION.md: identify candidate → capture baseline → run one
least-impact attempt → classify the real output → compare → change exactly one variable → retry,
pivot or derive a minimal custom proof → confirm once and link the evidence. Caps are enforced
(6 rounds by default, 12 maximum, 3 attempts per candidate, 5 maximum, 20 candidates), excerpts
are redacted and bounded, and delegate prepares exploit-researcher, exploit-operator and
independent-verifier role prompts with write scopes.

Engagement lifecycle

  • Stop kills active tool runs, interrupts tracked native agents, blocks the running phase and
    denies pending approvals — findings, evidence and the audit trail stay.
  • Restart from scratch archives the previous state and artifacts under
    $DSH_HOME/redteam/archives/<session>/<engagement>-<timestamp>/, keeps scope, client and RoE,
    and starts a new engagement id with no findings, tool runs, reports, plan or team board.
  • Launch agent asks the Host to start the native Red Team sub-agent from the panel. Starting
    an engagement requires an accepted RoE; the button reports the provider error instead of
    pretending an agent exists.

Reporting and panel

  • The HTML report is a findings-first brief. A verdict panel and severity mix replace the KPI
    wall; business issues link straight to their finding; supporting analysis (matrices, coverage
    detail, technical breakdowns) is collapsed on screen and expanded for print; findings carry
    F-01-style display ids and absolute in-report anchors; each finding has a technical details
    block with CVSS breakdown, mappings, reproduction and references.
  • Coverage wording is honest: "Phases accounted for" with executed and skipped-by-scope counts,
    in English and Russian.
  • The flow tab stacks below the layout threshold, so a narrow right sidebar shows readable
    sectioned cards with working links, focus and zoom instead of a shrinking topology.
  • Fixes that matter: SARIF no longer joins a bare external host onto the report root; the DOCX
    contents field no longer ships a "right-click and update" note inside the deliverable; the bundle
    CSV gains a display_id column; delegated agents keep the engagement root they were launched for
    (ctx.get('subagents') instead of an inject-guarded property read).

Upgrading from 1.2.0

Nothing to migrate — the store schema is unchanged and unknown fields still round-trip.

  1. Replace the plugin directory (or reinstall the bundle) and reload DSH.
  2. The health endpoint reports 1.3.0 / revision 2026-11-28.1; package.json is 1.3.0 and the
    internal design records stay excluded from the package.
  3. Optional: the three new connectors are keyless — nothing to configure. Set
    osint.approveLeakLookups, osint.enforceOsintScope or osint.enrichmentDelayMs if you rely
    on the leak/scope/delay gates.
  4. Reports generated before this release still render; the new HTML brief applies to newly
    generated reports.
  5. client.js is rebuilt from src-client/ — run node scripts/build-client.mjs if you edit the
    client fragments.

Verification summary

node scripts/build-client.mjs is deterministic (identical client.js SHA-256 across two
consecutive builds), node --check index.js and node --check client.js pass, and
node --test test/*.test.mjs reports 714 cases: 712 passing, 0 failing, 2 skipped.

The two skips are environment-dependent, not failures:

  • the opt-in live Docker check (REDTEAM_DOCKER_TEST=1, creates and removes a container);
  • the optional browser demo run, whose external demo target http://demo.testfire.net/ is
    unreachable from this host.

The suite grew from 632 cases in 1.2.0. New files: test/osint-enrich.test.mjs,
test/osint-report.test.mjs, test/exploitation.test.mjs, test/scope.test.mjs,
test/flow-osint-ui.test.mjs.

Known limitations

  • Keyless sources can be silent. Team Cymru, Spamhaus and URLhaus answer with DNS/HTTP only; a
    missing answer means "not observed here", never "clean". Public DNS resolvers are often blocked
    by Spamhaus and return 127.255.255.x.
  • Enrichment does not touch the target. Ports and hostnames come only from third-party data
    already collected, plus keyless DNS; there is no scan, so "no port" is not proof of a closed port.
  • CIDR sampling is bounded. A prefix larger than the cap is sampled and marked sampled; IPv6
    wider than /120 is refused by design.
  • Restart is destructive by intent. It archives rather than deletes, but the new engagement has
    no findings or tool history; the archive is a directory on disk, not a restorable engagement.
  • PDF/DOCX fidelity depends on the embedded DejaVu fonts; complex scripts outside Latin and
    Cyrillic are not shaped.
  • The browser and Docker checks are environment-gated and therefore skipped on a host without
    Chromium or Docker.
  • Counts elsewhere still move. The public website (website/) is maintained separately and is
    not part of this release bump.

Documentation

dsh-redteam 1.2.0

Choose a tag to compare

@sm0k3net sm0k3net released this 27 Nov 19:38

dsh-redteam 1.2.0 — assurance, team and hand-off

Released 2026-11-27 · previous release 1.1.1 · 48 agent tools · 632 automated cases

1.2.0 is the release that makes the work provable and delegable. Findings can be checked
deterministically against evidence the engagement already captured; accounts and their reach can
be mapped; blind callbacks can be proven with a local canary; findings can leave the plugin as
SARIF and a fix can be verified with a bounded retest. A budgeted plan, a deterministic critic and
a nine-role team board turn a single agent into a lead that delegates without losing the store.

Nothing in this release changes the authorization model: the operator still accepts the Rules of
Engagement, switches the mode and resolves approvals, and the agent still has no path to those
actions.

Highlights

Assurance and verification

  • pentest_verify runs deterministic, evidence-only rules for CWE-78, 79, 89, 22, 352, 319,
    693, 200, 918 and 601. It returns confirmed, refuted or inconclusive with named checks,
    confidence and the proof that is missing. It never sends a request and cannot set a finding to
    exploited; apply: true may only lift unverified to verified on a confirmed verdict. The
    last five results stay on the finding, and every report format renders them.
  • pentest_identity records the accounts an engagement can act as — role, auth kind, MFA,
    privileges and per-asset access — then derives an account × asset matrix and deterministic gaps:
    no MFA, admin without need, account without access, untested asset. Secrets are never stored.
  • pentest_oob creates a local callback URL (/dsh-redteam/canary/<token>) for SSRF, XXE and
    blind-injection proof. The target calls it; the route answers a 1×1 PNG and records the hit with
    per-token rate limiting, dedupe, TTL and caps. Tokens are bearer capabilities and are redacted
    from the panel, the audit tail and every bundle.
  • pentest_retest plans a replay from stored raw-HTTP or curl evidence, then — only with
    confirm: true and an in-scope URL — sends one GET, HEAD or POST. Destructive paths are refused,
    credential headers are redacted in the lifecycle record, and the verdict is fixed,
    still-vulnerable or inconclusive. A retest never marks a finding as exploited.

Team and planning

  • pentest_plan stores one plan with an objective, steps, dependencies, maxParallel and
    tool/token/minute budgets. Step transitions are validated, every tool call except
    pentest_plan itself consumes budget, and the deterministic critic returns
    pass/warn/block with checks and a score.
  • pentest_team adds nine roles (lead, recon, network, web-api, exploitation, privesc-ad,
    cloud, evidence-qc, reporting) and a dependency-ordered board with owners, focus agents, write
    scopes, per-task budgets and focus/reassign/handoff. prompt emits a complete native subagent
    prompt; publish: true creates real DSH Agent Teams tasks when that mode is enabled.
  • New Team tab in the panel: plan, steps, roles, grouped tasks, budgets, critic verdict and a
    copy/download delegation prompt, in English and Russian.
  • Delegated agents share the engagement. A pentest_* call from a child agent resolves to the
    root session, so the team works one store, one plan and one evidence vault.

Reporting and hand-off

  • SARIF 2.1.0 via pentest_sarif: one rule per CWE with OWASP/WSTG tags, the CVSS score
    and vector in result properties and stable fingerprints; metadata only, capped at 1000 results.
    Every bundle now contains findings/findings.sarif next to the CSV and JSON.
  • Validation in every format. Markdown, HTML, PDF and DOCX findings show the deterministic
    verdict, confidence and checks. Document-control defaults no longer look like real client data
    (they say "Not recorded").
  • OOB-safe bundles. Canary tokens and callback URLs are stripped from the state and audit
    copies inside the archive.

Upgrading from 1.1.x

There is no data migration. Existing engagement files keep working: the new surfaces are
optional sub-objects (plan, team, identityMatrix, oob, retests) that are created lazily
the first time you use them, and finding.meta.validation / finding.meta.retest are additive.
Old reports render unchanged; findings without validation simply have no validation block.

  • Configuration: one new optional key, publicBaseUrl, sets the origin used in OOB canary URLs
    when DSH is reached through a proxy or another hostname. Empty (the default) uses the live Web
    server origin.
  • Behaviour changes: child-agent tool calls now resolve to the root session; the health
    endpoint reports 1.2.0 / revision 2026-11-27.6; the bundle gains
    findings/findings.sarif; default report contact/website fields say "Not recorded".
  • Package contents: the internal docs/ROADMAP-MODULES.md design record is excluded from the
    published package, like docs/CAPABILITY-REVIEW.md.
  • Upgrade route: rebuild/reinstall the plugin directory or tarball as usual, then reload the
    page. If you use the report bundle in CI, note the additional SARIF entry — the manifest still
    lists every file with its SHA-256.

Verification summary

  • node scripts/build-client.mjs — client rebuilt from src-client/; client.js is byte-identical
    on a second build (SHA-256 bc4e47dd…).
  • node --check index.js and node --check client.js — both pass.
  • node --test test/*.test.mjs — 632 cases, 631 passing, 0 failing, 1 skipped (the opt-in live
    Docker check; set REDTEAM_DOCKER_TEST=1 to run it). Duration under 10 s on the release host.
  • 48 pentest_* tools registered (41 in 1.1.1; 7 new in this release).

Known limitations

  • Agent Teams is optional. publish: true needs DSH Agent Teams enabled; without it the local
    board is still saved and the result carries a warning.
  • OOB reachability is your network problem. The canary only fires if the target can reach the
    DSH Web origin; behind NAT or a proxy, set publicBaseUrl and use a reachable hostname. No
    external interactsh/webhook provider is used by default.
  • Verification covers ten CWE families. Anything else returns an inconclusive fallback; the
    tool verifies stored evidence, it does not discover new issues.
  • Retest is intentionally narrow. GET/HEAD/POST over HTTP(S), one request per run, no
    destructive paths; it is not a general replay engine.
  • SARIF is metadata only. No request/response bodies, headers or tool output are exported, and
    the log is capped at 1000 results.
  • The planner is advisory. It records and reports budgets, it does not stop tools by itself;
    the orchestrator (agent or operator) is responsible for respecting the plan.
  • The identity matrix is not an exploitation tool. It records and maps access; it does not
    test credentials or perform lateral movement on its own.

Documentation

  • docs/TOOLS.md — full parameter tables for all seven new tools.
  • docs/USER-GUIDE.md — the Team tab and the assurance workflows.
  • docs/ARCHITECTURE.md — the seven new modules, snapshot fields, canary route and invariants.
  • docs/SAFETY.md — OOB, identity and retest constraints.
  • docs/CONFIGURATION.md — publicBaseUrl.
  • wiki/Release-Notes-1.2.0.md — the same announcement in wiki form.

dsh-redteam 1.1.1

Choose a tag to compare

@sm0k3net sm0k3net released this 27 Nov 17:01

dsh-redteam 1.1.1

Patch release on 1.1.0. No new
surfaces and no breaking changes — this is the "never hand a client two final reports" release.

Fixed

  • One final report set per completed engagement. pentest_report on a completed engagement
    now reuses the existing final file instead of minting a second set, reports reused, and takes
    force: true when you really want a new one. The Report drawer demotes generation to a download
    chip after completion, so the completion card keeps the single primary action.
  • Evidence links on findings are validated. pentest_add_finding accepts evidenceIds; ids
    that are not in the vault come back in missingEvidenceIds with a warning instead of being
    dropped, and linked ids are returned in the tool result.
  • DOCX document control no longer shows placeholders. Real names, classification, distribution
    and the engagement id replace [COMPANY NAME]-style tokens, and the evidence register lists
    friendly finding ids rather than raw graph node ids.
  • Coverage counts normalise mixed WSTG/OWASP id shapes, so the dashboard stays correct for
    findings recorded by different tools, imports or older engagements.
  • Flow graph stays readable in narrow panes. Below 420 px the two-column reading view scales
    so the Goal/Intent pair remains fully visible; Fit still reaches every column.

Verification

498 node:test cases: 496 passing, 2 environment-dependent skips (the opt-in Docker test and a
live-browser test that needs an external demo target). client.js rebuilds byte-identically and CI
runs the suite on Node 20 and 22.

Upgrade

git pull in the checkout and refresh the DSH page; Host-side changes need a DSH restart. No data
migration — engagements, evidence and reports keep their format.

Use only against systems you are authorized to test.

dsh-redteam 1.1.0

Choose a tag to compare

@sm0k3net sm0k3net released this 27 Nov 16:14

dsh-redteam 1.1.0

A reporting and hand-off release. DOCX deliverables and screenshot-rich HTML, a one-archive
project export, an AI-assisted scope draft, a target-topology view and a rebuilt report design —
plus a changed first-install security default that operators should read before upgrading.

Requires DeepSeek Harness 0.2.2-rc.3 or newer. Node 20 minimum, 22 recommended (the browser
needs Node 21+). No npm dependencies. MIT.

Highlights

Deliverables a client can actually use

  • DOCX reports. pentest_report, pentest_complete_engagement and pentest_export_bundle
    accept docx. The dependency-free writer produces a real WordprocessingML package: cover and
    document control, a Word TOC field, heading and table styles, A4 pages, PAGE/NUMPAGES
    headers/footers, repeating register headers and captioned evidence screenshots. Reports render
    in Markdown, HTML, JSON, PDF, DOCX and Markdown slides, in English and Russian.
  • Screenshots inside HTML and DOCX. Evidence vault screenshots are embedded inline, bounded
    to 24 images, so a single HTML file or Word document is a complete deliverable. Files outside
    the session's evidence directory are never read.
  • pentest_export_bundle. One deterministic ZIP with every artefact:
    reports/ (any format subset), evidence/<kind>/, findings/findings.csv and .json,
    state/engagement.json, state/report-model.json, state/audit.jsonl,
    state/tool-runs.json, state/commands.txt, process/engagement-process.md (internal
    timeline), plus manifest.json, README.txt and sha256sums.txt. Written to
    $DSH_HOME/redteam/bundles/<session>/, recorded in the audit trail, and exposed as
    Export bundle (ZIP) in the Report tab.

Faster, better-evidenced work

  • pentest_nuclei. Scoped, rate-limited Nuclei template scans (5–150 req/s); JSONL matches
    become a fact plus structured template results. Invalid filters are refused before execution.
    The Kali catalogue is now 47 tools: the 31 from 1.0 plus katana, gau (getallurls),
    gospider, hakrawler, naabu, paramspider, wpscan, certipy, bloodhound-python,
    enum4linux-ng, evil-winrm, ldapsearch, smbclient, rpcclient, mitmproxy and
    bettercap. Nuclei template install/list metadata is documented.
  • Offensive-skills library (pentest_skills). Auditable playbooks with phase, objective,
    prerequisites, steps, tools, evidence requirements, stop conditions, safe wording and validated
    ATT&CK/WSTG references. Actions list/get/recommend; the library never runs a tool or creates a
    finding. The snapshot carries recommendations for the live engagement.
  • AI scope draft. Describe the authorized scope once; the Host model route returns a strict
    JSON draft with names, targets, CIDRs, domains, exclusions, assumptions and a confidence score.
    The reply is re-validated locally, metadata endpoints and embedded credentials are removed, and
    nothing is applied until the operator saves. The prompt is the only thing sent.
  • Target topology. The Assets tab maps targets, assets, services and findings with their
    hosts / runs_on / identifies / proves edges in a pannable, zoomable SVG view with
    keyboard focus, bounded to 120 nodes and 200 edges.
  • Wider OSINT layer (36 services). New recon, exposure, identity, breach/leak and dark-web
    connectors, with an osintAllowlist, explicit approveLeakLookups, hourly leak/dark-web
    budgets, enableOnionFetch off by default and a loopback-only Tor proxy. Leak results are
    metadata-only, illegal query categories are refused locally and audit events use a salted
    subject hash rather than the query.
  • Stronger verification rule. A finding recorded as verified or exploited must carry
    evidence, a tool run, evidence ids or a validation record; otherwise it is stored and reported
    as unverified, with an explicit message.

Report design

The generated report now opens with document control and contents, then an executive dashboard:
risk index, severity mix, phase coverage, WSTG coverage, findings-with-evidence coverage and the
recorded attack path. Finding cards add a CVSS base-metric breakdown, observation/impact/detection/
reproduction fields, remediation priority and a recommended SLA, plus a retest/closure register
and explicit limitations. The risk index and SLAs are labelled as triage aids, not CVSS scores or
client-agreed terms. HTML is self-contained, responsive, theme-aware and print-first; DOCX carries
the same model into Word.

Interface

The Flow canvas was rebuilt: deterministic orthogonal edges on an 8 px grid, fixed type columns,
per-column collapse above eight cards, a bottom rail for back edges and a colour-independent
status/phase language. The tab strip gained roving-focus keyboard navigation, and a compact
progress/status strip replaces the old banners.

Fixes worth naming

  • Bundle names no longer collide between Markdown narrative and Markdown slides (*.slides.md).
  • Findings CSV accepts both string and array forms of OWASP/WSTG/evidence references.
  • Evidence links survive snapshot clipping, so reports show proof attached to findings.
  • API discovery reports a real network failure instead of an empty inventory; loopback spec
    servers are aligned to the discovered origin.
  • Browser automation dismisses blocking JavaScript dialogs (configurable) and retries a timed-out
    snapshot once. Docker-runtime tool targets of localhost/127.0.0.0/8/::1 are refused with a
    localized explanation, because the container cannot reach Host loopback.

Upgrade note from 1.0.0

The first-install mode changed to default; SAFE is now opt-in. A new engagement runs the
full PTES chain inside the accepted RoE unless the operator selects SAFE. If an installation
relied on the 1.0 approval gate, set this before upgrading:

config:
  defaultMode: safe

Stored engagements keep their own mode. browser.autoDismissDialogs defaults to true;
scopeAI can override the aiEnhancement model route for scope drafts only.

There is no data migration: the state schema is unchanged, and new fields (state.bundle,
report metrics) are additive.

Formats and artefacts

Format Extension Images Notes
Markdown .md — portable review copy
HTML .html embedded PNG/JPEG/WebP screenshots single self-contained file, print-first
JSON .json — full report model
PDF .pdf — embedded TrueType font, Latin + Cyrillic
DOCX .docx embedded PNG screenshots Word TOC field, headers/footers
Slides .slides.md — Markdown deck outline
Bundle .zip as stored reports + evidence + findings + state + manifest + sums

Verification

  • node scripts/build-client.mjs succeeds and is idempotent; node --check index.js and
    node --check client.js pass.
  • node --test test/*.test.mjs: 485 tests, 484 passing, 0 failing, 1 skipped on a networked
    workstation (the opt-in live Docker check, REDTEAM_DOCKER_TEST=1). CI additionally skips one
    browser end-to-end test when its external demo target (demo.testfire.net) is unreachable.
  • New suites cover DOCX structure and XML escaping, image embedding, HTML data-URI gallery, bundle
    layout/manifest/sums/determinism, scope-AI validation and refusal paths, topology model and
    layout, and the skills library (filters, recommendations, ATT&CK/WSTG reference resolution).
  • The full test totals were measured on 2026-11-27 against the v1.1.0 tag.

Known limitations

  • The AI scope draft needs a configured Host model route; without one it returns a clear
    "no usable model route" result and the manual scope form works as before.
  • DOCX embeds PNG screenshots only (up to 24); other image formats are skipped in Word. PDF does
    not embed images by design; the HTML gallery is the image-rich format.
  • Word populates the TOC field when the document is opened (or on F9); the plugin does not
    precompute page numbers.
  • The bundle is written to the Host filesystem and its path is returned; there is no browser
    download route for the ZIP (individual reports and evidence files keep their existing routes).
  • Docker-dependent live checks are opt-in and were not run in this verification pass; the
    non-Docker suite is green.
  • The report risk index is an additive triage aid (critical 25, high 15, medium 8, low 3, info 1,
    capped at 100), not a CVSS replacement.

dsh-redteam 1.0.0

Choose a tag to compare

@sm0k3net sm0k3net released this 27 Nov 11:08

Red Team workbench for DeepSeek Harness — PTES engagement engine, live attack graph, Kali toolbox, browser and API testing, evidence vault and English/Russian reporting in the native sidebar.

Install

git clone https://github.com/sm0k3net/dsh-redteam.git
cd dsh-redteam
dsh plugin --profile web add "$PWD"

Highlights

  • 38 pentest_* agent tools with RoE, scope and Safe-mode approval gates
  • Operator-only RoE acceptance, mode switch and approval resolution
  • Hardened plugin-owned Kali container, plus a clearly marked degraded host mode
  • Real Chromium sessions, bounded HTTP assessment, API discovery and controlled fuzzing
  • Immutable, SHA-256 evidence vault and ZIP hand-off packages
  • Reports in Markdown, HTML, JSON, PDF and slides, in English and Russian
  • No runtime dependencies; 361 tests, CI green

Documentation

Full changelog

First public release. dsh-redteam is a complete Red Team workbench for DeepSeek Harness:
38 agent tools, a native right-sidebar panel, scope and approval enforcement, a Kali toolbox, a
real browser, API testing, an evidence vault and multi-format reporting — with no runtime
dependencies.

Added

Engagement engine and graph

  • PTES phase engine over nine phases with one-step-forward gating, free backtracking, per-phase
    tools and workers, and mandatory reasons for skipped or blocked phases.
  • Engagement store per DSH session under $DSH_HOME/redteam/, atomic JSON writes and an
    append-only JSONL audit trail.
  • Goal → Intent → Fact → Finding → Asset graph with spawns, yields, derived_from, proves
    and parent edges, rendered live and inspectable down to the tool run behind a node.
  • Completion checklist: every non-reporting phase must be done or skipped with a reason before an
    engagement can be closed.

Authorization and safety

  • Rules of Engagement acceptance, scope editing and mode switching are operator-only actions
    enforced in the Host; the agent has no path to them.
  • Safe mode by default: exploitation, privesc, lateral, exfiltration, credential and
    credential_dump categories block on an approval card with approve-once, approve-for-phase and
    deny outcomes, and an expiry.
  • Category escalation is one-way: a caller may raise a tool's severity class, never lower it.
  • Scope validation for execution, browser navigation, HTTP, API discovery/requests/fuzzing and
    OSINT, with exclusions winning, overlapping CIDR exclusions refused, and cloud metadata
    endpoints always blocked.
  • Browser navigation restricted to http(s), with top-level document requests intercepted so a
    redirect cannot leave scope.

Execution

  • Plugin-owned dsh-redteam-kali container created hardened: all capabilities dropped, only
    NET_RAW, NET_ADMIN and the seven apt/dpkg capabilities added back, no-new-privileges,
    --init, PID limit, restart policy and a dsh.redteam=1 label.
  • Curated catalogue of 31 security tools plus apt-cache search, install and remove inside the
    container; the host is never touched by apt.
  • Degraded host mode with an explicit runtime badge when Docker is unavailable.
  • Safe process handling: argv arrays, no shell interpolation, output caps, timeouts, and a kill
    control for runaway runs.

Web and API testing

  • Isolated Chromium sessions over the DevTools protocol: navigate, DOM/form/link/script snapshot,
    click, fill, submit, keys, eval, screenshots, cookies, storage, network and console — each
    session a separate process with a temporary profile.
  • pentest_web_assess: headers, cookie flags, form/CSRF heuristics, technology and endpoint
    extraction, and safe probes for exposed .git/HEAD, .env and /server-status, mapped to WSTG
    and OWASP with the exact evidence.
  • API discovery from OpenAPI/Swagger, GraphQL introspection, browser-observed traffic, JavaScript
    bundles and a bounded path probe; endpoints become assets.
  • Single scoped API requests with manual redirects, body caps and credential redaction.
  • Controlled fuzzing for nine payload categories across query, path, body and header locations,
    with rate limiting, bounded concurrency and anomaly detection against a benign baseline.

Knowledge

  • Bundled methodology data: PTES, 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 techniques), queryable by the agent.
  • Nineteen OSINT connectors with key resolution through the DSH credential service, the
    environment or a 0600 env file; results become facts, keys never leave the Host.

Wordlists

  • Eight bundled compact categories (directories, DNS, passwords, usernames, LFI, SQLi, XSS, API
    endpoints) derived from SecLists, plus operator uploads and per-runtime path resolution.
  • AI-enhanced wordlists through the Host model route with a consent gate for engagement context,
    strict validation, deduplication, hit/miss feedback and local adaptation from real tool output.

Evidence and reporting

  • Immutable evidence vault: SHA-256 per record, session manifest plus append-only JSONL, redaction
    of authorization/cookie/token values, per-file download and a ZIP package with manifest.json,
    README.txt and sha256sums.txt.
  • Automatic capture of tool output, browser screenshots, HTTP exchanges, API inventories, web
    assessments and OSINT results, linked to the nodes they prove.
  • Reports in Markdown, self-contained HTML, JSON, PDF (dependency-free writer with an embedded
    TrueType font, Latin and Cyrillic) and a Markdown slide outline; English and Russian; evidence
    register and audit appendix; draft marking until closure.

Panel

  • Native right-sidebar tab with six tabs (Flow, Activity, Findings, Assets, Report, Audit) and nine
    drawers (Scope & RoE, Tool manager, Wordlists, OSINT, Web test, API test, Evidence, Approvals).
  • Light, dark and system themes from Host tokens, English and Russian UI, accessible modals, error
    boundaries per tab, and layouts verified at 820 px and 430 px.

Quality

  • 361 node:test cases covering the store, engine gates, tool schemas, wordlists and AI
    generation, OSINT normalization, methodology data, evidence, report formats and the PDF writer,
    client widgets and browser flows; one opt-in live Docker test.
  • CI that rebuilds the client artifact and fails on drift, syntax-checks both entries and runs the
    suite on Node 20 and 22.

Security

  • Path guards on every file the HTTP bridge serves or accepts, resolved with realpath and
    confined to the plugin's own directories.
  • Bounded bodies, bounded errors, method allowlists per route and an Origin/Host check for
    mutations.
  • Credential, token and cookie values redacted from tool output, HTTP results, evidence text and
    audit records.

Use only against systems you are authorized to test.