I have the same issue with electron apps with macosx 12.4 Beta (21F5058e);
I can use the node library but if I compile it for electron it stops working. Same code works on Big Sur, I think it has something to do with plist permissions aswell but couldn't get them to work yet!