You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Security hardening from the November 17, 2026 review #545
A read-only security review of NEMAR on November 17, 2026 (code scanners, repository settings and ordinary page requests) rated it fair: no leaked credentials, the API refuses anonymous access to signed-in and admin routes, CORS is restricted, search output is escaped, and no private file is exposed. These hardening steps came out of it, most important first:
Dependencies
Update the website's dependencies: astro 6.3.3 has a critical advisory (GHSA-26w7-cxv4-gfx2); also @astrojs/cloudflare, devalue, sharp, zod, undici, vite, vitest (osv-scanner lists 112 advisories in bun.lock, nearly all fixed by upgrading).
Same for nemar-cli's backend and CLI (hono, @modelcontextprotocol/server, sharp, zod, undici, ws, fast-uri).
Run osv-scanner (or Dependabot) in CI, since Dependabot sees no alerts for bun.lock.
Repository settings
Protect main here (it deploys nemar.org): required reviews, required status checks, applied to admins too; add review to nemar-cli's main.
Turn on secret scanning with push protection, Dependabot security updates and CodeQL in both repositories.
nemar-cli sync-dev.yml: pass workflow_run.head_branch through an environment variable instead of expanding it inside the shell script.
Site headers and staging
HSTS on nemar.org, app, docs, dashboard, zarr and test hosts (api and data already send it).
Security headers (CSP with frame-ancestors, nosniff, Referrer-Policy) on dashboard.nemar.org and docs.nemar.org; nosniff on zarr.
Put the staging hosts behind Cloudflare Access, or give staging its own ORCID sandbox app.
Production session cookie with the __Host- prefix, as staging already does.
CSP: replace 'unsafe-inline' for scripts with a hash, and drop staging and retired origins from the production CSP.
The full report went to Arno Delorme; ask him for details.
Activity