Skip to main content

google-gemini-api

Integrates Google Gemini API with the GenAI SDK for advanced multimodal AI capabilities, including text generation and function calling.

Install this skill

or
38/100

Security score

The google-gemini-api skill was audited on Feb 12, 2026 and we found 42 security issues across 4 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 767

Template literal with variable interpolation in command context

SourceSKILL.md
767console.log(`Model wants to call ${functionCalls.length} functions in parallel`);
medium line 1159

Template literal with variable interpolation in command context

SourceSKILL.md
1159`https://generativelanguage.googleapis.com/v1beta/${cache.name}:generateContent`,
medium line 1739

Template literal with variable interpolation in command context

SourceSKILL.md
1739console.log(`Sources used: ${sources.length}`);
medium line 1741

Template literal with variable interpolation in command context

SourceSKILL.md
1741console.log(`- ${source.title}: ${source.url}`);
low line 1117

Fetch to external URL

SourceSKILL.md
1117const response = await fetch(
medium line 99

Access to .env file

SourceSKILL.md
99Or create `.env` file:
low line 109

Access to .env file

SourceSKILL.md
109const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY });
low line 253

Access to .env file

SourceSKILL.md
253const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY });
low line 398

Access to .env file

SourceSKILL.md
398const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY });
low line 604

Access to .env file

SourceSKILL.md
604const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY });
low line 1095

Access to .env file

SourceSKILL.md
1095const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY });
low line 1224

Access to .env file

SourceSKILL.md
1224const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY });
low line 1323

Access to .env file

SourceSKILL.md
1323const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY });
low line 1612

Access to .env file

SourceSKILL.md
1612const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY });
low line 1666

Access to .env file

SourceSKILL.md
1666const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY });
low line 2240

Access to .env file

SourceSKILL.md
2240// 1. Use .env files (never commit)
low line 2246

Access to .env file

SourceSKILL.md
2246.env
low line 2247

Access to .env file

SourceSKILL.md
2247.env.local
low line 123

External URL reference

SourceSKILL.md
123`https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent`,
low line 267

External URL reference

SourceSKILL.md
267`https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent`,
low line 336

External URL reference

SourceSKILL.md
336`https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent`,
low line 431

External URL reference

SourceSKILL.md
431`https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent`,
low line 679

External URL reference

SourceSKILL.md
679`https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent`,
low line 820

External URL reference

SourceSKILL.md
820`https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent`,
low line 882

External URL reference

SourceSKILL.md
882`https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent`,
low line 911

External URL reference

SourceSKILL.md
911`https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent`,
low line 958

External URL reference

SourceSKILL.md
958`https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent`,
low line 1031

External URL reference

SourceSKILL.md
1031`https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent`,
low line 1118

External URL reference

SourceSKILL.md
1118'https://generativelanguage.googleapis.com/v1beta/cachedContents',
low line 1159

External URL reference

SourceSKILL.md
1159`https://generativelanguage.googleapis.com/v1beta/${cache.name}:generateContent`,
low line 1351

External URL reference

SourceSKILL.md
1351`https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent`,
low line 1635

External URL reference

SourceSKILL.md
1635`https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent`,
low line 1702

External URL reference

SourceSKILL.md
1702url: "https://example.com/euro-2024-results",
low line 1711

External URL reference

SourceSKILL.md
1711uri: "https://example.com/euro-2024-results"
low line 1983

External URL reference

SourceSKILL.md
1983fileUri: 'https://bucket.s3.region.amazonaws.com/file.pdf?X-Amz-Algorithm=...'
low line 2128

External URL reference

SourceSKILL.md
2128**Source**: [Official Troubleshooting Docs](https://ai.google.dev/gemini-api/docs/troubleshooting)
low line 2161

External URL reference

SourceSKILL.md
2161**Source**: [LaoZhang AI Blog](https://www.aifreeapi.com/en/posts/gemini-api-free-tier-limit) | [HowToGeek](https://www.howtogeek.com/gemini-slashed-free-api-limits-what-to-use-instead/)
low line 2172

External URL reference

SourceSKILL.md
2172// https://ai.google.dev/pricing
low line 2202

External URL reference

SourceSKILL.md
2202**Source**: [Arsturn Blog](https://www.arsturn.com/blog/gemini-2-5-pro-api-unreliable-slow-deep-dive) | Official docs
low line 2234

External URL reference

SourceSKILL.md
2234**Source**: [AI Free API Blog](https://www.aifreeapi.com/en/posts/gemini-api-free-tier-limit) | Official troubleshooting
low line 2343

External URL reference

SourceSKILL.md
2343**Sources**: [LaoZhang AI](https://www.aifreeapi.com/en/posts/gemini-api-free-tier-limit) | [HowToGeek](https://www.howtogeek.com/gemini-slashed-free-api-limits-what-to-use-instead/)
low line 2396

External URL reference

SourceSKILL.md
2396- Official rate limits: https://ai.google.dev/gemini-api/docs/rate-limits
Scanned on Feb 12, 2026
View Security Dashboard
Installation guide →