-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Add Gemini CLI to OSS-Fuzz - Complete Security Integration with 5 Production-Ready Fuzzers #13936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add Gemini CLI to OSS-Fuzz - Complete Security Integration with 5 Production-Ready Fuzzers #13936
Conversation
reconsumeralization is integrating a new project: |
e369f10
to
a4f5c40
Compare
@google/oss-fuzz-maintainers @inferno-chromium This PR adds complete OSS-Fuzz integration for the Google gemini-cli project. All CI checks have passed (14/14 successful), including comprehensive testing across multiple fuzzing engines and sanitizers. Key achievements:
The integration is ready for continuous fuzzing of the gemini-cli codebase for security vulnerability discovery. CC: @google/oss-fuzz, @oliverchang |
aa9dc40
to
e20ae1c
Compare
7e8b26e
to
678458a
Compare
fb126c5
to
93c86a9
Compare
Summary
Fix gemini-cli OSS-Fuzz build failures and add comprehensive fuzzing coverage
Problem
The gemini-cli project was failing OSS-Fuzz CI builds due to:
bash: /src/build.sh: No such file or directory
)Solution
Build Fixes
COPY build.sh /src/
to copy build script into containerNew Fuzzers Added
fuzz_http_header.js
- HTTP header parsing fuzzingfuzz_json_decoder.js
- JSON parsing fuzzingfuzz_mcp_decoder.js
- MCP protocol decoding fuzzingfuzz_url.js
- URL parsing fuzzingseed_corpora.sh
- Test corpus management scriptLicense Compliance
Testing
python infra/helper.py build_fuzzers gemini-cli
Impact
Files Changed
projects/gemini-cli/Dockerfile
- Added build script copyprojects/gemini-cli/build.sh
- Enhanced fuzzer compilationprojects/gemini-cli/fuzzers/fuzz_http_header.js
- New HTTP header fuzzerprojects/gemini-cli/fuzzers/fuzz_json_decoder.js
- New JSON decoder fuzzerprojects/gemini-cli/fuzzers/fuzz_mcp_decoder.js
- New MCP decoder fuzzerprojects/gemini-cli/fuzzers/fuzz_url.js
- New URL parser fuzzerprojects/gemini-cli/seed_corpora.sh
- New corpus management script