Sourdough discard is the bit of bread starter that is removed from the larger starter before feeding, and it has a significantly shorter shelf life than a regular starter.
To make sure the discard hasn’t gone bad, check it for any off smells, like a strong, acidic odor, along with spots of discoloration or visible mold growth.