ToolTrust
C40/100
google-gemini

gemini-cli

mcp0.46.0-preview.0

@google-gemini

An open-source AI agent that brings the power of Gemini directly into your terminal.

By google-gemini | 102 findings | Scanned 6/3/2026 | tooltrust-scanner/v0.3.13 | 104.9k

10 High22 Medium14 Low56 Info

Risk Summary

Needs Approval

Dep Visibility plus Excessive Permissions raises enough risk that this tool should not be auto-trusted.

Potential impact: This finding indicates the tool should be reviewed before it is trusted.

Recommended action: Keep this tool behind manual approval and avoid unattended runs until the risky capabilities are narrowed or removed.

Suggested policy: keep this tool behind manual approval, do not allow unattended runs, and re-scan after narrowing risky permissions.

Security Findings (102)

  • HighAS-002

    ⚠️Excessive Permissions ×10

    tool declares network permission

    slides.getImagesslides.getSlideThumbnaildrive.searchdrive.downloadFilecalendar.createEventcalendar.updateEventgmail.searchgmail.downloadAttachment

    tool declares exec permission

    calendar.createEventcalendar.updateEvent

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • MediumAS-002

    ⚠️Excessive Permissions ×22

    tool declares fs permission

    drive.getCommentsdocs.createdocs.writeTextdrive.findFolderdrive.createFolderslides.getImagesslides.getSlideThumbnaildrive.searchdrive.downloadFiledrive.moveFiledrive.trashFiledrive.renameFilecalendar.createEventcalendar.updateEventcalendar.deleteEventgmail.downloadAttachmentgmail.createDraftgmail.createLabelpeople.getUserProfilepeople.getMe

    tool declares db permission

    drive.searchgmail.search

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • LowAS-011

    ℹ️Missing Rate-Limit / Timeout ×11

    tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration

    slides.getImagesslides.getSlideThumbnaildrive.searchdrive.downloadFilecalendar.createEventcalendar.updateEventgmail.searchgmail.downloadAttachmentgmail.batchModifygmail.sendgmail.createDraft

    Fix: Declare explicit rate-limit, timeout, and retry configuration for all network and execution tools. Implement exponential back-off and surface resource state to the calling agent.

  • LowAS-002

    ⚠️Excessive Permissions ×3

    tool declares http permission

    gmail.batchModifygmail.sendgmail.createDraft

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • InfoAS-014

    ℹ️Dependency Inventory Unavailable ×56

    Tool did not expose metadata.dependencies or repo_url, so supply-chain coverage is limited.

    auth.clearauth.refreshTokendocs.getSuggestionsdrive.getCommentsdocs.createdocs.writeTextdrive.findFolderdrive.createFolderdocs.getTextdocs.replaceTextdocs.formatTextslides.getTextslides.getMetadataslides.getImagesslides.getSlideThumbnailsheets.getTextsheets.getRangesheets.getMetadatadrive.searchdrive.downloadFiledrive.moveFiledrive.trashFiledrive.renameFilecalendar.listcalendar.createEventcalendar.listEventscalendar.getEventcalendar.findFreeTimecalendar.updateEventcalendar.respondToEventcalendar.deleteEventchat.listSpaceschat.findSpaceByNamechat.sendMessagechat.getMessageschat.sendDmchat.findDmByEmailchat.listThreadschat.setUpSpacegmail.searchgmail.getgmail.downloadAttachmentgmail.modifygmail.batchModifygmail.modifyThreadgmail.sendgmail.createDraftgmail.sendDraftgmail.listLabelsgmail.createLabeltime.getCurrentDatetime.getCurrentTimetime.getTimeZonepeople.getUserProfilepeople.getMepeople.getUserRelations

    Fix: Review and remediate the identified issue.

Scan this tool yourself

Reproduce this audit locally, integrate into CI, or let your agent audit its own tools.

Install once, then scan any MCP server:

$ curl -sfL https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-scanner/main/install.sh | bash
$ tooltrust-scanner scan --server "npx -y gemini-cli"

Adjust the package name if your npm registry name differs from the tool ID. View source

Add badge to your README

Copy this Markdown to show your ToolTrust grade on GitHub.

[![ToolTrust Grade C](https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-directory/main/docs/badges/grade-c.svg)](https://github.com/AgentSafe-AI/tooltrust-directory)