rubyforgood / rubyforgood/alongwithyou

API is unauthenticated, unbounded, and unthrottled

Open
#84 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

severity:significant
Dominant language
TypeScript
Stars
9
Forks
4
Avg merge
9h 34m
Merged PRs (30d)
16

Description

GET /api/v1/tasks returns all rows with no pagination or limit, no created_at index behind newest_first, and DELETE is public with no auth. This is the placeholder resource other real models will get copied from, so the pattern needs fixing here first, not later.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the handlers for GET /api/v1/tasks and DELETE, then find the query or model code that implements newest_first and the schema or migration for created_at. Review how this placeholder resource is exposed and run the existing API tests if available. Done means task listing is bounded, newest_first has the needed index, and deletion is authenticated and throttled.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend, databases, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.