Better HN
topnewbestaskshowjobs
Log inSign up

lbeurerkellner

204 karma · joined Apr 5, 2023 (3y ago) · 105 submissions

Submissions

1.

A GET-only message board(getboard.beurerkellner.com ↗)

2 points · by lbeurerkellner · 1mo ago · discuss

2.

How We Evaluate Model Risk(research.snyk.io ↗)

2 points · by lbeurerkellner · 3mo ago · discuss

3.

Skill-Inject: Measuring Agent Vulnerability to Skill File Attacks(arxiv.org ↗)

1 points · by lbeurerkellner · 8mo ago · 1 comment

4.

Snyk Agent Scan: Security scanner for AI agents, MCP servers and agent skills(github.com ↗)

2 points · by lbeurerkellner · 9mo ago · discuss

5.

MCP-Scan: A Security scanner for AI agents, MCP servers and agent skills(github.com ↗)

3 points · by lbeurerkellner · 9mo ago · discuss

6.

Technical Report: Exploring the Emerging Threats of the Agent Skill Ecosystem(github.com ↗)

3 points · by lbeurerkellner · 9mo ago · discuss

comment 12mo ago · link · parent

Interesting report. Though, I think many of the attack demos cheat a bit, by putting injections more or less directly in the prompt (here via a website at least).

I know it is only one more step, but from a privilege perspective, having the user essentially tell the agent to do what the attackers are saying, is less realistic then let’s say a real drive-by attack, where the user has asked for something completely different.

Still, good finding/article of course.

comment 1y ago · link · parent

Everybody should try. It helps a ton to demystify the relatively simple but powerful underpinning of how modern agents work.

You can get quite far quite quickly. My toy implementation [1] is <600 LOC and even supports MCP.

[1] https://github.com/lbeurerkellner/agent.py

9.

MCP-Scan: Constrain, log and scan your MCP server for security vulnerabilities(github.com ↗)

2 points · by lbeurerkellner · 1y ago · discuss

10.

Exposing Novel Prompt Injections, "Toxic Flows" in Agentic Systems(invariantlabs.ai ↗)

1 points · by lbeurerkellner · 1y ago · discuss

comment 1y ago · link · parent

This is way more common with popular MCP server/agent toolsets than you would think.

For those interested in some threat modeling exercise, we recently added a feature to mcp-scan that can analyze toolsets for potential lethal trifecta scenarios. See [1] and [2].

[1] toxic flow analysis, https://invariantlabs.ai/blog/toxic-flow-analysis

[2] mcp-scan, https://github.com/invariantlabs-ai/mcp-scan

12.

Hardening AI Agent Security with Toxic Flow Analysis(invariantlabs.ai ↗)

2 points · by lbeurerkellner · 1y ago · discuss

comment 1y ago · link · parent

This looks really cool, thanks for sharing.

14.

Mcp-scan: constrain, log and scan your active MCP connections(github.com ↗)

1 points · by lbeurerkellner · 1y ago · discuss

comment 1y ago · link · parent

We have published the full trace, with tool outputs here now: https://explorer.invariantlabs.ai/trace/5f3f3f3c-edd3-4ba7-a...

The minesweeper comment was caused by the issue containing explicit instructions in the version that the agent actually ran on. The issue was mistakenly edited afterwards to remove that part, but you can check the edit history in the test repo here: https://github.com/ukend0464/pacman/issues/1

The agent ran on the unedited issue, with the explicit request to exclude the minesweeper repo (another repo of the same user).

comment 1y ago · link · parent

I agree. It is also interesting to consider how AI security, user eduction/posture and social engineering relate. It is not traditional security in the sense of a code vulnerability, but is is a real vulnerability that can be exploited to harm users.

comment 1y ago · link · parent

One of the authors here. Thanks for posting. If you are interested in learning more about MCP and agent security, check out some of the following resources, that we have created since we started working on this:

* The full execution trace of the Claude session in this attack scenario: https://explorer.invariantlabs.ai/trace/5f3f3f3c-edd3-4ba7-a...

