Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Expose Reddit account lock status to Devvit apps

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

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
api

Research direction

Start with the proposed User interface and the Reddit user payload described in the issue. Determine how Devvit apps currently receive user data and where account state could be exposed. Done means apps can distinguish active, locked, and suspended accounts when Reddit supplies that status, supporting the Bot Bouncer workflow.

Written by the indexing model from the issue text.

Description

Summary

Expose Reddit account lock status to Devvit apps so moderation apps can distinguish accounts that are temporarily locked by Reddit as a security precaution from active accounts when that information is available in Reddit's user payload.

Motivation

Bot Bouncer processes a large volume of ban appeals. A significant number involve accounts that Reddit has temporarily locked after detecting suspicious activity.

Today, moderators must manually open each profile on sh.reddit to determine whether an account is currently security locked. This does not scale well when reviewing hundreds or thousands of appeals.

If Devvit exposed this state, moderation apps could:

  • Automatically identify appeals from accounts that are currently security locked.
  • Periodically recheck those accounts without moderator intervention.
  • Detect when a previously locked account later becomes active again.
  • Automatically unban accounts that were banned while security locked once they are no longer reported as locked.

Rather than requiring moderators to repeatedly review the same accounts, the app could perform routine background checks and surface only accounts whose status has changed. This would substantially reduce the Bot Bouncer appeal backlog and allow moderators to focus their attention on accounts that may now be eligible for review.

Proposed API (one possible design)

interface User {
  accountStatus?: "active" | "locked" | "suspended";
  isAccountLocked?: boolean;
}

This is one possible API shape. The important capability is allowing apps to distinguish Reddit security locks from active and suspended accounts.

Expected behavior

When Reddit's user payload includes account lock status:

  • isAccountLocked is true for accounts currently locked by Reddit as a security precaution.
  • accountStatus reflects the current account state (active, locked, or suspended).

Apps could compare previously observed state with the current state to determine that a previously locked account has become active again.

The API would not need to determine why an account became active again or verify that it was reclaimed by its original owner—it would simply expose the current account state supplied by Reddit.

Example workflow

For Bot Bouncer, this would enable an automated workflow such as:

  1. A ban appeal is received from an account that is currently security locked.
  2. The appeal is deferred while the account remains locked.
  3. The app periodically rechecks the account.
  4. Once the account is no longer reported as locked, the app automatically places it back into the moderator review queue.

This eliminates repeated manual profile checks and makes it practical to process large numbers of security-locked accounts with minimal moderator effort.

Dominant language
TypeScript
Stars
210
Forks
88
PR merge metrics
No merged PRs in 30d

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.

More from reddit/devvit

All issues in reddit/devvit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.