Skip to main content

next-cache-components

Expertise in Next.js 16 caching strategies, including the use of cache directives and component-level caching for optimized performance.

Install this skill

or
0/100

Security score

The next-cache-components skill was audited on May 12, 2026 and we found 32 security issues across 3 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 89

Template literal with variable interpolation in command context

SourceSKILL.md
89cacheTag(`user-${id}`);
medium line 91

Template literal with variable interpolation in command context

SourceSKILL.md
91const res = await fetch(`https://api.example.com/users/${id}`);
medium line 125

Template literal with variable interpolation in command context

SourceSKILL.md
125cacheTag(`user-profile-${userId}`);
medium line 127

Template literal with variable interpolation in command context

SourceSKILL.md
127const user = await fetch(`/api/users/${userId}`).then(r => r.json());
medium line 190

Template literal with variable interpolation in command context

SourceSKILL.md
190cacheTag(`blog-${slug}`);
medium line 192

Template literal with variable interpolation in command context

SourceSKILL.md
192return fetch(`/api/posts/${slug}`).then(r => r.json());
medium line 217

Template literal with variable interpolation in command context

SourceSKILL.md
217cacheTag('products', `product-${id}`);
medium line 219

Template literal with variable interpolation in command context

SourceSKILL.md
219return fetch(`/api/products/${id}`).then(r => r.json());
medium line 237

Template literal with variable interpolation in command context

SourceSKILL.md
237revalidateTag(`product-${id}`);
medium line 258

Template literal with variable interpolation in command context

SourceSKILL.md
258cacheTag('blog', `blog-${slug}`); // Specific post
medium line 260

Template literal with variable interpolation in command context

SourceSKILL.md
260cacheTag('blog', `blog-comments-${postId}`); // Post comments
medium line 266

Template literal with variable interpolation in command context

SourceSKILL.md
266revalidateTag(`blog-${slug}`);
medium line 311

Template literal with variable interpolation in command context

SourceSKILL.md
311cacheTag(`product-${productId}`);
medium line 313

Template literal with variable interpolation in command context

SourceSKILL.md
313const product = await fetch(`/api/products/${productId}`).then(r => r.json());
medium line 357

Template literal with variable interpolation in command context

SourceSKILL.md
357cacheTag('users', `user-${id}`);
medium line 418

Template literal with variable interpolation in command context

SourceSKILL.md
418cacheTag('products', `product-${id}`);
medium line 426

Template literal with variable interpolation in command context

SourceSKILL.md
426cacheTag('products', category ? `category-${category}` : 'all-products');
medium line 444

Template literal with variable interpolation in command context

SourceSKILL.md
444cacheTag(`product-${id}`);
low line 62

Fetch to external URL

SourceSKILL.md
62const data = await fetch('https://api.example.com/data');
low line 100

Fetch to external URL

SourceSKILL.md
100const res = await fetch('https://api.example.com/posts');
low line 367

Fetch to external URL

SourceSKILL.md
367const data = await fetch('https://api.example.com/data', {
low line 377

Fetch to external URL

SourceSKILL.md
377return fetch('https://api.example.com/data').then(r => r.json());
low line 62

External URL reference

SourceSKILL.md
62const data = await fetch('https://api.example.com/data');
low line 91

External URL reference

SourceSKILL.md
91const res = await fetch(`https://api.example.com/users/${id}`);
low line 100

External URL reference

SourceSKILL.md
100const res = await fetch('https://api.example.com/posts');
low line 367

External URL reference

SourceSKILL.md
367const data = await fetch('https://api.example.com/data', {
low line 377

External URL reference

SourceSKILL.md
377return fetch('https://api.example.com/data').then(r => r.json());
low line 478

External URL reference

SourceSKILL.md
478- [Next.js Caching Documentation](https://nextjs.org/docs/app/building-your-application/caching)
low line 479

External URL reference

SourceSKILL.md
479- [use cache Directive](https://nextjs.org/docs/app/api-reference/directives/use-cache)
low line 480

External URL reference

SourceSKILL.md
480- [cacheLife API](https://nextjs.org/docs/app/api-reference/functions/cacheLife)
low line 481

External URL reference

SourceSKILL.md
481- [cacheTag API](https://nextjs.org/docs/app/api-reference/functions/cacheTag)
low line 482

External URL reference

SourceSKILL.md
482- [Partial Prerendering](https://nextjs.org/docs/app/building-your-application/rendering/partial-prerendering)
Scanned on May 12, 2026
View Security Dashboard
Installation guide →