The issue was addressed with additional permissions checks. This issue is fixed in macOS Ventura 13.3, iOS 16.4 and iPadOS 16.4, iOS 15.7.4 and iPadOS 15.7.4, macOS Monterey 12.6.4, tvOS 16.4, watchOS 9.4. A shortcut may be able to use sensitive data with certain actions without prompting the user.
https://support.apple.com/en-us/HT213678
https://support.apple.com/en-us/HT213677
https://support.apple.com/en-us/HT213676
https://support.apple.com/en-us/HT213674