Unverified50% confidenceSolutionExact time
The principle of least privilege requires checking only the scopes actually needed on a GitHub token, mounting only the directories that genuinely need organizing in File System, and requiring secondary confirmation for deletion-type tools.
1
Sources
50%
Confidence
Long-term
Relevance
11/7/2026
First Seen
Sources
5 Most Practical MCP Servers: Browser, Repo, Files, Web Pages, and Memory
bilibiliAI雷达站11/6/2026
Related Entities
Related Claims
UnverifiedIf a directory is ignored by Git, Git will not recursively enter that directory to inspect the files inside; therefore, the !*/ rule is needed to preserve the directory structure in order for file-level whitelisting to take effect.72% similarUnverifiedA configured hook path only says where Git will look, not whether there is an executable file there.68% similarUnverifiedDefending against Gheist-type attacks should involve shortening GitHub token validity periods, assigning scopes according to the principle of least privilege, and mandating the use of fine-grained tokens.68% similarUnverifiedThe pushed:> parameter in GitHub search syntax can constrain results to repositories that have had recent code commits, used to exclude dormant repositories.68% similarUnverifiedWhen the path pointed to by core.hooksPath exists but the executable file is missing or lacks execute permission, Git treats it as having no hooks and silently continues the commit.67% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1145919API
curl https://kongchang.com/api/v1/knowledge/claims/1145919MCP
get_claim(id=1145919)