It doesn't give the app access to read your messages. The MessageFilter extension that actually handles filtering cannot communicate with any other part of the code nor the network.
https://developer.apple.com/documentation/sms_and_call_repor...