Wiktionary
swear box
n. (context informal English) a money box, used to collect a nominal fine from people who use foul language, especially in a workplace.