skills/dotnet/skills/configure-auth/Gen Agent Trust Hub

configure-auth

Pass

Audited by Gen Agent Trust Hub on Oct 5, 2026

Risk Level: SAFE
Full Analysis
  • Standard Authentication Implementation: The skill provides standard C# and Razor code snippets for implementing ASP.NET Core Identity. These patterns, including the use of AuthorizeRouteView, [Authorize] attributes, and CascadingAuthenticationState, are consistent with official documentation and security best practices for the .NET ecosystem.
  • Render Mode Compatibility: The instructions correctly address the technical limitations of SignInManager and UserManager in interactive contexts, providing appropriate guidance on using [ExcludeFromInteractiveRouting] and AcceptsInteractiveRouting() to ensure security-sensitive operations occur in a safe execution environment.
  • State Management: The guidance on serializing and deserializing authentication state for WebAssembly components is a standard requirement for maintaining authorization context across different execution environments in Blazor Auto and WebAssembly modes.
  • No Malicious Patterns: A thorough review of the instructions and code samples found no evidence of prompt injection, data exfiltration, obfuscation, or unauthorized command execution.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 5, 2026, 09:24 PM