Skip to content

dsh-redteam 1.3.0

Latest

Choose a tag to compare

@sm0k3net sm0k3net released this 28 Nov 07:19
· 2 commits to main since this release

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