Users on Mastodon instances can configure filters. When an item is fetched from the server, if it matches any of the filters then the matched filter(s) will be attached to the item.
The Mastodon behavior for displaying this kind of item is shown here:

Let's have the Tapestry connector do something similar, maybe treating it like a content warning or something.