Skip to content

fix(web): visual audit fixes - #133

Merged
Darknode-Official merged 2 commits into
mainfrom
fix/visual-audit
Nov 23, 2026
Merged

Darknode-Official merged 2 commits into
mainfrom
fix/visual-audit

Conversation

@Darknode-Official

@Darknode-Official Darknode-Official commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Fixes the confirmed findings from the website visual and functional audit (F-01 to F-24). One commit, no deploy.

Fixes

  • F-01 security.txt Contact is now mailto:security@darknode.ai and Policy is the new "Reporting a security issue" section of the Acceptable Use page (/acceptable-use#report-security). Owner: please confirm security@darknode.ai forwards to a real inbox.
  • F-02 When signed out, an unknown path shows a "Page not found" view with noindex. The list of real paths comes from the Deck's own route table (new public/js/deck/routes.js) plus the existing tool registries, so every real link still opens the landing page and then the app. The sitemap now lists only real public pages. Covered by test/deck/routes.test.mjs.
  • F-03 The Acceptable Use page has a heading, a last-updated date and a security-report section.
  • F-04 Not reproducible on current main: /terms and /privacy each show one "Back to home".
  • F-05 In the Deck's dark mode, code and command panels inside embedded tools (Network Tools, API, Coder) render dark and readable.
  • F-06 Wayback CDX requests go through the Worker /api/fetch (30s timeout, 1 MB cap). Failures show a plain message instead of "Failed to fetch".
  • F-07 The Ransomware groups source has a 2 MB cap (the feed is about 850 KB); 428 groups load. The cap is raised for this source only.
  • F-08 Address Intel: when you look up a domain, GreyNoise and AbuseIPDB show "IP-only source, not applicable to domains" instead of spinning forever.
  • F-09 The dnConfirm/dnPrompt backdrop inside Deck tools is dark.
  • F-10 Target Dossier: a failed or skipped source shows "—" ("n/a" in the markdown export), not 0.
  • F-11 Inputs start empty with no precomputed results: Incident Cost (records and revenue), Network Tools (subnet, VLSM, aggregate, range, IPv6). The API Fuzzer keeps only its functional Content-Type header.
  • F-12 Email Security example chips use example.com and example.org.
  • F-13 The Tool Library search box has no inner focus ring, and category counts update while you filter.
  • F-14 Downloads: OS build commands wrap inside their cards. Clicking a command still copies it.
  • F-15 Mini-tool placeholders longer than 32 characters move to a wrapping hint line below the input. Long placeholders in security.txt, CORS and URL tools are shorter. The Sigma "Add field" button no longer squeezes at 390px.
  • F-16 Deck toasts are dark. A failed copy in Cookie Inspector shows an error toast.
  • F-17 The ransomware table on mobile no longer breaks words mid-word, and its cells are tighter so it fits at 390px.
  • F-18 The landing KEV ticker no longer repeats the vendor name.
  • F-19 Darknet Radar hides "Sector: Not Found/N/A/Unknown".
  • F-20 The EQL and CEF builders return nothing while their inputs are empty. CEF lists the missing header fields when only some are filled.
  • F-21 Security Graph stat tiles use a 4x2 grid (2 columns under 560px).
  • F-22 Public marketing pages have an h1.
  • F-23 Report severity starts on "Select severity", and Add asks for a severity before saving the finding.
  • F-24 Confirmed and fixed: the link check flags redirect parameters (next, url, return_to, ...) that send the visitor to a different site. A parameter that points to a brand's real domain is not flagged. Tests added.
  • Extra The service worker's last-resort navigation response is a 503 offline page instead of Response.error() (test added). Address Intel's crt.sh lookup goes through the fetch proxy, which removes the CORS console error.

Worker

No Worker change and no Worker deploy needed. The existing per-request max and t options of /api/fetch are used.

Verified

  • npm test: 5057 passed, 0 failed.
  • npm run release:check: READY (build ea5f838f8d83).
  • Checked in the real Deck (local server, Test Mode) at 1440x900 and 390x844, with 0 console errors on the final pass:
    • every fixed tool listed above
    • the 404 view and its real-path fall-through
    • toasts and modal scrim
    • Link check verdict
    • Downloads layout with no overflow at 390px

Partial / not fixed

  • Wayback: the Archive's CDX API often takes 20-60s for large sites. The proxy stops waiting at 28s, so big domains can still get the "took too long" message. Small domains work.
  • crt.sh returned 502 both directly and through the proxy during testing. Address Intel and Dossier now report that failure plainly, but they cannot fix the upstream outage.
  • Out of scope, noted: the weekly digest email links to /overview, which the signed-in Deck treats as an unknown page.

Also: /overview (the weekly digest's "Open the Deck" link) now opens the Deck overview instead of an unknown page (f16a70a). Verified signed in on a local build.

- security.txt points at a real contact and the AUP security-report section
- signed-out unknown paths show a noindex "Page not found" view built from
  the Deck route table (public/js/deck/routes.js); sitemap lists real pages only
- Deck dark mode: embedded code panels, modal scrim and toasts render dark
- Wayback CDX and crt.sh go through the fetch proxy with honest errors
- Ransomware groups feed loads in full; IP-only sources say they do not
  apply to domains; failed Dossier sources show a dash, not 0
- calculators and builders start empty (Incident Cost, Network Tools,
  API Fuzzer, CEF/EQL builders); report severity must be chosen
- long mini-tool placeholders move to a wrapping hint line; Sigma
  "Add field" button, Security Graph stats grid, Downloads commands,
  ransomware table and tool search counts fixed at narrow widths
- phishing check flags open-redirect parameters to another site
- service worker serves a 503 offline page instead of a network error
@Darknode-Official
Darknode-Official merged commit a77273f into main Nov 23, 2026
10 checks passed
@Darknode-Official
Darknode-Official deleted the fix/visual-audit branch November 23, 2026 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant