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

bots-go-framework / bots-fw / 28549389515
28%

Build:
DEFAULT BRANCH: main
Ran 01 Jul 2026 09:37PM UTC
Jobs 1
Files 75
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

01 Jul 2026 09:37PM UTC coverage: 23.153%. Remained the same
28549389515

push

github

web-flow
security(SEC-4): add per-bot WebhookSecretToken/RequireWebhookSecret to BotSettings (#79)

Part of the SEC-4 fix: Telegram (and other platform) webhooks currently have
no signature/secret verification, so anyone who knows a bot's webhook URL can
POST forged updates and impersonate any platform user. This adds the config
surface a webhook handler needs to verify the platform's secret-token header,
following the existing per-bot BotSettings pattern (Token, PaymentToken, etc.)
rather than inventing a parallel config mechanism.

- WebhookSecretToken: the secret expected back on every webhook call (e.g.
  Telegram's X-Telegram-Bot-Api-Secret-Token, set via secret_token when
  registering the webhook). Empty by default for backward compatibility.
- RequireWebhookSecret: opt-in flag (default false) so operators can make an
  unconfigured secret a hard failure instead of just a warning once they've
  rolled the secret out.

Actual verification lives in bots-fw-telegram (tg_webhook_handler.go), which
consumes these fields.


Claude-Session: https://claude.ai/code/session_01FV3pbooAc9UPpNdiaJuKve

Co-authored-by: Alexander Trakhimenok <alex@Alexanders-MacBook-Pro.local>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

1219 of 5265 relevant lines covered (23.15%)

0.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28549389515.1 01 Jul 2026 09:37PM UTC 75
23.15
GitHub Action Run
Source Files on build 28549389515
  • Tree
  • List 75
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9608452f on github
  • Prev Build on main (#28303757332)
  • Next Build on main (#28657693341)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc