nodejs-backend-patterns
Pass
Audited by Gen Agent Trust Hub on Nov 8, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill serves as a reference for Node.js backend development, providing templates for common architectural layers (Controllers, Services, Repositories).
- [SAFE]: Code examples follow security best practices by using parameterized SQL queries with the
pglibrary and utilizing Mongoose for MongoDB, which helps prevent injection attacks. - [SAFE]: The skill correctly demonstrates the use of security-focused middleware, including
helmetfor HTTP headers,corsfor cross-origin resource sharing, andexpress-rate-limitfor DDoS prevention. - [SAFE]: Authentication examples use industry-standard libraries like
bcryptfor password hashing andjsonwebtokenfor stateless authentication, with appropriate warnings about token validation and rotation. - [SAFE]: A detailed 'Security and incomplete-example limits' section is included, which explicitly warns the user that the code snippets are templates and requires additional implementation for production-grade security (e.g., CSRF protection, tenant isolation, and robust logging).
Audit Metadata