CtrlK
BlogDocsLog inGet started
Tessl Logo

simon/skills

Auto-generated tile from GitHub (10 skills)

92

1.16x
Quality

94%

Does it follow best practices?

Impact

92%

1.16x

Average score across 44 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

task.mdevals/scenario-29/

Webhook Receiver Service

Problem / Feature Description

The payments team at a growing fintech company is integrating with three external payment providers, each of which pushes JSON event notifications to a webhook endpoint. These notifications sometimes include sensitive fields such as authorization tokens and raw card metadata — the security team has mandated that those values must never appear in log files, which are shipped to a third-party SIEM provider.

The platform runs on Kubernetes, so the service must shut down cleanly when the pod is terminated: in-flight requests should be allowed to finish, the load balancer should stop routing new traffic before connections are drained, and database (or other) connections should be released in the correct order. The infrastructure team has asked for a health endpoint so the ingress controller can route traffic correctly during rolling deployments and pod restarts.

All code should be written in TypeScript and run directly under Node.js 22+ without a separate compilation step. The service does not need a real database or payment provider connection — stubs or in-memory representations are fine.

Output Specification

Deliver the following files:

  • src/server.ts — the main HTTP server
  • src/logger.ts — logger setup and configuration
  • Any additional TypeScript source files you choose to create
  • package.json — with scripts to install dependencies and start the server
  • README.md — brief instructions covering how to install dependencies and run the service

The README should document any environment variables the service reads (e.g. port, log level). Do not include a .env file with real secrets.

evals

README.md

tile.json