ai-integration
Guides integration of AI and LLM features into applications, covering chat interfaces, streaming responses, and RAG pipelines.
Install this skill
Security score
The ai-integration skill was audited on Feb 28, 2026 and we found 29 security issues across 4 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 231 | <div key={m.id} className={`flex ${m.role === 'user' ? 'justify-end' : 'justify-start'}`}> |
Template literal with variable interpolation in command context
| 232 | <div className={`max-w-md px-4 py-2 rounded-lg ${ |
Template literal with variable interpolation in command context
| 340 | controller.enqueue(encoder.encode(`data: ${JSON.stringify({ content })}\n\n`)); |
Template literal with variable interpolation in command context
| 481 | content: `You are a helpful assistant. Use the following context to answer the user's question:\n\n${contextText}`, |
Template literal with variable interpolation in command context
| 531 | return db.execute(sql` |
Template literal with variable interpolation in command context
| 702 | throw new Error(`Rate limit exceeded. Try again in ${Math.ceil((reset - Date.now()) / 1000)}s`); |
Template literal with variable interpolation in command context
| 788 | throw new Error(`Content flagged for: ${categories.join(', ')}`); |
Template literal with variable interpolation in command context
| 907 | const key = `ai:cost:${today}`; |
Template literal with variable interpolation in command context
| 917 | const cost = await redis.get<number>(`ai:cost:${today}`); |
Access to .env file
| 123 | **Check .env.example for documentation:** |
Access to .env file
| 128 | - path: ".env.example" |
Access to .env file
| 137 | - file: ".env.example" |
Access to .env file
| 283 | const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY }); |
Access to .env file
| 324 | const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY }); |
Access to .env file
| 426 | const apiKey = process.env.PINECONE_API_KEY; |
Access to .env file
| 553 | host: process.env.WEAVIATE_HOST!, |
Access to .env file
| 554 | apiKey: { apiKey: process.env.WEAVIATE_API_KEY! }, |
Access to .env file
| 688 | url: process.env.UPSTASH_REDIS_REST_URL!, |
Access to .env file
| 689 | token: process.env.UPSTASH_REDIS_REST_TOKEN!, |
Access to .env file
| 777 | const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY }); |
Access to .env file
| 885 | url: process.env.UPSTASH_REDIS_REST_URL!, |
Access to .env file
| 886 | token: process.env.UPSTASH_REDIS_REST_TOKEN!, |
Access to .env file
| 939 | 2. API keys documented in .env.example |
Prompt injection: new instructions directive
| 747 | /new instructions:/i, |
External URL reference
| 592 | const url = new URL('https://api.weather.com/v1/current'); |
External URL reference
| 825 | const req = new Request('http://localhost/api/chat', { |
External URL reference
| 999 | - [Vercel AI SDK Documentation](https://sdk.vercel.ai/docs) |
External URL reference
| 1000 | - [OpenAI API Reference](https://platform.openai.com/docs/api-reference) |
External URL reference
| 1002 | - [LangChain Documentation](https://js.langchain.com/docs/) |
Install this skill with one command
/learn @mgd34msu/ai-integration