This issue was addressed by adding an additional prompt for user consent. This issue is fixed in macOS Ventura 13.6.8, macOS Monterey 12.7.6, iOS 17.6 and iPadOS 17.6, watchOS 10.6, macOS Sonoma 14.6. A shortcut may be able to bypass Internet permission requirements.
https://support.apple.com/en-us/HT214118
https://support.apple.com/en-us/HT214124
https://support.apple.com/en-us/HT214120
https://support.apple.com/en-us/HT214119
https://support.apple.com/en-us/HT214117
http://seclists.org/fulldisclosure/2024/Jul/21
http://seclists.org/fulldisclosure/2024/Jul/20
http://seclists.org/fulldisclosure/2024/Jul/19