GitGuardian/ggmcp
MCP server for remediating hardcoded secrets using GitGuardian’s API. It detects over 600 secret types and prevents credential leaks before code is made public.
cb44d24a36c2ggmcp0.8.0 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 28 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 22 of 64 tools, prompts and resources could not be followed through the code
- 5 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
- 16 tools, prompts and resources registered only in the repository's tests are not counted on this page
Top risks in plain words
- MEDIUM2 production dependencies have known vulnerabilities (worst: medium).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Update its vulnerable packages
Use
opentelemetry-api1.45.2 or later,pyjwt2.15.0 or later. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 48 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
add_internal_incident_comment, add_internal_incident_custom_tag, add_public_incident_comment, add_public_incident_custom_tag, assign_internal_incident, count_internal_incidents and 20 moreadd_internal_incident_comment, add_internal_incident_custom_tag, add_public_incident_comment, add_public_incident_custom_tag, assign_internal_incident, count_internal_incidents and 20 moreNo tool was seen to: start other programs on the machine; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
53 request addresses could not be settled from the code (built at run time).
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files26 tools · add_internal_incident_comment, add_internal_incident_custom_tag, add_public_incident_comment +23
- web or API responses26 tools · add_internal_incident_comment, add_internal_incident_custom_tag, add_public_incident_comment +23
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (48: 48 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
add_internal_incident_commenttool (Internal incidents only; for Public Monitoring use add_public_incident_comment) Add a comment to an internal secret incident. Returns the comment and its commeFilesNetworkoutside text
(Internal incidents only; for Public Monitoring use add_public_incident_comment) Add a comment to an internal secret incident. Returns the comment and its comment_id, which edit_internal_incident_comment takes.
add_internal_incident_custom_tagtool (Internal incidents only; for Public Monitoring use add_public_incident_custom_tag) Add one custom tag, a key with an optional value, to an internal secret inciFilesNetworkoutside text
(Internal incidents only; for Public Monitoring use add_public_incident_custom_tag) Add one custom tag, a key with an optional value, to an internal secret incident. Its other tags stay. Returns the incident's tags.
add_public_incident_commenttool (Public Monitoring only; for internal incidents use add_internal_incident_comment) Add a comment to a public secret incident. Returns the comment and its commenFilesNetworkoutside text
(Public Monitoring only; for internal incidents use add_internal_incident_comment) Add a comment to a public secret incident. Returns the comment and its comment_id, which edit_public_incident_comment takes.
add_public_incident_custom_tagtool (Public Monitoring only; for internal incidents use add_internal_incident_custom_tag) Add one custom tag, a key and a value, to a public secret incident. Its otFilesNetworkoutside text
(Public Monitoring only; for internal incidents use add_internal_incident_custom_tag) Add one custom tag, a key and a value, to a public secret incident. Its other tags stay. Returns the incident's tags.
assign_internal_incidenttool (Internal incidents only; for Public Monitoring use assign_public_incident) Assign an internal secret incident to one member, by member ID, by email, or to the FilesNetworkoutside text
(Internal incidents only; for Public Monitoring use assign_public_incident) Assign an internal secret incident to one member, by member ID, by email, or to the current user with mine. Returns the new assignee and the incident.
assign_public_incidenttool (Public Monitoring only; for internal incidents use assign_internal_incident) Assign a public secret incident to one member, by member ID, by email, or to the c
(Public Monitoring only; for internal incidents use assign_internal_incident) Assign a public secret incident to one member, by member ID, by email, or to the current user with mine. Returns the new assignee and the incident.
count_internal_incidentstool (Internal incidents only; Public Monitoring has no count tool) Count the internal incidents that match the filters list_internal_incidents takes, with the same FilesNetworkoutside text
(Internal incidents only; Public Monitoring has no count tool) Count the internal incidents that match the filters list_internal_incidents takes, with the same defaults, without listing them.
create_internal_incident_code_fix_requesttool (Internal incidents only) Ask GitGuardian to open pull requests that remove an internal incident's secret from the given locations, one pull request per source.FilesNetworkoutside text
(Internal incidents only) Ask GitGuardian to open pull requests that remove an internal incident's secret from the given locations, one pull request per source. The workspace must have code fixes enabled. Opening pull requests is visible to the repositories' owners: confirm with the user first.
edit_internal_incident_commenttool (Internal incidents only; for Public Monitoring use edit_public_incident_comment) Replace the body of a comment on an internal secret incident. Returns the commFilesNetworkoutside text
(Internal incidents only; for Public Monitoring use edit_public_incident_comment) Replace the body of a comment on an internal secret incident. Returns the comment.
edit_public_incident_commenttool (Public Monitoring only; for internal incidents use edit_internal_incident_comment) Replace the body of a comment on a public secret incident. Returns the commeFilesNetworkoutside text
(Public Monitoring only; for internal incidents use edit_internal_incident_comment) Replace the body of a comment on a public secret incident. Returns the comment.
generate_honeytokentool Get an AWS honeytoken to plant as a decoy, with advice on where to put it. Without new_token, returns your most recent active honeytoken rather than creating onFilesNetworkoutside text
Get an AWS honeytoken to plant as a decoy, with advice on where to put it. Without new_token, returns your most recent active honeytoken rather than creating one. Names must be unique among the workspace's active honeytokens.
get_gitguardian_resourcetool Open a GitGuardian incident from a pasted link or a bare incident ID. Start here when the user gives an incident link, or an incident ID without saying whether FilesNetworkoutside text
Open a GitGuardian incident from a pasted link or a bare incident ID. Start here when the user gives an incident link, or an incident ID without saying whether it is internal or public. A dashboard or public API incident link is read as the internal or Public Monitoring incident it points to. A bare ID is looked up as both, and the result says which matched, or that the ID is ambiguous. Returns the incident with its kind, ID and dashboard link. A link to an incidents list points to the list tools. Links for other instances or workspaces are refused; query strings and fragments are ignored; share-token links are unsupported.
get_internal_incidenttool (Internal incidents only; for Public Monitoring use get_public_incident) Get one internal incident: its detector, status, severity, assignee and tags, and up toFilesNetworkoutside text
(Internal incidents only; for Public Monitoring use get_public_incident) Get one internal incident: its detector, status, severity, assignee and tags, and up to with_occurrences of its occurrences; occurrences_count gives how many it has. with_history adds its comments and the record of its status changes and assignments.
get_membertool Get one workspace member by ID, such as an incident's assignee_id: name, email, role and whether the member is active.
Get one workspace member by ID, such as an incident's assignee_id: name, email, role and whether the member is active.
get_my_identitytool Describe the caller: the workspace member the token belongs to (name, email, role) and the token itself (scopes, expiry). Use it when the user asks who they areFilesNetworkoutside text
Describe the caller: the workspace member the token belongs to (name, email, role) and the token itself (scopes, expiry). Use it when the user asks who they are signed in as or what this server lets them do, or when a call was refused for permissions.
get_public_incidenttool (Public Monitoring only; for internal incidents use get_internal_incident) Get one public incident: its detector, status, severity, validity, risk score, tags,
(Public Monitoring only; for internal incidents use get_internal_incident) Get one public incident: its detector, status, severity, validity, risk score, tags, dates and assignee. with_history adds its comments and the record of its status changes and assignments.
get_remediation_workflowtool Get the workspace's remediation workflow: the ordered steps the dashboard shows for fixing a secret incident, the workspace's own if it has one, otherwise the d
Get the workspace's remediation workflow: the ordered steps the dashboard shows for fixing a secret incident, the workspace's own if it has one, otherwise the default.
ignore_internal_incidenttool (Internal incidents only; for Public Monitoring use ignore_public_incident) Ignore an internal secret incident. The ignore_reason must come from the user: ask, FilesNetworkoutside text
(Internal incidents only; for Public Monitoring use ignore_public_incident) Ignore an internal secret incident. The ignore_reason must come from the user: ask, do not choose. Returns the incident's new status and the incident.
ignore_public_incidenttool (Public Monitoring only; for internal incidents use ignore_internal_incident) Ignore a public secret incident. The ignore_reason must come from the user: ask, d
(Public Monitoring only; for internal incidents use ignore_internal_incident) Ignore a public secret incident. The ignore_reason must come from the user: ask, do not choose. Returns the incident's new status and the incident.
list_custom_tagstool List the custom tags defined in the workspace, with their IDs, keys and values.
List the custom tags defined in the workspace, with their IDs, keys and values.
list_detectorstool List GitGuardian's secret detectors: their name, display name, category, and whether they are enabled in the workspace.FilesNetworkoutside text
List GitGuardian's secret detectors: their name, display name, category, and whether they are enabled in the workspace.
list_honeytokenstool List the workspace's honeytokens: their name, status (active, triggered when someone used one, or revoked), dates and creator. Their credentials are not include
List the workspace's honeytokens: their name, status (active, triggered when someone used one, or revoked), dates and creator. Their credentials are not included.
list_internal_incident_locationstool (Internal incidents only) List the files that still hold an internal incident's secret, one location per file of a source, on its default branch: the lines of eFilesNetworkoutside text
(Internal incidents only) List the files that still hold an internal incident's secret, one location per file of a source, on its default branch: the lines of each match, and the pull requests already opened to fix it. These are the places to remediate, and their IDs are what create_internal_incident_code_fix_request takes.
list_internal_incident_memberstool (Internal incidents only) List the members who can see an internal incident, with their permission on it.FilesNetworkoutside text
(Internal incidents only) List the members who can see an internal incident, with their permission on it.
list_internal_incident_teamstool (Internal incidents only) List the teams that can see an internal incident, with their permission on it.FilesNetworkoutside text
(Internal incidents only) List the teams that can see an internal incident, with their permission on it.
list_internal_incidentstool (Internal incidents only; for Public Monitoring use list_public_incidents) List the secret incidents found in the sources the workspace integrates: Git repositoFilesNetworkoutside text
(Internal incidents only; for Public Monitoring use list_public_incidents) List the secret incidents found in the sources the workspace integrates: Git repositories, Slack, Jira, container registries and more. Filters narrow by status, severity, validity, source, detector, tags and more; by default, ignored incidents, low and info severities, invalid secrets and test files are left out. mine=true lists the incidents assigned to the current user. Each incident's secret and occurrence are summarized; call get_internal_incident for the full incident.
list_internal_occurrencestool (Internal incidents only; for Public Monitoring use list_public_occurrences) List where secrets were found, with file paths, lines and character positions, in oFilesNetworkoutside text
(Internal incidents only; for Public Monitoring use list_public_occurrences) List where secrets were found, with file paths, lines and character positions, in one source (source_id) or for one incident (incident_id). By default, occurrences of ignored incidents, low and info severities, invalid secrets and test files are left out; to list every occurrence of one incident, pass incident_id and [] for tags, exclude_tags, status, severity and validity.
list_memberstool List the workspace's members, by name or email, role and activity: to find the member to assign an incident to, or who a member ID is.
List the workspace's members, by name or email, role and activity: to find the member to assign an incident to, or who a member ID is.
list_public_incidentstool (Public Monitoring only; for internal incidents use list_internal_incidents) List the incidents Public Monitoring found outside the organization: public GitHub
(Public Monitoring only; for internal incidents use list_internal_incidents) List the incidents Public Monitoring found outside the organization: public GitHub repositories and gists, Docker Hub and other public sources. By default, ignored incidents, low and info severities and invalid secrets are left out.
list_public_occurrencestool (Public Monitoring only; for internal incidents use list_internal_occurrences) List where a public incident's secret was found: file path, commit, repository, a
(Public Monitoring only; for internal incidents use list_internal_occurrences) List where a public incident's secret was found: file path, commit, repository, author, and why it was attached to the incident.
list_sourcestool (Internal incidents only) List the sources the workspace monitors: Git repositories, Slack, Jira, container registries and other integrations, by type, health,
(Internal incidents only) List the sources the workspace monitors: Git repositories, Slack, Jira, container registries and other integrations, by type, health, visibility, criticality, team or scan status. Public Monitoring's sources are not listed.
remove_internal_incident_custom_tagtool (Internal incidents only; for Public Monitoring use remove_public_incident_custom_tag) Remove one custom tag from an internal secret incident, or every tag withFilesNetworkoutside text
(Internal incidents only; for Public Monitoring use remove_public_incident_custom_tag) Remove one custom tag from an internal secret incident, or every tag with a key when no value is given. Its other tags stay. Returns the incident's tags.
remove_public_incident_custom_tagtool (Public Monitoring only; for internal incidents use remove_internal_incident_custom_tag) Remove one custom tag from a public secret incident, or every tag with FilesNetworkoutside text
(Public Monitoring only; for internal incidents use remove_internal_incident_custom_tag) Remove one custom tag from a public secret incident, or every tag with a key when no value is given. Its other tags stay. Returns the incident's tags.
reopen_internal_incidenttool (Internal incidents only; for Public Monitoring use reopen_public_incident) Reopen a resolved or ignored internal secret incident. Returns the incident's new stFilesNetworkoutside text
(Internal incidents only; for Public Monitoring use reopen_public_incident) Reopen a resolved or ignored internal secret incident. Returns the incident's new status and the incident.
reopen_public_incidenttool (Public Monitoring only; for internal incidents use reopen_internal_incident) Reopen a resolved or ignored public secret incident. Returns the incident's new st
(Public Monitoring only; for internal incidents use reopen_internal_incident) Reopen a resolved or ignored public secret incident. Returns the incident's new status and the incident.
resolve_internal_incidenttool (Internal incidents only; for Public Monitoring use resolve_public_incident) Resolve an internal secret incident. secret_revoked must come from the user: ask whFilesNetworkoutside text
(Internal incidents only; for Public Monitoring use resolve_public_incident) Resolve an internal secret incident. secret_revoked must come from the user: ask whether the secret was revoked or rotated. Returns the incident's new status and the incident.
resolve_public_incidenttool (Public Monitoring only; for internal incidents use resolve_internal_incident) Resolve a public secret incident. The resolve_reason must come from the user: ask
(Public Monitoring only; for internal incidents use resolve_internal_incident) Resolve a public secret incident. The resolve_reason must come from the user: ask, do not choose. Returns the incident's new status and the incident.
revoke_secrettool Ask a secret's provider to revoke it, so that it can no longer be used: an incident's secret_id, internal or public. This cannot be undone, and everything that
Ask a secret's provider to revoke it, so that it can no longer be used: an incident's secret_id, internal or public. This cannot be undone, and everything that uses the secret stops working: confirm with the user first. It uses the workspace's default revocation credentials; only secrets whose detector has a revoker can be revoked, and success is false with a reason otherwise. The workspace must allow reading secrets through the API, which on GitGuardian SaaS also needs an IP allowlist; otherwise the API refuses with a 403.
scan_secretstool Scan file contents for secrets, before they are committed. Returns, for each document, the secrets found in it (policy breaks). A secret whose incident was alre
Scan file contents for secrets, before they are committed. Returns, for each document, the secrets found in it (policy breaks). A secret whose incident was already resolved or ignored is still reported, with is_excluded=true and an exclude_reason: it is still in the content, so do not report the content as clean.
set_internal_incident_severitytool (Internal incidents only; for Public Monitoring use set_public_incident_severity) Set an internal secret incident's severity. The severity must come from the usFilesNetworkoutside text
(Internal incidents only; for Public Monitoring use set_public_incident_severity) Set an internal secret incident's severity. The severity must come from the user: ask, do not choose. Returns the incident's severity now and the incident.
set_public_incident_severitytool (Public Monitoring only; for internal incidents use set_internal_incident_severity) Set a public secret incident's severity. The severity must come from the use
(Public Monitoring only; for internal incidents use set_internal_incident_severity) Set a public secret incident's severity. The severity must come from the user: ask, do not choose. Returns the incident's severity now and the incident.
unassign_internal_incidenttool (Internal incidents only; for Public Monitoring use unassign_public_incident) Remove the assignee of an internal secret incident. Returns the incident.FilesNetworkoutside text
(Internal incidents only; for Public Monitoring use unassign_public_incident) Remove the assignee of an internal secret incident. Returns the incident.
unassign_public_incidenttool (Public Monitoring only; for internal incidents use unassign_internal_incident) Remove the assignee of a public secret incident. Returns the incident.
(Public Monitoring only; for internal incidents use unassign_internal_incident) Remove the assignee of a public secret incident. Returns the incident.
Text the model reads (49)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
scan_secrets tool
Scan file contents for secrets, before they are committed. Returns, for each document, the secrets found in it (policy breaks). A secret whose incident was already resolved or ignored is still reported, with is_excluded=true and an exclude_reason: it is still in the content, so do not report the content as clean.
list_internal_incidents tool
(Internal incidents only; for Public Monitoring use list_public_incidents) List the secret incidents found in the sources the workspace integrates: Git repositories, Slack, Jira, container registries and more. Filters narrow by status, severity, validity, source, detector, tags and more; by default, ignored incidents, low and info severities, invalid secrets and test files are left out. mine=true lists the incidents assigned to the current user. Each incident's secret and occurrence are summarized; call get_internal_incident for the full incident.
count_internal_incidents tool
(Internal incidents only; Public Monitoring has no count tool) Count the internal incidents that match the filters list_internal_incidents takes, with the same defaults, without listing them.
list_internal_occurrences tool
(Internal incidents only; for Public Monitoring use list_public_occurrences) List where secrets were found, with file paths, lines and character positions, in one source (source_id) or for one incident (incident_id). By default, occurrences of ignored incidents, low and info severities, invalid secrets and test files are left out; to list every occurrence of one incident, pass incident_id and [] for tags, exclude_tags, status, severity and validity.
list_public_incidents tool
(Public Monitoring only; for internal incidents use list_internal_incidents) List the incidents Public Monitoring found outside the organization: public GitHub repositories and gists, Docker Hub and other public sources. By default, ignored incidents, low and info severities and invalid secrets are left out.
get_public_incident tool
(Public Monitoring only; for internal incidents use get_internal_incident) Get one public incident: its detector, status, severity, validity, risk score, tags, dates and assignee. with_history adds its comments and the record of its status changes and assignments.
list_public_occurrences tool
(Public Monitoring only; for internal incidents use list_internal_occurrences) List where a public incident's secret was found: file path, commit, repository, author, and why it was attached to the incident.
generate_honeytoken tool
Get an AWS honeytoken to plant as a decoy, with advice on where to put it. Without new_token, returns your most recent active honeytoken rather than creating one. Names must be unique among the workspace's active honeytokens.
list_sources tool
(Internal incidents only) List the sources the workspace monitors: Git repositories, Slack, Jira, container registries and other integrations, by type, health, visibility, criticality, team or scan status. Public Monitoring's sources are not listed.
get_gitguardian_resource tool
Open a GitGuardian incident from a pasted link or a bare incident ID. Start here when the user gives an incident link, or an incident ID without saying whether it is internal or public. A dashboard or public API incident link is read as the internal or Public Monitoring incident it points to. A bare ID is looked up as both, and the result says which matched, or that the ID is ambiguous. Returns the incident with its kind, ID and dashboard link. A link to an incidents list points to the list tools. Links for other instances or workspaces are refused; query strings and fragments are ignored; share-token links are unsupported.
get_internal_incident tool
(Internal incidents only; for Public Monitoring use get_public_incident) Get one internal incident: its detector, status, severity, assignee and tags, and up to with_occurrences of its occurrences; occurrences_count gives how many it has. with_history adds its comments and the record of its status changes and assignments.
get_remediation_workflow tool
Get the workspace's remediation workflow: the ordered steps the dashboard shows for fixing a secret incident, the workspace's own if it has one, otherwise the default.
get_my_identity tool
Describe the caller: the workspace member the token belongs to (name, email, role) and the token itself (scopes, expiry). Use it when the user asks who they are signed in as or what this server lets them do, or when a call was refused for permissions.
resolve_internal_incident tool
(Internal incidents only; for Public Monitoring use resolve_public_incident) Resolve an internal secret incident. secret_revoked must come from the user: ask whether the secret was revoked or rotated. Returns the incident's new status and the incident.
ignore_internal_incident tool
(Internal incidents only; for Public Monitoring use ignore_public_incident) Ignore an internal secret incident. The ignore_reason must come from the user: ask, do not choose. Returns the incident's new status and the incident.
reopen_internal_incident tool
(Internal incidents only; for Public Monitoring use reopen_public_incident) Reopen a resolved or ignored internal secret incident. Returns the incident's new status and the incident.
resolve_public_incident tool
(Public Monitoring only; for internal incidents use resolve_internal_incident) Resolve a public secret incident. The resolve_reason must come from the user: ask, do not choose. Returns the incident's new status and the incident.
ignore_public_incident tool
(Public Monitoring only; for internal incidents use ignore_internal_incident) Ignore a public secret incident. The ignore_reason must come from the user: ask, do not choose. Returns the incident's new status and the incident.
reopen_public_incident tool
(Public Monitoring only; for internal incidents use reopen_internal_incident) Reopen a resolved or ignored public secret incident. Returns the incident's new status and the incident.
assign_internal_incident tool
(Internal incidents only; for Public Monitoring use assign_public_incident) Assign an internal secret incident to one member, by member ID, by email, or to the current user with mine. Returns the new assignee and the incident.
unassign_internal_incident tool
(Internal incidents only; for Public Monitoring use unassign_public_incident) Remove the assignee of an internal secret incident. Returns the incident.
assign_public_incident tool
(Public Monitoring only; for internal incidents use assign_internal_incident) Assign a public secret incident to one member, by member ID, by email, or to the current user with mine. Returns the new assignee and the incident.
unassign_public_incident tool
(Public Monitoring only; for internal incidents use unassign_internal_incident) Remove the assignee of a public secret incident. Returns the incident.
add_internal_incident_custom_tag tool
(Internal incidents only; for Public Monitoring use add_public_incident_custom_tag) Add one custom tag, a key with an optional value, to an internal secret incident. Its other tags stay. Returns the incident's tags.
remove_internal_incident_custom_tag tool
(Internal incidents only; for Public Monitoring use remove_public_incident_custom_tag) Remove one custom tag from an internal secret incident, or every tag with a key when no value is given. Its other tags stay. Returns the incident's tags.
add_public_incident_custom_tag tool
(Public Monitoring only; for internal incidents use add_internal_incident_custom_tag) Add one custom tag, a key and a value, to a public secret incident. Its other tags stay. Returns the incident's tags.
remove_public_incident_custom_tag tool
(Public Monitoring only; for internal incidents use remove_internal_incident_custom_tag) Remove one custom tag from a public secret incident, or every tag with a key when no value is given. Its other tags stay. Returns the incident's tags.
list_custom_tags tool
List the custom tags defined in the workspace, with their IDs, keys and values.
list_internal_incident_locations tool
(Internal incidents only) List the files that still hold an internal incident's secret, one location per file of a source, on its default branch: the lines of each match, and the pull requests already opened to fix it. These are the places to remediate, and their IDs are what create_internal_incident_code_fix_request takes.
create_internal_incident_code_fix_request tool
(Internal incidents only) Ask GitGuardian to open pull requests that remove an internal incident's secret from the given locations, one pull request per source. The workspace must have code fixes enabled. Opening pull requests is visible to the repositories' owners: confirm with the user first.
list_members tool
List the workspace's members, by name or email, role and activity: to find the member to assign an incident to, or who a member ID is.
get_member tool
Get one workspace member by ID, such as an incident's assignee_id: name, email, role and whether the member is active.
list_internal_incident_members tool
(Internal incidents only) List the members who can see an internal incident, with their permission on it.
list_internal_incident_teams tool
(Internal incidents only) List the teams that can see an internal incident, with their permission on it.
list_honeytokens tool
List the workspace's honeytokens: their name, status (active, triggered when someone used one, or revoked), dates and creator. Their credentials are not included.
list_detectors tool
List GitGuardian's secret detectors: their name, display name, category, and whether they are enabled in the workspace.
set_internal_incident_severity tool
(Internal incidents only; for Public Monitoring use set_public_incident_severity) Set an internal secret incident's severity. The severity must come from the user: ask, do not choose. Returns the incident's severity now and the incident.
set_public_incident_severity tool
(Public Monitoring only; for internal incidents use set_internal_incident_severity) Set a public secret incident's severity. The severity must come from the user: ask, do not choose. Returns the incident's severity now and the incident.
revoke_secret tool
Ask a secret's provider to revoke it, so that it can no longer be used: an incident's secret_id, internal or public. This cannot be undone, and everything that uses the secret stops working: confirm with the user first. It uses the workspace's default revocation credentials; only secrets whose detector has a revoker can be revoked, and success is false with a reason otherwise. The workspace must allow reading secrets through the API, which on GitGuardian SaaS also needs an IP allowlist; otherwise the API refuses with a 403.
add_internal_incident_comment tool
(Internal incidents only; for Public Monitoring use add_public_incident_comment) Add a comment to an internal secret incident. Returns the comment and its comment_id, which edit_internal_incident_comment takes.
edit_internal_incident_comment tool
(Internal incidents only; for Public Monitoring use edit_public_incident_comment) Replace the body of a comment on an internal secret incident. Returns the comment.
add_public_incident_comment tool
(Public Monitoring only; for internal incidents use add_internal_incident_comment) Add a comment to a public secret incident. Returns the comment and its comment_id, which edit_public_incident_comment takes.
edit_public_incident_comment tool
(Public Monitoring only; for internal incidents use edit_internal_incident_comment) Replace the body of a comment on a public secret incident. Returns the comment.
scan_secrets tool
Accept scan parameters without making an API request.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 42 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 42 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 42 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 42 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 42 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 48 capabilities; 26 more call code the scanner could not follow, where it may happen
- Tools that touch files26 of 48 capabilities touch files
- Tools that call the network26 of 48 capabilities call the network
Where the code is: 48 handlers in 17 files at commit cb44d24a36c2
src/gg_api_core/mcp_server.py(name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time)src/gg_mcp_server/register_tools.pyscan_secrets, list_public_incidents, get_public_incident, list_public_occurrences, list_sources, get_remediation_workflow, resolve_public_incident, ignore_public_incident, reopen_public_incident, assign_public_incident, unassign_public_incident, list_custom_tags +5src/gg_api_core/tools/list_internal_incidents.pylist_internal_incidentssrc/gg_api_core/tools/count_internal_incidents.pycount_internal_incidentssrc/gg_api_core/tools/list_internal_occurrences.pylist_internal_occurrencessrc/gg_api_core/tools/generate_honey_token.pygenerate_honeytokensrc/gg_api_core/tools/get_gitguardian_resource.pyget_gitguardian_resourcesrc/gg_api_core/tools/get_internal_incident.pyget_internal_incidentsrc/gg_api_core/tools/get_my_identity.pyget_my_identitysrc/gg_api_core/tools/incident_status.pyresolve_internal_incident, ignore_internal_incident, reopen_internal_incidentsrc/gg_api_core/tools/incident_assignment.pyassign_internal_incident, unassign_internal_incidentsrc/gg_api_core/tools/incident_custom_tags.pyadd_internal_incident_custom_tag, remove_internal_incident_custom_tag, add_public_incident_custom_tag, remove_public_incident_custom_tagsrc/gg_api_core/tools/incident_locations.pylist_internal_incident_locations, create_internal_incident_code_fix_requestsrc/gg_api_core/tools/members.pylist_internal_incident_members, list_internal_incident_teamssrc/gg_api_core/tools/catalog_reads.pylist_detectorssrc/gg_api_core/tools/incident_severity.pyset_internal_incident_severitysrc/gg_api_core/tools/incident_comments.pyadd_internal_incident_comment, edit_internal_incident_comment, add_public_incident_comment, edit_public_incident_comment
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: pyproject.toml
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependencies MEDIUM2 production packages with known advisories
- Known vulnerabilities in other dependencies1 package with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK versionfastmcp ~=4.1, mcp ~=2.3
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 48 capabilities; 26 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (1 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (2 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
pyjwtPyPI 2.14.0 MEDIUM 4 advisories 2.15.0
- MEDIUMPYSEC-2026-4141 CVE-2026-101918 GHSA-42vr-xj54-vc7vPyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
- MEDIUMGHSA-42vr-xj54-vc7v CVE-2026-101918 PYSEC-2026-4141PyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
- MEDIUMPYSEC-2026-4183 CVE-2026-102275 GHSA-x33g-cr3x-6449PyJWT is a Python implementation of JSON Web Token standards. From 2.1.0 until 2.15.0, PyJWT OKPAlgorithm.from_jwk in jwt/algorithms.py is affected because private-JWK import path does not compare the public key derived from d with x. This occurs when an OKP private JWK supplies non-corresponding x and d components. As a result, identity derived from x can differ from operations performed with d. Consequently, if an integration also accepts private key parameters from a proof header without rejecting them, an attacker may use a stolen sender-constrained token without the legitimate private key. This issue is fixed in version 2.15.0.
- MEDIUMGHSA-x33g-cr3x-6449 CVE-2026-102275 PYSEC-2026-4183PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion
opentelemetry-apiPyPI 1.43.0 MEDIUM 2 advisories 1.45.11.45.2
- MEDIUMGHSA-mf5v-w3w3-f6cg CVE-2026-126360OpenTelemetry Python API: Denial of service through quadratic-time traceparent parsing
- MEDIUMGHSA-xcq7-p3pf-p88h CVE-2026-114603OpenTelemetry Python: Unbounded tracestate parsing in opentelemetry-api
1 vulnerable package outside the server itself (used only for development, tests or examples, not shipped)
pytestPyPI 8.4.2 MEDIUM 2 advisories 9.0.3
- MEDIUMPYSEC-2026-1845 CVE-2025-71176 GHSA-6w46-j5rx-g56gpytest has vulnerable tmpdir handling
- MEDIUMGHSA-6w46-j5rx-g56g CVE-2025-71176 PYSEC-2026-1845pytest has vulnerable tmpdir handling
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | fastmcp ~=4.1, mcp ~=2.3 |
| Servers in the code | 3 (sentry-scrubbing-test, lifecycle, scoped) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-10 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | MIT |
| Created | 2025-05-14 |
| Topics | mcp mcp-server secrets security |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.