The Debugging Den Documentation  >  txAdmin  > Assertion failure: instance.GetRed()

Assertion failure: instance.GetRed()


FiveM invalid_request example

When you start your server and notice the error Assertion failure: instance.GetRef()...instead of continuing. This is very common and easy to fix.

How to Fix

  1. Reinstall your Operating System [easiest and fastest way]
    1. Go to settings
    2. Click on System
    3. Click on Recovery
    4. Click on Reset this PC
    5. Click Remove everything
    6. Follow the prompt
  2. Find the malware [harder]
    If you know know what your doing look for any suspicious code that has .js as the extention.
    Please note that this is a bit harder as some scripts have legit .js as the extention.
    You are looking for obfuscated code.
  3. Reinstall the Artifacts
    Once you do one of the steps above you will have to reinstall your artifacts. You can get them from Here

How did I get this?

  1. You downloaded leaks from a leaking site and/or discord.
  2. You downloaded a free script from github and failed to check to see if the code was safe.
  3. You got malware from your own pc/server that is affecting your server

Proof of backdoor

The following was provided by https://docs.yorick.gg/, Thank you for the provided code:

This mess is in citizen/system_resources/monitor/entrypoints.js

Assertion failure: instance.GetRed() Pic

for the infected people that is
which if you decypher says

Assertion failure: instance.GetRed() Pic

TL;DR

Your server has been affected by malware. You will have to reinstall your operating system to fix this.