TCC is 10 years old now, and today is the first time that I've heard of it. 🥴
Here's an article from months ago talking about its history, design and weaknesses...
TCC is meant to protect user data from unauthorized access, but design flaws mean users and malware can bypass TCC, even by accident.
www.sentinelone.com
I'm surprised that Apple is using an SQL database for this. They have used XML-based plists (ie. "property lists") forever, and then took over the FoundationDB project, which I always thought would be fast, efficient and secure replacement. (Why isn't FoundationDB being used yet? Anyone know? Is it overkill?)
SQLite is a solid embedded database solution, but this seriously feels like a weakness when the database itself can be compromised simply by replacing a file on disk.