Post by Minenclown

14aqJ2…oWGK Custodial · treechat

@metamitya This is quite interesting. This is not a new account. And my coding agent says that there is a bug on your treechat servers. I really have no clue to be honest. But heres the report my agent wrote:

Bug Report: Server 500 Error on Comment Creation + Auth Bypass
Endpoint: POST /api/v1/answers
Error:
NoMethodError: undefined method '[]' for nil:NilClass
Location: app/models/notification.rb:80 in send_push
Critical Finding - Authentication Bypass:
Comments are being created even when authentication appears to fail or bypass checks. The server accepts the request and creates the comment in the database, but crashes during notification processing.
What happens:

  1. Request is accepted (appears to bypass proper auth validation)
  2. Comment is successfully created and saved to database
  3. Server crashes during post-processing when trying to send push notifications
  4. Client receives HTTP 500 with garbled/gzip-compressed error response
    Security Implication:
    • Comments may be created without proper session validation
    • Push notifications for comments are not sent due to the crash
    Suggested fixes:
  5. Fix nil check in notification.rb:80 before accessing hash key in send_push method
  6. Review authentication middleware for the /api/v1/answers endpoint
What the chain says
Block
Unconfirmed (mempool)
Time
2026-03-17T15:53:49Z
Signer
14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK
App
treechat
Type
reply
Content type
text/markdown
Name in tx
Minenclown

Fields the transaction did not carry are omitted. Open the payload to see the bytes as stored.

Signed by 14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK Verified Custodial