footgun
jargonprogramming
A feature or API so easy to misuse that it invites you to shoot yourself in the foot.
C's manual memory management, implicit type coercion, and mutable global state are classic footguns: powerful, occasionally necessary, and quick to cause self-inflicted damage. Calling something a footgun is a warning that the default, obvious use is also the dangerous one.
Also known as: foot-gun, foot gun