1. A method to detect a potential attack on a memory of a memory device, the method comprising, by a processor: sending a request to the memory device, wherein the request includes a request for information that relates to memory writes to the memory of the memory device; receiving a response from the memory device, wherein the response includes the information that relates to the memory writes; determining, based on the response, an amount of the memory of the memory device written to during an interval of time; detecting the potential attack on the memory based on the amount of memory written to and based on the interval of time; and generating an alert based on the detection of the potential attack.