HI there,
There seems to be a sever bug with family controls API where even when an app has been deleted by the user, the screentime API permission is still granted to deleted app instead of being revoked.
The reason for the severity is because when the app user's social media apps per the user's intention, once the user decided to delete the app, the user would no longer be able to access any of their social media despite deleting the app & expecting the permission to be revoked.
At the same time, the app can't detect when it has been deleted to unhide the app from user's homescreen.
Such bug is happening with other extensions as well (content blockers), where despite the app being deleted, the permission doesn't get revoked.