authentication
Pass
Audited by Gen Agent Trust Hub on Oct 5, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill defines endpoints for user registration and login that process untrusted data, which represents a standard architectural attack surface for indirect injection if not combined with proper validation.
- Ingestion points: Data enters the system via the
@Body()decorator in thesignInandregistercontroller methods inauth.controller.ts. - Boundary markers: The provided code snippets do not explicitly show the use of validation pipes or DTO decorators to enforce data boundaries, though this is common in NestJS implementations.
- Capability inventory: The skill utilizes bcrypt for credential comparison and the JWT service for token generation and signing.
- Sanitization: No explicit input sanitization is shown in the snippets, although the skill recommends implementing rate limiting via the
ThrottlerModuleto mitigate brute-force attacks. - [EXTERNAL_DOWNLOADS]: The skill instructs users to install standard, well-known authentication and security libraries from official registries.
- Evidence: Instructions include
npm installfor@nestjs/jwt,passport,bcrypt, and related packages from the official NPM registry.
Audit Metadata