maui-geolocation

Pass

Audited by Gen Agent Trust Hub on Mar 30, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill provides standard documentation and implementation examples for the official Microsoft.Maui.Devices.Sensors API, which is the recommended way to handle geolocation in .NET MAUI.
  • [SAFE]: It includes comprehensive platform-specific permission configurations for Android (AndroidManifest.xml), iOS (Info.plist), and macOS (Entitlements.plist), ensuring developers follow required privacy protocols.
  • [SAFE]: The instructions promote defensive programming by highlighting the 'IsFromMockProvider' property on Android, which allows developers to detect and handle spoofed location data in security-sensitive scenarios.
  • [SAFE]: The provided code samples demonstrate best practices for resource management and error handling, including the use of CancellationTokenSource to prevent hanging operations and try-catch blocks for permission and hardware exceptions.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 30, 2026, 02:39 AM