* MCP-Scan, A security scanner for MCP connections: https://github.com/invariantlabs-ai/mcp-scan

* MCP Tool Poisoning Attacks, https://invariantlabs.ai/blog/mcp-security-notification-tool...

* WhatsApp MCP Exploited, https://invariantlabs.ai/blog/whatsapp-mcp-exploited

* Guardrails, a contextual security layer for agents, https://invariantlabs.ai/blog/guardrails

* AgentDojo, Jointly evaluate security and utility of AI agents https://invariantlabs.ai/blog/agentdojo

comment 1y ago · link · parent

Yes, any MCP server that is connected to an untrusted source of data, could be abused by an attacker to take over the agent. Here, we just showed an in-server exploit, that does not require more than one server.

Also, check out our work on tool poisoning, where a connected server itself turns malicious (https://invariantlabs.ai/blog/mcp-security-notification-tool...).

comment 1y ago · link · parent

I agree, one of the issues are tokens with too broad permission sets. However, at the same time, people want general agents which do not have to be unlocked on a repository-by-repository basis. That's why they give them tokens with those access permissions, trusting the LLM blindly.

Your caution is wise, however, in my experience, large parts of the eco-system do not follow such practices. The report is an educational resource, raising awareness that indeed, LLMs can be hijacked to do anything if they have the tokens, and access to untrusted data.

The solution: To dynamically restrict what your agent can and cannot do with that token. That's precisely the approach we've been working on for a while now [1].

[1] https://explorer.invariantlabs.ai/docs/guardrails/

comment 1y ago · link · parent

Be sure to check out the malicious issue + response here: https://github.com/ukend0464/pacman/issues/1.

It's hilarious, the agent is even tail-wiggling about completing the exploit.

21.

mcp-scan: Constrain, log and scan MCP traffic for security vulnerabilities(github.com ↗)

2 points · by lbeurerkellner · 1y ago · discuss

22.

MCP Streamable HTTP – Python and TypeScript Examples(github.com ↗)

2 points · by lbeurerkellner · 1y ago · discuss

23.

Show HN: Guardrails – A Contextual Security Layer for Agentic AI Systems(invariantlabs.ai ↗)

1 points · by lbeurerkellner · 1y ago · discuss

24.

Securing Agents with Rules(explorer.invariantlabs.ai ↗)

2 points · by lbeurerkellner · 1y ago · discuss

comment 1y ago · link · parent

Original author of some of the initial security notes at Invariant Labs here. Some resources, if you want to learn about MCP security:

* Initial Security Note describing Tool Poisoning, Rug Pulls, Tool Shadowing for the first time with diagrams and detailed experiments: https://invariantlabs.ai/blog/mcp-security-notification-tool...,

* Attack on WhatsApp MCP (both tool poisoning but also take-over via an infected message to your account): https://invariantlabs.ai/blog/whatsapp-mcp-exploited

* BrowserMCP attack, where it suffices for the agent to visit a compromised website (https://access.invariantlabs.ai): https://x.com/lbeurerkellner/status/1912145060763742579

We also recently released a security scanning tool to detect and prevent such attacks, including upcoming support for full proxying and local security scanning of tool calling payload and responses.

Please have a look and provide feedback if you can: https://github.com/invariantlabs-ai/mcp-scan

26.

MCP-scan: A security scanning tool for MCP servers(github.com ↗)

1 points · by lbeurerkellner · 1y ago · discuss

comment 1y ago · link · parent

I think what is not to be overlooked in these discussions, is the user base of MCP.

In my experience, many less-technical folks started using MCP, and that makes security issues all the more relevant. This audience often lacks intuition around security best-practices. So it’s definitely important to raise awareness around this.

28.

AgentDojo: An Environment to Evaluate Prompt Injection Attacks on AI Agents(agentdojo.spylab.ai ↗)

3 points · by lbeurerkellner · 1y ago · discuss

1234