A user interface or feature that tricks users into doing things that may not be good for them, often for the benefit of the developer. This term is also sometimes used to describe ongoing problematic patterns in business or culture.
"The biggest tax software maker is known for its dark patterns, such as tricking users into selecting a paid plan when free plans were available, by making it hard to find the free option."