Skip to content
IAM Insights

Explainers · Glossary

SSH

Secure Shell · SSH keys

The protocol administrators and automated jobs use to log in to servers; its long-lived keys are a common unmanaged machine credential.

In our briefings

What our briefings say about SSH itself, with the most direct claims first.

  1. Beurer-Kellner and Fischer hid instructions in the description of a fake MCP tool called add, text the model reads but many clients never show the user. The hidden text tells the model to read ~/.cursor/mcp.json and ~/.ssh/id_rsa and pass their contents in an extra sidenote argument, to give "detailed reasoning about how adding two numbers" works while it reads, and not to mention the file reads to the user. In the Cursor transcript they show, the user asked the agent to add 5 and 1; the agent read mcp.json and an SSH key file, called add, and answered with an explanation of the sum. That config file can hold credentials for the user's other MCP servers. The prose speaks of SSH private keys, but the screenshot shows the agent reading id_rsa.pub, the public key. A second screenshot, the approval dialog for a call with different numbers, prints the opening of the sidenote and cuts the rest off at the edge of the window; the authors say even Cursor's extended view "does not show the full tool input (e.g. the included SSH key is completely hidden)".

    In Invariant Labs' Cursor test, hidden text in an MCP tool description got the agent to send out the user's MCP configBI-FIND-2025-0617

  2. Two of the 13 findings in the authors' disclosure set are CVEs in Anthropic's Git MCP Server, and the first shows a chain that a per-call check can miss. Its upstream advisory credits Yarden Porat with the first report and one of the paper's co-authors with the patch. git_init (CVE-2025-68143) accepted any repo_path, so an attacker-influenced argument could turn ~/.ssh into a Git repository; later git_add and git_diff_staged calls then "operate inside it legitimately" and return SSH private keys as diff output. The authors note that a check against only the repository a later call names would miss the earlier violation. git_add (CVE-2026-27735) staged ../ paths outside the repository through GitPython. The fixes removed git_init (version 2025.9.25) and handed staging to the Git command line, which rejects out-of-repository paths (2026.1.14). Only git_add went through the full three-case replay; git_init is a static finding.

    Approving a local MCP tool call does not limit the files it can reach, and researchers confirmed 150 casesBI-FIND-2026-1804

  3. Sexton gives Okta's internal figures for privileged access and governance. All of its production servers run with zero standing access and no SSH keys; admins request time-bound access that is revoked when the session ends. Under zero standing privilege super admins "don't hold any access", the practice now extends to crown-jewel applications, and "I think at the moment we're up to 500 roles" that are requested, time-bound and revoked at the end of the session. He also counts 4,000 service-account rotations, 10,000 access requests provisioned through Okta Identity Governance last month and more than 400 campaigns this year. Manual processes, he says, came down from four days to a couple of days, "but that's gathering our approvals as well". The figures are stated in the talk, with no period given for the rotations.

    Okta's own IAM team says its response to a risky AI agent is a blunt stop, for nowBI-FIND-2026-2509

›Cited in 24 briefings

Every briefing that discusses this term, newest first.

  1. Okta's own IAM team says its response to a risky AI agent is a blunt stop, for now

    Video · · Okta · Nov 21, 2026

  2. Keep Maester's Active Directory tests off domain controllers, its maintainers warn: the cache can exhaust memory

    Podcast · · Entra.Chat · Active Directory Security Testing in Maester 2.2 · Sep 17, 2026

  3. ceLLMate checks a browser agent's HTTP requests, not its clicks, and blocked all 12 scripted GitLab attacks

    Paper · · arXiv · Luoxi Meng et al. · Dec 14, 2025

  4. Two WIMSE participants say AI agents are workloads, and existing standards already cover most of the job

    Video · · Identerati Office Hours · Nov 6, 2026

  5. Approving a local MCP tool call does not limit the files it can reach, and researchers confirmed 150 cases

    Paper · · arXiv · Zeqian Huang et al. · Oct 15, 2026

  6. Datadog keeps tokens out of its AI agents' sandboxes: each holds an identity only the gateway accepts

    Video · · fwd:cloudsec · Uploaded September 25, 2026

  7. Shai-Hulud v4 used an MCP tool description to tell AI assistants to read SSH keys and keep quiet about it

    Video · · OWASP Foundation · Uploaded October 22, 2026

  8. A coding agent tricked into writing one file lets the editor's language server send your keys out

    Video · · Black Hat · Aug 18, 2026

  9. OWASP's agent Top 10 blames identity systems built for people, and does not say how it chose or ranked its risks

    Article · · OWASP GenAI Security Project · John Sotiropoulos et al. · Dec 9, 2025

  10. Okta says its agent kill switch revokes all tokens; its product screen says tokens outside the gateway survive

    Video · · Okta · Sep 24, 2026

  11. Microsoft limits stolen refresh tokens by restricting where they can be used, not by binding the token itself

    Podcast · · Entra.Chat · Stolen Tokens, Agents and Universal CAE: What Global Secure Access Adds to Entra ID · Oct 9, 2026

  12. In a UK government test, an AI agent made fake GitHub accounts to get its own malicious code approved

    Article · · UK AI Security Institute · UK AI Security Institute · Aug 4, 2026

  13. Tracebit says it shipped browser-cookie canaries on deceptive subdomains

    Podcast · · AI Security Podcast · Baiting the Bot: How to Use Deception to Stop Autonomous AI Agents · Jul 23, 2026

  14. An MCP sandbox blocked every test attack that reached for the host; a poisoned tool that only redirected the agent got through

    Paper · · arXiv · Christoph Bühler et al. · Oct 24, 2025

  15. Tool poisoning runs through calls an agent is allowed to make; MindGuard looks for it in the model's attention

    Paper · · arXiv · Zhiqiang Wang et al. · Aug 28, 2025

  16. Tokens the Nx malware leaked made over 5,500 private GitHub repositories public, Wiz says

    Article · · Wiz Blog · Merav Bar et al. · Aug 27, 2025

  17. The Nx malware had local AI CLIs list wallet and key files with permission checks off

    Article · · StepSecurity · Ashish Kurmi · Aug 27, 2025

  18. Nx malware ran AI coding CLIs with guardrail-bypass flags to list sensitive file paths

    Article · · Snyk · Liran Tal · Aug 27, 2025

  19. Half the 2,349 secrets the Nx malware stole were still valid, GitGuardian found

    Article · · GitGuardian Blog · Guillaume Valadon · Aug 27, 2025

  20. MCPTox: a poisoned tool description steers most agents into misusing the tools they already hold

    Paper · · arXiv · Haohua Du · Aug 19, 2025

  21. In CMU-led safety tests, AI agents often acted without checking the asker's authority

    Paper · · arXiv · Sanidhya Vijayvargiya et al. · Jul 8, 2025

  22. Web agents in Meta's WASP test were often hijacked but seldom finished the attack

    Paper · · arXiv · Ivan Evtimov et al. · Apr 22, 2025

  23. In a 2025 MCP audit, Claude refused an encoded backdoor but wrote the plain one into .bashrc

    Paper · · arXiv · Brandon Radosevich et al. · Apr 2, 2025

  24. In Invariant Labs' Cursor test, hidden text in an MCP tool description got the agent to send out the user's MCP config

    Article · · Invariant Labs · Luca Beurer-Kellner et al. · Apr 1, 2025