pitfall
noun
°a potential problem, hazard, or danger that is easily encountered but not immediately obvious.
"It's usually a simple task, but you should know the pitfalls before you attempt it yourself."
°(computing) An anti-pattern.
synonyms: trap, anti-pattern, dark pattern