We generally do not recommend filing a disavow for cases like this. However, if your link profile prior to the attack was worthy of a manual action, or if you currently have a manual action, we would recommend adding these links into your disavow file. Some people are uncomfortable with having this type of link present in Google’s algorithms and do not trust Google to simply ignore these links. While we are confident that Google can ignore spam attacks of unnatural links, there is no harm in disavowing these links other than time spent. As an added note, sometimes an onslaught of spammy links can be an indication that your site has been hacked. It may be worth consulting with a specialist in malware and hacked sites.