Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Harden the badge-photo, github-avatar and og/badge.png API routes

Abierto
#268 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
54/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript
Área
api, security

Línea de trabajo

Read apps/web/src/pages/api/badge-photo.ts, github-avatar.ts, og/badge.png.ts, and compare badge-photo.ts with signup.ts for the cited error handling and BotID patterns. Then inspect the firewall rate-limit configuration for the avatar and OG routes. Done means the three routes have the requested error handling, badge-photo checks BotID, and both routes have rate limits.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area:web bug P2

Area: Landing (apps/web) · Priority: P2 · Difficulty: intermediate · Confidence: medium

Evidence

apps/web/src/pages/api/badge-photo.ts:68-77 runs the Drizzle update with no try/catch and no BotID check, unlike signup.ts. github-avatar.ts:20-36 proxies any handle with no rate limit. og/badge.png.ts:55 awaits the DB with no error boundary.

Suggested fix

Wrap DB calls with the same safeSentry and save_failed envelope. Add checkBotId() to badge-photo. Add a firewall rate-limit rule for the avatar and OG routes.


Backlog ID W-17 from the 2026-09-22 read-only audit of this repository at commit 3eef3b4. Line numbers refer to that commit. Confidence marks where a claim rests on a code read only and was not reproduced.

Lenguaje dominante
TypeScript
Estrellas
11
Forks
6
Merge medio
12 h
PR fusionados (30 d)
109

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de HackSpain/hackspain26

Todos los issues de HackSpain/hackspain26

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.