Report abuse and appeal decisions
Report a paste without an account, operate the restricted review queue and turn on automated screening on your own instance.
An instance can accept abuse reports and appeals at /abuse. No account is required.
The operator must enable this feature; it is off by default.
Send a report
- Open Report abuse at the bottom-right of a shared paste page, or open
/abuseon the instance. - Fill in Paste URL on this instance, choose a Reason, and describe your concern in Explanation (10 to 2,000 characters).
- Optionally enter an Email (optional) address so a reviewer can contact you.
- Select Send for review. A confirmation means the report was stored for review.
For suspected child exploitation, provide its location only. Do not download, copy, quote or upload suspected material. The form accepts no attachments. If a child is in immediate danger, contact local emergency services.
To challenge a moderation decision, select Appeal a moderation decision and explain why you believe it should be reconsidered. An appeal does not automatically restore access. Decision notices and email replies are handled manually by the operator; this feature sends no emails.
The form accepts URLs on the configured app or share origin. Query parameters and fragments are discarded because they can carry passwords or encryption keys. Do not put paste contents or credentials in the explanation. Reports about missing, private and restricted pastes receive the same confirmation, so reporting does not reveal whether a paste exists.
Understand report handling
Reports stay in the instance's database for authorized host operators. They are not forwarded to Linear, an AI provider or a public issue tracker. Reviewers see report text only when they explicitly open a case. Report text is untrusted and may itself contain sensitive material.
The instance accepts at most 10 submissions per address per hour. Duplicate submissions with the same normalized fields on the same UTC day share one case. Neither the case ID nor duplicate status is exposed publicly. Report counts do not change moderation state.
If the form says too many reports were sent, wait an hour before retrying. A failed submission does not confirm receipt; check the fields and retry. A request body over 12 KiB is refused.
Enable manual review
Before enabling intake, assign a primary reviewer and backup, confirm reporting and preservation requirements, and establish a restricted case register, notice procedure and retention/disposal schedule. Test the queue and the incident escalation with harmless synthetic reports.
Set ABUSE_REPORTS_ENABLED=true, BETTER_AUTH_URL and BETTER_AUTH_SECRET (at least 32
characters), then restart every serving replica. Confirm /abuse loads in a browser (it returns
404 when ABUSE_REPORTS_ENABLED=false). Configure CLIENT_IP_SOURCE for the trusted proxy;
otherwise visitors can share a quota. See Configuration.
From an authorized operations checkout with DATABASE_URL pointing at the intended database:
bun --filter @workspace/db moderation reports
bun --filter @workspace/db moderation report <report-uuid>Both commands print JSON to standard output (or exit with status 1 on error). The queue lists at
most 100 unresolved cases, with suspected child exploitation first and then oldest first. It shows
only the case UUID, category and receipt time. Opening a case shows its location, immutable paste
UUID when known, explanation, optional contact and disposition. These commands audit the host
username, hostname, action, case UUID when applicable, and time. They require trusted host and
database access; there is no public queue or browser admin endpoint.
Record a decision
Inspect the paste's current content and moderation versions, apply a restriction or release with
caseReference set to the report UUID, and then close the report with the transition's command
UUID:
bun --filter @workspace/db moderation inspect <paste-uuid>
bun --filter @workspace/db moderation transition '{
"commandId": "22222222-2222-4222-8222-222222222222",
"pasteId": "<paste-uuid>",
"expectedContentVersion": 1,
"expectedModerationVersion": 0,
"state": "quarantined",
"reasonCode": "policy_violation",
"caseReference": "11111111-1111-4111-8111-111111111111"
}'
bun --filter @workspace/db moderation resolve-report '{
"id": "11111111-1111-4111-8111-111111111111",
"outcome": "quarantined",
"decisionCommandId": "22222222-2222-4222-8222-222222222222"
}'Each command prints the resulting JSON record on success (or exits with status 1 if a version
check or field validation fails). The UUIDs above are synthetic: replace them with the actual case
UUID, paste UUID, version numbers from inspect, and a fresh command UUID.
quarantined, removed and restored outcomes require an audit event for that case and the
same immutable paste, with the matching resulting state. restored matches allowed.
no_action and duplicate close a case without a moderation command. Resolution is audited and
cannot be applied twice. It records a completed decision; it does not itself change paste state.
Use the confirmed incident procedure for urgent allegations. Keep suspected material out of ordinary logs, email, chat and issue trackers. Send any permitted decision notice through the operator's approved channel. A restriction alone does not preserve a paste: expiry, the trash and account deletion still delete it. Place a legal hold when the paste must be kept.
Preserve a paste
A legal hold keeps a quarantined or removed paste, with its files and revisions, until you release
it. While it is held, the database refuses to delete the paste by any path, including expiry,
burn after read, the trash, the purge job and account deletion. Its owner sees "This account
can't be deleted right now" when they try to delete their account. A held paste can't be released
to allowed or pending, so neither its owner nor anyone else can open or edit it.
bun --filter @workspace/db moderation hold '{
"pasteId": "<paste-uuid>",
"caseReference": "11111111-1111-4111-8111-111111111111"
}'
bun --filter @workspace/db moderation release-hold '{
"pasteId": "<paste-uuid>",
"caseReference": "11111111-1111-4111-8111-111111111111"
}'hold refuses a paste that is allowed or pending, so quarantine or remove it first. Placing
the same hold twice changes nothing, and a paste can be held for one case at a time.
release-hold needs the case UUID the hold was placed with. After the release, the paste follows
its normal lifecycle again, so a paste that expired or sat in the trash for 30 days is deleted by
the next purge. inspect shows legalHoldCase and legalHoldAt.
A hold covers the live database only. Backups still age out on their own schedule.
Suspend an account
A suspension signs the account out everywhere, refuses new sign-ins and stops its API tokens and
OAuth grants until you reinstate it. It doesn't change the account's pastes, so restrict them with
transition as well.
bun --filter @workspace/db moderation suspend '{
"userId": "<account-id>",
"caseReference": "11111111-1111-4111-8111-111111111111"
}'
bun --filter @workspace/db moderation reinstate '{
"userId": "<account-id>",
"caseReference": "11111111-1111-4111-8111-111111111111"
}'The account's owner sees "This account is suspended" when they sign in with a password. Its tokens
answer 401 as if they were revoked. Reinstating restores sign-in and every token that hasn't
expired. Suspending a suspended account changes nothing.
Holds and suspensions are recorded with the host username, hostname, case UUID and time. The record holds no paste content, survives the deletion of the paste and the account, and can't be edited.
Automated screening
Set one or more provider keys to screen public and unlisted pastes after every write. Private pastes are never screened, and neither are end-to-end encrypted pastes, whose content the server can't read.
| Variable | Provider | What it checks |
|---|---|---|
MODERATION_OPENAI_API_KEY | OpenAI moderation, omni-moderation-latest | Title, description, file names and file contents |
MODERATION_MISTRAL_API_KEY | Mistral moderation, mistral-moderation-latest | The same text, when OpenAI fails or has no key |
MODERATION_WEB_RISK_API_KEY | Google Web Risk | Up to 25 links per paste, against the malware, social engineering and unwanted software lists |
Creating a paste, editing it, restoring a revision, restoring it from the trash and changing its
sharing all queue it again, from the web, the API, the CLI and MCP alike. A job screens the queue
every 30 seconds, and the paste stays readable while it waits. Long text is sent in chunks of
8,000 characters, so a paste up to MAX_PASTE_SIZE is screened in full. Readable text hidden in
base64 is screened as well, up to 64 KiB per paste.
Images are removed before anything leaves the server: data:image/... URIs and base64 that decodes
to an image are replaced with a placeholder. Screening never sends an image to a provider. Links are
looked up by URL only and never fetched. Requests carry no account, owner or paste identifier.
What a result does
| Result | Action |
|---|---|
OpenAI sexual/minors flagged or scored 0.2 or higher | Quarantines the paste and files a child_exploitation report, which the queue lists first |
sexual scored 0.8 or higher, or OpenAI violence/graphic scored 0.8 or higher | Quarantines the paste and files a report |
| A Web Risk match | Quarantines the paste and files a malware report |
| Any other flagged category | Files a report and leaves the paste readable |
| A spam score of 5 or more | Files an other report and leaves the paste readable |
The spam score adds up link counts, link density, shortened links, repeated lines and gambling or
SEO spam terms. A quarantine records a moderation event with the actor
automated-screening:<provider> and the report as its case reference. Release a wrong quarantine
with transition and close the report as described in Record a decision.
Report explanations name the provider, the categories and their scores, and never quote the paste.
The thresholds are starting values. Adjust them from the decisions reviewers overturn.
When a provider fails
Screening fails open. A paste stays readable when every text provider fails or Web Risk fails, and
its screening is retried after 1, 2, 4, 8, 16, 32 and 64 minutes, then every two hours. After 8
failed attempts it stops retrying and files an other report saying the paste was never
screened. A result for content that changed while it was screened is dropped, and the new content
is screened instead.
GET /api/metrics reports screening.queued, screening.failed and screening.oldest, the time
the oldest waiting paste was queued. Alert on a growing queue or any failed rows.
Limitations
A classifier result is a signal for review, not a legal determination. Mistral has no category for sexual content involving minors, so only OpenAI can quarantine on it. Links beyond the first 25 in a paste are counted but not looked up. Content that was public before the keys were set is not screened until it changes. Turning on screening sends public and unlisted paste text to each configured provider, so list them as subprocessors in your privacy policy.
Retention and limitations
Report records and reviewer audit events survive paste and account deletion. There is no automatic report-disposal job. Keep intake off until an authorized owner has approved the retention and disposal procedure, including backups and review access. The report queue is not an evidence repository.
Setting ABUSE_REPORTS_ENABLED=false hides the form and report links and rejects new submissions
(/abuse returns 404). Existing cases remain available through the host commands. Disabling
intake does not dispose of records or change paste restrictions.
This workflow provides intake, an audited host queue and manual case resolution. It does not include automated decision notices, external escalation delivery or backlog alerts. Automated screening is optional and described above. No claim of complete detection or legal certification is made.