The vulnerability is an off-by-one error in the suffixtrie implementation of the netfoil library. Specifically, the Insert and MatchExact functions in suffixtrie/suffixtrie.go contained a loop that iterated from len(word) - 1 down to 1, effectively skipping the first character (at index 0) of the input word. When a domain like 'example.com' was inserted into the filter, it was stored as if it were 'xample.com'. Consequently, when checking a domain, MatchExact would also ignore the first character. This allowed a malicious actor to bypass the filter by using a domain like 'fxample.com', as it would be compared as 'xample.com', matching the incorrectly stored entry for 'example.com'. The patch corrects the loop condition to i >= 0, ensuring the entire domain is processed. Additionally, a logic error in MatchSuffix that incorrectly handled empty strings was also fixed.