apollo-server-patterns
Facilitates building production-ready GraphQL APIs with Apollo Server, focusing on schema design, resolvers, and federation.
Install this skill
Security score
The apollo-server-patterns skill was audited on Feb 9, 2026 and we found 15 security issues across 3 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 83 | console.log(`Server ready at ${url}`); |
Template literal with variable interpolation in command context
| 282 | return this.get(`users/${id}`); |
Template literal with variable interpolation in command context
| 545 | pubsub.publish(`COMMENT_ADDED_${postId}`, { commentAdded: comment }); |
Template literal with variable interpolation in command context
| 558 | pubsub.asyncIterator([`COMMENT_ADDED_${postId}`]) |
Template literal with variable interpolation in command context
| 637 | authDirectiveTypeDefs: `directive @${directiveName}(requires: Role = USER) |
Template literal with variable interpolation in command context
| 660 | throw new Error(`Requires ${requires} role`); |
Access to .env file
| 403 | const decoded = jwt.verify(token, process.env.JWT_SECRET); |
External URL reference
| 278 | this.baseURL = 'https://api.example.com/'; |
External URL reference
| 607 | console.log('Server running on http://localhost:4000/graphql'); |
External URL reference
| 773 | @link(url: "https://specs.apollo.dev/federation/v2.0", |
External URL reference
| 813 | @link(url: "https://specs.apollo.dev/federation/v2.0", |
External URL reference
| 936 | - [Apollo Server Documentation](https://www.apollographql.com/docs/apollo-server/) |
External URL reference
| 937 | - [GraphQL Specification](https://spec.graphql.org/) |
External URL reference
| 938 | - [Apollo Federation](https://www.apollographql.com/docs/federation/) |
External URL reference
| 940 | - [GraphQL Best Practices](https://graphql.org/learn/best-practices/) |