CI / contracts (push) Canceled after 0s
Website / deploy (push) Canceled after 0s
CI / test (macos-latest) (push) Canceled after 0s
CI / test (ubuntu-24.04) (push) Canceled after 0s
CI / test (ubuntu-24.04-arm) (push) Canceled after 0s
CI / test (windows-latest) (push) Canceled after 0s
CI / Compact real-tool fixtures (ubuntu-24.04) (push) Canceled after 0s
CI / Compact real-tool fixtures (ubuntu-24.04-arm) (push) Canceled after 0s
CI / Code analysis fixtures (ubuntu-24.04) (push) Canceled after 0s
CI / Code analysis fixtures (ubuntu-24.04-arm) (push) Canceled after 0s
CI / Web engine fixtures (ubuntu-24.04) (push) Canceled after 0s
CI / Web engine fixtures (ubuntu-24.04-arm) (push) Canceled after 0s
CI / Chromium operation fixtures (ubuntu-24.04) (push) Canceled after 0s
CI / Chromium operation fixtures (ubuntu-24.04-arm) (push) Canceled after 0s
CI / operation-readiness (push) Canceled after 0s
CI / Supply chain fixtures (ubuntu-24.04) (push) Canceled after 0s
CI / Supply chain fixtures (ubuntu-24.04-arm) (push) Canceled after 0s
338 lines
22 KiB
Markdown
338 lines
22 KiB
Markdown
# CYBOT handover
|
|
|
|
Updated 2026-11-01 (Asia/Kolkata). Read this before continuing release work.
|
|
|
|
## Current outcome
|
|
|
|
CYBOT has a public repository and product website. It is a **public preview**,
|
|
not a certified stable release. The full release gate remains blocked. Do not
|
|
create a stable tag or describe all tools as production ready from green CI alone.
|
|
|
|
- Repository: https://github.com/s41r4j/cybot
|
|
- Website: https://s41r4j.github.io/cybot/
|
|
- Local checkout: `/Users/s41r4j/Documents/Codes/Go/Cybot`
|
|
- Main working branch: `codex/public-release`, published to `origin/main`.
|
|
- The user subsequently requested a single initial commit. Public main is
|
|
replaced with one parentless commit containing the complete latest source,
|
|
documentation and website. The old public TLS branch is removed after its
|
|
changes are saved as `release/wip/tls-validation.patch`. Historical revision
|
|
labels below identify retained CI evidence, not current reachable Git history.
|
|
Read the actual new revision with `git log -1`; do not push old local branches.
|
|
- Latest functional CI before this documentation/site wrap-up: `7bd35df`,
|
|
[run 41221377123](https://github.com/s41r4j/cybot/actions/runs/41221377123),
|
|
completed successfully. All four source platforms, contracts, and five
|
|
runtime profiles on both Linux architectures passed their jobs.
|
|
- Latest **imported** functional evidence: `2fdc975`, certifying 24 tools and
|
|
27 capabilities at that source checkpoint. Later CI artifacts have not yet
|
|
replaced `release/validation/` or the website's retained checkpoint.
|
|
- Whole-product requirement: **84 tools and 71 capabilities**. Keep this baseline.
|
|
|
|
## User decisions and scope
|
|
|
|
The user chose MIT for CYBOT's own code, authorized a public `s41r4j/cybot`
|
|
repository and website, and requested complete tool/capability coverage. They
|
|
have no Windows, Active Directory or account-level cloud labs and explicitly
|
|
deferred those environment tests. Keep their entries in the inventory and the
|
|
full-release gate; do not ask for the same labs again or claim they passed.
|
|
|
|
The wrap-up instruction was to preserve detailed useful context and make the
|
|
website a professional product site showing only available tools. The follow-up
|
|
requests removing the hero status pill, using multiple pages with README details,
|
|
and replacing the public history with one initial commit.
|
|
The website retains the supplied CYBOT logo and sage/forest theme. Unvalidated
|
|
tool cards have been removed from its displayed catalog. The complete source
|
|
inventory remains intact. Em and en dashes have been removed from website copy
|
|
and assets. This wrap-up does not merge the unfinished TLS integration.
|
|
|
|
## Status of the six repair areas
|
|
|
|
| Area | Completed implementation and checks | Remaining work |
|
|
| --- | --- | --- |
|
|
| 1. Scope binding | Execution targets follow capability kind. URLs, hostnames, IPs and typed host/interface inputs cannot become filesystem mounts. Explicit `local://HOST` and `interface://IFACE` operations require approval. Browser sessions are anonymous and isolated, restricted to the requested hostname, with explicit approval for bounded interactions. Unimplemented operations fail explicitly. Windows source checks pass. | Real operation evidence for specialist adapters. Several catalog operations still provide only enumeration, startup or status. Those are not complete workflows. |
|
|
| 2. Scanner failures | Validated complete JSON or contiguous complete JSONL records survive nonzero exits and interruptions, with incomplete status and captured/retained byte/hash metadata. Malformed prefixes stop recovery. No fabricated closing JSON. Failed/skipped stages cannot supply downstream inputs. Unknown confidence is not promoted to 100%. Real Nuclei cancellation retains an earlier match. | Extend real positive/negative/failure fixtures to every remaining engine. Requalify changed runtime artifacts. TLS WIP has a separate cancellation limitation below. |
|
|
| 3. Heuristic findings | URL classification emits investigation candidates, not vulnerability findings. Finding review requires seven explicit operator assertions and hash-verified stored evidence. Prose alone stays unverified. | Independent review is still required. Operator assertions do not establish exploitability. |
|
|
| 4. Toolchain and dependencies | Go 1.26.10 pinned. Patched Go dependencies, measured operational SDK binaries, source/binary audits, five-ecosystem package controls, Debian 13 migration, rebuilt Git LFS, and twelve version-preserving Go recipes are implemented. | Final artifact security remains blocked by retained advisory matches, unknown/native component coverage and provenance gaps. See priorities below. |
|
|
| 5. Distribution | Public repository/Pages, strict release gate, immutable image pull/validation and pins, checksummed compact-core backup/restore on both Linux architectures. | Complete successful release publishing, clean-machine installation, whole-catalog operation certificates, and clear source-bound artifact audits. No stable release or stable container publication is claimed. |
|
|
| 6. Publication hygiene | MIT, SECURITY policy, third-party notices, corrected Nmap NPSL attribution, allowlisted source export, isolated public Git history, official secret-scanner bootstrap and regression controls. | Refresh scans and license review for each release; add TLS package/data notices if integrating the WIP. Preserve third-party license terms. |
|
|
|
|
## Evidence: what is and is not certified
|
|
|
|
`release/validation/` holds checksummed reports imported from
|
|
[run 41170012156](https://github.com/s41r4j/cybot/actions/runs/41170012156)
|
|
at `2fdc975`: 102 operation records across two architectures, representing
|
|
24 unique tools and 27 unique capabilities. Positive, negative and failure
|
|
controls ran in all five Linux profiles. Compact-core image backup/restore
|
|
also passed on both architectures. All ten full image audits completed, but
|
|
all remained blocked. A workflow can succeed because audit steps deliberately
|
|
retain findings with `continue-on-error`; success is not security clearance.
|
|
|
|
The historical reports do not certify changed source or newer package versions.
|
|
For example, the website correctly labels Nmap's tested version as 7.93 even
|
|
though the newer catalog/build uses 7.95. Do not substitute a catalog version
|
|
for a measured version. `release/readiness.json` and `website/readiness.json`
|
|
are retained historical gate snapshots, not evidence that HEAD is certified.
|
|
|
|
Recent CI context:
|
|
|
|
- `699261c`, [run 41216451527](https://github.com/s41r4j/cybot/actions/runs/41216451527):
|
|
Debian 13 candidate exposed runtime HOME traversal and a legacy secret-rule
|
|
false positive. Browser operation jobs passed; other affected jobs failed.
|
|
- `a56b2c4` fixes `/home/cybot` parent traversal for the host UID while keeping
|
|
ephemeral runtime cache/config mounts user owned.
|
|
- `87dda85`, [run 41217461350](https://github.com/s41r4j/cybot/actions/runs/41217461350):
|
|
source/contracts and all other runtime jobs passed; analysis ARM64 preparation
|
|
failed with external `Network is unreachable`. No full checkpoint imported.
|
|
- `4881827` preserves canonical upstream version/checksum identity in twelve
|
|
rebuilt tools. `7bd35df` includes that repair and the old site's anchor fix.
|
|
- `7bd35df`, [run 41221377123](https://github.com/s41r4j/cybot/actions/runs/41221377123):
|
|
**all jobs passed**. Download and inspect its operation and artifact-audit
|
|
reports next. Do not infer clear audits from the green job summary. This
|
|
handover intentionally does not overwrite imported evidence during wrap-up.
|
|
- This documentation/site commit will trigger fresh CI. Inspect GitHub's
|
|
latest main run rather than treating the statuses above as perpetual.
|
|
|
|
## Important implementation details already completed
|
|
|
|
### Real operations
|
|
|
|
- CORScanner 0.9.7 uses a pinned upstream library, sequential target execution,
|
|
strict structured output, verified TLS, no redirects or ambient credentials,
|
|
offline suffix data and explicit transport/HTTP errors. Loopback CORS,
|
|
trusted/untrusted TLS, redirect and header-only controls passed on both arches.
|
|
- Dirsearch 0.5.0 exposes its selected sequential API through a bounded wrapper.
|
|
It enforces one origin/base path, verified TLS, no redirects, 1 MiB responses,
|
|
a 10,000-entry wordlist ceiling and 10 requests/second. Structured completion
|
|
determines completeness; prior responses survive errors. Upstream CLI
|
|
recursion/authentication options are not exposed. FFUF, Gobuster and Dirsearch
|
|
all have real operation controls for the shared capability.
|
|
- Agent Browser 0.40.0 and pinned Chromium support page/snapshot/request capture
|
|
and at most 16 explicit click/wait actions. No arbitrary JavaScript,
|
|
authentication state, fill/upload or persistent host browser sessions.
|
|
Owned sessions close after use. Interaction approval is required even under
|
|
advisory policy. Real clicks and isolation/TLS controls passed on both arches.
|
|
- WhatWeb/WAFW00F exact-input patches enable TLS verification; real positive,
|
|
negative, failure, trust and redirect controls passed. Do not generalize that
|
|
evidence to other scanners.
|
|
|
|
### Build identities and security reporting
|
|
|
|
Four profiles use checksum-pinned Debian 13; analysis retains its pinned
|
|
Semgrep/Alpine base. Locks contain exact versions, index checksums and identities.
|
|
Do not introduce cross-release packages to make an audit look clear.
|
|
|
|
`docker/toolbox/patched-go/manifest.json` and per-tool `go.mod`/`go.sum` files
|
|
drive versioned builds for dnsx, httpx, katana, ffuf, gitleaks, subfinder, gosec,
|
|
naabu, syft, trivy, trufflehog and git-lfs. The recipe verifies actual upstream
|
|
module/version/h1 checksum and compiler using `go version -m`, binds provenance
|
|
to binary SHA-256, and keeps patched transitive dependencies locked. Never
|
|
revert to `(devel)` merely to hide an advisory. Linux ARM64 diagnostics built
|
|
all twelve, and Syft recognized canonical package/version identities.
|
|
|
|
Git LFS 3.8.1 is rebuilt with patched networking dependencies and replaces the
|
|
actual `/usr/bin/git-lfs`, rather than shadowing an old vulnerable executable
|
|
on PATH. Its measured binary, upstream source and offline clean/smudge/pointer
|
|
controls are covered. The original package-manager record remains in raw audit
|
|
data; distinguish it from the replaced executable using artifact evidence.
|
|
|
|
Syft/Grype inspect immutable operation-tested image identities. Their own builds
|
|
and source inputs are checked. Fresh pinned database age/hash, affected-package
|
|
controls across Debian/npm/Python/Ruby/Rust, empty-match and invalid-archive
|
|
controls are required. Retain ignored matches as blockers. Native component
|
|
coverage must bind to measured runtime executables, not just a declared lockfile.
|
|
|
|
CI has 90-minute runtime jobs, constrained resource budgets, network-isolated
|
|
operation tests and guarded reclamation of explicitly listed unused SDK paths
|
|
on disposable hosted Linux only. The product's 20 GB budget and 10 GB host
|
|
reserve remain. Image layer temporary files have a 4 GB bound; parsed scanner
|
|
reports have a separate 64 MiB bound. Do not run Docker prune or delete private
|
|
user state to free space. There is no available local Docker daemon.
|
|
|
|
## Unfinished TLS work: saved, not merged
|
|
|
|
Durable source: [`release/wip/tls-validation.patch`](release/wip/tls-validation.patch),
|
|
with application instructions in [`release/wip/README.md`](release/wip/README.md).
|
|
The patch preserves the former branch's `c75a607` change and applies cleanly to
|
|
the current product source. The old local worktree `/tmp/cybot-tls-validation`
|
|
still exists for diagnostics, but its history predates the public history reset.
|
|
Start a fresh branch from new main and apply the saved patch. Do not merge or
|
|
push the old local branch, which would restore the removed public history.
|
|
|
|
The old flat TestSSL parser missed actual nested reports. The WIP replaces it
|
|
with strict nested parsing and target/version/check-scope binding, preserves
|
|
partial findings, and validates input before dependency access. `full` and
|
|
`protocols` scopes are explicit; full completeness requires protocol, cipher,
|
|
server-preference/default and vulnerability sections. A Python stdlib wrapper
|
|
uses Debian testssl.sh 3.2.1 plus system OpenSSL, bounded files/time/output and
|
|
isolated environment. Installed engine/data hashes are checked, including
|
|
symlink/path escape rejection. It does not use the old bundled OpenSSL binary.
|
|
|
|
Key files are `internal/capability/{tls.go,tls_test.go,live_tls_test.go}`,
|
|
the TLS changes in `external.go`/`parsers.go`,
|
|
`docker/toolbox/{testssl_wrapper.py,testssl_metadata.py,testssl.lock.json}`,
|
|
the web/package locks, `scripts/web_profile.py`, package audit mapping,
|
|
web entrypoint, baseline native-component additions and metadata tests.
|
|
|
|
Source Go race/vet, targeted TLS tests and Python tests passed locally. Native
|
|
macOS loopback protocol controls passed for owned legacy TLS 1.0/1.1, modern
|
|
TLS 1.2/1.3 and closed-port fixtures (about 26 seconds). These are diagnostics,
|
|
not Linux certificates. The native-only Go overlay relaxes OS eligibility for
|
|
the diagnostic and **must never be used to emit Linux validation reports**.
|
|
|
|
[WIP CI 41225772991](https://github.com/s41r4j/cybot/actions/runs/41225772991)
|
|
failed contracts because `release/catalog-coverage.json` is stale after the TLS
|
|
metadata change. Its Python checks and public-history secret scan passed.
|
|
Regenerate all inventory exports before the next branch validation.
|
|
|
|
Before merging:
|
|
|
|
1. Apply the preserved patch to new main, regenerate exports without changing 84/71,
|
|
and review wrapper/parser bounds and normal production arguments.
|
|
2. Complete Linux AMD64/ARM64 image builds, executable/data measurements,
|
|
positive/negative/failure fixtures and package audits. No TLS tool/capability
|
|
is counted by the website's 24/27 checkpoint yet.
|
|
3. Review `full` completeness. System OpenSSL lacks optional GOST support;
|
|
protocol-only mode accepts only the exact GOST warning prefix. No suitable
|
|
GOST package was found in the checked Trixie main indexes. Do not install
|
|
cross-release or obsolete crypto to force a pass. Protocol-only evidence
|
|
cannot be described as complete cipher/vulnerability coverage.
|
|
4. Review cancellation: the wrapper emits its final JSON only after the raw
|
|
engine finishes. Abrupt cancellation can lose findings still held in its
|
|
temporary JSON file. Do not claim TLS inherits all streaming recovery.
|
|
5. Add package/data notices (GPL-2 engine and Qualys-attributed simulation data),
|
|
docs and qualified source-bound reports before promoting TLS availability.
|
|
|
|
Useful ephemeral diagnostics: `/tmp/cybot-tls-native-results.txt`,
|
|
`/tmp/cybot-tls-native-bin/`, `/tmp/cybot-testssl-native-adapter.py`,
|
|
`/tmp/cybot-tls-native-overlay.json`, and `/tmp/cybot-testssl-deb/extracted/`.
|
|
The checked official Debian archive is `/tmp/cybot-testssl-3.2.1.deb`;
|
|
its identity and installed data hashes are committed in the WIP lockfile.
|
|
|
|
## Remaining release priorities
|
|
|
|
1. Inspect/import fresh source-bound reports from the latest complete main CI,
|
|
preserving raw failures. Re-run after source changes and refresh databases
|
|
when outside policy age. The changed public-export script affects source
|
|
digest even though this wrap-up does not change Go operations.
|
|
2. Resolve artifact security and coverage with exact vendor/source evidence.
|
|
Debian 13 reduced older matches but has unresolved Chromium, Python,
|
|
libxml2 and other records. Match counts are not counts of confirmed exploits.
|
|
The first Debian 13 browser AMD64 report retained 562 matches, including
|
|
11 declared Rust dependency matches. Verify each affected artifact/context;
|
|
never waive all OS/source-package findings or replace vendor release rows
|
|
with a generic upstream fixed-version statement.
|
|
3. Versioned Trivy exposes five GO-2026-4919 matches across Trivy, checks, DB,
|
|
Java DB and Kubernetes modules. Eleven of twelve diagnostic binaries pass
|
|
symbol-level analysis. Existing exact-source incident review covers only
|
|
its verified source identity; it does not automatically clear linked modules.
|
|
Review against the [upstream incident advisory](https://github.com/aquasecurity/trivy/security/advisories/GHSA-69fq-xp46-6x23)
|
|
and keep raw matches. Do not downgrade identity quality to hide them.
|
|
4. Finish source/native provenance: source-patched Nuclei/Grype/Gobuster,
|
|
local go-github replacement, CYBOT development identity, JSLuice Cgo,
|
|
Semgrep native engine, LinkFinder/WhatWeb source mapping and agent-browser's
|
|
actual compiled Rust dependency coverage. Declared Cargo dependencies alone
|
|
do not prove which crates shipped. Agent-browser 0.41.0 was inspected but
|
|
not adopted; it still had unresolved dependency work. Recheck upstream
|
|
before choosing upgrades.
|
|
5. Finish TLS above, then remaining Linux adapters and real operation fixtures.
|
|
See `docs/tool-support.md`, `release/catalog-coverage.json` and capability
|
|
coverage output for the full gap list. Help/version/startup is insufficient.
|
|
6. Complete clean-machine installation, publishing and immutable promotion
|
|
only when the full release gate passes. Deferred Windows/AD/cloud evidence
|
|
remains an explicit limitation and a blocker to the requested whole product.
|
|
|
|
Useful primary tracker references from the last review:
|
|
[Chromium](https://security-tracker.debian.org/tracker/CVE-2026-119261),
|
|
[Python](https://security-tracker.debian.org/tracker/CVE-2026-19445),
|
|
[libxml2](https://security-tracker.debian.org/tracker/CVE-2026-6653).
|
|
These are review leads, not permanent assertions about future vendor status.
|
|
|
|
## Website architecture and maintenance
|
|
|
|
Buildless GitHub Pages source lives in `website/`. It has five real HTML pages:
|
|
`index.html`, `platform.html`, `tools.html`, `docs.html` and `release.html`.
|
|
Shared navigation links to separate documents and marks the current page.
|
|
The hero status pill has been removed. The sage/forest palette, original mark,
|
|
workflow demo tabs, searchable/filterable tool cards and mobile navigation remain.
|
|
Documentation now includes README-based quick start, both policy modes, commands,
|
|
evidence, agent integrations, skills/workflows, prompt packs and runtime budgets.
|
|
Public-preview status remains ordinary release/footer text. README integration
|
|
and inventory counts are explicitly not represented as certified operations.
|
|
|
|
`available-tools.json` is the only displayed tool dataset. It contains 24 unique
|
|
tools, their measured versions, validated capability intersections, two Linux
|
|
platforms and the retained checkpoint URL/source identity. `app.js` checks its
|
|
SHA-256 against the HTML `cybot-tools-snapshot` meta tag and fails closed on
|
|
invalid data. It renders text nodes, not injected tool HTML. Full inventory
|
|
assets remain for source/contracts but are not rendered as available tools.
|
|
|
|
To refresh availability, select only tools with qualifying checksummed operation
|
|
reports for **both** declared Linux architectures and the same source checkpoint;
|
|
verify each report and measured version, derive capability/profile intersections,
|
|
update the dataset, its HTML SHA-256 meta tag and honest checkpoint text. Never
|
|
populate it from installed binary presence or all catalog rows. Update CSS/JS
|
|
query-string hashes when those files change. Preserve deep-link restoration
|
|
where needed. Old homepage fragments route to their corresponding new pages.
|
|
Shared JS guards page-specific features so pages without a catalog or demo do
|
|
not fail. Keep website copy free of em/en dashes and avoid stable-release claims
|
|
while blocked. The HTML pages are the source of truth; there is no build step.
|
|
|
|
## Reproduce checks and continue safely
|
|
|
|
Use the pinned compiler; the host's default Go may be older:
|
|
|
|
```sh
|
|
export GOCACHE=/tmp/cybot-release-go-cache
|
|
export GOMODCACHE=/tmp/cybot-release-vuln-modules
|
|
export GOPATH=/tmp/cybot-release-vuln-tools
|
|
export GOTOOLCHAIN=go1.26.10
|
|
go test -race ./...
|
|
go vet ./...
|
|
python3 -m unittest discover -s scripts -p 'test_*.py'
|
|
go run ./cmd/cybot capability coverage > /tmp/cybot-handover-coverage.json
|
|
python3 scripts/check_inventory.py /tmp/cybot-handover-coverage.json
|
|
python3 scripts/release_gate.py --output /tmp/cybot-handover-readiness.json
|
|
```
|
|
|
|
The gate's exit 1 is expected while blocked. At wrap-up, no imported certificate
|
|
matches HEAD, so the current gate reports zero validated items; the 24/27 website
|
|
figures explicitly describe the retained historical functional checkpoint.
|
|
Do not weaken the gate to make CI green. To regenerate inventory after a catalog
|
|
change, copy the fresh capability coverage JSON to both
|
|
`release/catalog-coverage.json` and `website/coverage.json`, then run
|
|
`scripts/check_inventory.py` and confirm the 84/71 baseline. Use
|
|
`node --check website/app.js` and browser QA for website changes.
|
|
|
|
Export only allowlisted public source to a **new/empty directory outside** the
|
|
checkout using `scripts/public_source.py`, then run `scripts/secret_scan.py` on
|
|
that export. An official cached scanner archive can be supplied with `--archive`;
|
|
its checksum is verified. The narrow legacy Sourcegraph exception in
|
|
`.gitleaks.toml` accepts only reviewed upstream commit-URL JSON lines in exact
|
|
advisory report paths. Positive/negative controls run before scans. Do not
|
|
blanket-exclude advisory files, token rules or hex strings.
|
|
|
|
The public Git history is deliberately separate from private local `master` and
|
|
has been reset to one initial commit at the user's request. Local historical
|
|
worktrees remain preserved, but never merge/push their pre-reset history or
|
|
export ignored research, credentials, state,
|
|
backups or recordings. Do not scan private Git history. For public-history
|
|
verification, use a separate public-only clone. Existing private state is
|
|
preserved; do not clean unrelated worktrees or mount it into test containers.
|
|
|
|
Additional ephemeral diagnostics: `/tmp/cybot-versioned-build-diagnostic/`
|
|
contains all twelve binary identity/audit results, and
|
|
`/tmp/cybot-trixie-browser-amd64/` contains the first Debian 13 browser audit.
|
|
Prefer committed reports and GitHub artifacts as durable evidence. Temp files
|
|
may disappear and are not part of the release.
|
|
|
|
The wrap-up publishes this handover and website to the new parentless main.
|
|
Find its exact commit with `git log -1`; inspect current GitHub CI/Pages status
|
|
before continuing. The TLS WIP is a committed unapplied patch, not a public
|
|
branch. No stable tag is created. Do not assume rewriting refs erases old URLs,
|
|
GitHub caches or other people's clones; no such purge is claimed.
|
|
|
|
Wrap-up checks: Go race suite and vet, all 69 Python tests, executable inventory
|
|
comparison, JavaScript syntax, website dataset/report/cache hashes and a fresh
|
|
allowlisted public-source secret scan pass. The release gate still returns 1
|
|
as expected. Desktop/mobile website interactions are checked separately from
|
|
tool operation certification.
|