• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / remark42 / 38125823267
84%

Build:
DEFAULT BRANCH: master
Ran 11 Oct 2026 08:46AM UTC
Jobs 1
Files 54
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Oct 2026 08:43AM UTC coverage: 84.265% (+0.02%) from 84.241%
38125823267

push

github

web-flow
Close the admin takeover through the delete-me link (#2262)

* Render the delete-me result and error as text

The admin approval page wrote the server's response and error into
innerHTML, and both can carry values controlled by the user who asked
to be deleted, so markup in them ran as script in the admin's session.

The page now builds the heading and the details as elements and sets
their text, so nothing the server returns is parsed as HTML.

* Reject delete-me tokens as session credentials

A delete-me token names the user, is signed like a session token and
lives for three months. The comment beside its delete_me attribute said
it could not be used to log in, but nothing checked it, so whoever held
the link could act as that user.

The auth validator now refuses claims carrying delete_me. The admin
deletion handler parses the token itself and keeps accepting it.

* Accept tokens only for the sites this instance serves

The site in a token comes from the login request, and nothing compared
it with the configured sites, so any value got a signed session and was
echoed back in responses and error messages.

With the bolt store the token service now issues and accepts tokens
only for the sites given in --site. A remote store decides on its own
side which sites exist, so with one any audience is still accepted.

The delete-me page fell back to the default site, remark, which an
instance not serving it now refuses. Deletion links carry site_id, the
signed-out message sends the admin to the requesting site's comments,
and the API docs list the site parameter the admin endpoint requires.

* Bump golangci-lint to v2.14.0 in backend CI

CI installs the newest Go 1.27 patch release, now 1.27.2, and
golangci-lint v2.13.2 cannot read its export data, so the lint step
failed with an export data decoding error. v2.14.0, built with Go
1.27.1, reports no issues in backend/app and
backend/_example/memory_store under Go 1.27.2.

* Process a delete-me token only on ... (continued)

25 of 25 new or added lines in 3 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

6057 of 7188 relevant lines covered (84.27%)

31.93 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
83.03
0.13% backend/app/cmd/server.go
Jobs
ID Job ID Ran Files Coverage
1 38125823267.1 11 Oct 2026 08:46AM UTC 54
84.27
GitHub Action Run
Source Files on build 38125823267
  • Tree
  • List 54
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 529621ea on github
  • Prev Build on master (#38125768535)
  • Next Build on master (#38165872331)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc