Better HN
topnewbestaskshowjobs
Log inSign up

mlenhard

251 karma · joined Apr 27, 2012 (14y ago) · 46 submissions

CEO / Founder vectoral.com matt@vectoral.com
Submissions

1.

Factory Acquires HumanLayer(factory.com ↗)

6 points · by mlenhard · 2w ago · discuss

2.

The AI Account Reseller Ecosystem(vectoral.com ↗)

2 points · by mlenhard · 2mo ago · discuss

3.

The Chinese wholesale market for Claude and ChatGPT accounts(vectoral.com ↗)

3 points · by mlenhard · 2mo ago · discuss

comment 3mo ago · link · parent

I don't have exact numbers here, and it varies by company, but a rough guess is around 10-20%. This might be a bit biased because the companies willing to talk to me are probably seeing the worst of it.

Also, outside the labs, most of the companies I've talked with have shut off free tiers and free credits entirely because the abuse is so bad.

comment 3mo ago · link · parent

This was poorly worded on my part; I meant in terms of dollars, not tokens.

comment 3mo ago · link · parent

From talking with some of the companies experiencing this, I can confirm that a portion of it is actual credit card fraud. Tokens have become a pseudo-currency, making them a prime target for abuse.

Some of the abuse is more benign, but there is also real fraud through chargebacks, account takeovers, and stolen credit cards.

comment 3mo ago · link · parent

This was specifically meant to be about the ai credit resellers, not the relays themselves. I put together another piece here: https://vectoral.com/blog/token-relay-market that tackles that side of the market.

8.

The AI Credit Resale Economy(vectoral.com ↗)

334 points · by mlenhard · 3mo ago · 130 comments

9.

Who Are the Token Brokers?(vectoral.com ↗)

3 points · by mlenhard · 3mo ago · discuss

comment 4mo ago · link · parent

I don't think device fingerprinting is the right approach here.

Client-side detection can always be sidestepped, and you need to intermediate the actual inference to get enough signals to make an accurate prediction. There are hundreds of listings for cursor tokens/credits right now.

We use canary values to detect the resellers, and I believe that's the only approach that will actually work at scale.

comment 4mo ago · link · parent

I was going to cover this in a follow-up article, but yeah, there are network of token brokers who buy unused credits from startups and then resell them.

comment 4mo ago · link · parent

Yeah, I should probably clean this up. The sentence is a bit hard to understand. What I was trying to show was the steep discounts offered by resellers.

13.

The relay market powering token resellers and fraud(vectoral.com ↗)

209 points · by mlenhard · 4mo ago · 136 comments

14.

Evolving OAuth Client Registration in the Model Context Protocol(blog.modelcontextprotocol.io ↗)

1 points · by mlenhard · 1y ago · discuss

15.

Monkey Patching Otel and Prometheus Support into MCP(mcpevals.io ↗)

1 points · by mlenhard · 1y ago · discuss

comment 1y ago · link · parent

I actually came across Plandex the other day. I haven't had the chance to play around with it yet, but it looked really cool.

But agree that even basic prompts can be a struggle. You often need to name the tool in the prompt to get things to work reliably, but that's an awful user experience. Tool call descriptions play a pretty vital role, but most MCP servers are severely lacking in this regard.

I hope this a result of everything being so new and the tooling and models will evolve to solve these issues over time.

comment 1y ago · link · parent

Agree on the unpredictability of results issue. Tool call selection is still sort of a black box.

How do you know what variations of a prompt trigger a given tool to be called or how many tools is too many before you start seeing degradation issues because of the context window. If you are building a client and not a server the issue becomes even more pronounced.

I even extracted the Claude electron source to see if I could figure out how they were doing it, but it's abstracted behind a network request. I'm guessing the system prompt handles tool call selection.

PS: I released an open source evals package if you're curious. Still a WIP, but does the basics https://github.com/mclenhard/mcp-evals

18.

Tools vs. Agents: A Mathematical Framework(mcpevals.io ↗)

2 points · by mlenhard · 1y ago · discuss

19.

Show HN: Open-source load balancer for distributed MCP server architecture(github.com ↗)

2 points · by mlenhard · 1y ago · discuss

comment 1y ago · link · parent

This is pretty cool. You should also attempt to scan resources if possible. Similar to the tool injection attack Invariant Labs discovered, I achieved the same result via resource injection [1].

The three things I want solved to improve local MCP server security are file system access, version pinning, and restricted outbound network access.

I've been running my MCP servers in a Docker container and mounting only the necessary files for the server itself, but this isn't foolproof. I know some others have been experimenting with WASI and Firecracker VMs. I've also been experimenting with setting up a squid proxy in my docker container to restrict outbound access for the MCP servers. All of this being said, it would be nice if there was a standard that was set up to make these things easier.

[1] https://www.bernardiq.com/blog/resource-poisoning/

comment 1y ago · link · parent

Yeah, you aren't far off with SQL injection comparison. That being said it's not really a fault of the MCP spec, more so with current client implementations of it.

comment 1y ago · link · parent

One of the biggest issues I see, briefly discussed here, is how one MCP server tool's output can affect other tools later in the same message thread. To prevent this, there really needs to be sandboxing between tools. Invariant labs did this with tool descriptions [1], but I also achieved the same via MCP resource attachments[2]. It's a pretty major flaw exacerbated by the type of privilege and systems people are giving MCP servers access to.

This isn't necessarily the fault of the spec itself, but how most clients have implemented it allows for some pretty major prompt injections.

[1] https://invariantlabs.ai/blog/mcp-security-notification-tool... [2] https://www.bernardiq.com/blog/resource-poisoning/

23.

MCP Resource Poisoning Prompt Injection Attacks(bernardiq.com ↗)

5 points · by mlenhard · 1y ago · discuss

comment 1y ago · link · parent

Yeah, I plan on improving the formatting and adding a few more examples. There were even still some typos in the piece. To be honest, I didn't plan on sharing it yet; I just figured it might be helpful for the OP, so I shared it early.

I also think the docs are pretty good. There's just something about seeing the actual network requests that helps clarify things for me.

comment 1y ago · link · parent

Yeah, at its core it's just a proxy, so there are a lot of other tools out there that would do the job. It does have a nice UI and I try to support projects like it when I can.

I'll check out your proxy as well, I enjoy looking at anything built around networking.

comment 1y ago · link · parent

I was in the same boat in regards to trying to find the actual JSON that was going over the wire. I ended up using Charles to capture all the network requests. I haven't finished the post yet, but if you want to see the actual JSON I have all of the request and responses here https://www.catiemcp.com/blog/mcp-transport-layer/

comment 2y ago · link · parent

super cool. Debugging locally across multiple microservices can be a huge pain.

A small feature request/idea - packaging this as a helm chart to make local development on something like Minkikube easier.

comment 3y ago · link · parent

Congrats on the 1.0 Release, big milestone.

I'm personally really excited about all of the recent tooling for postgres aggregates. Definitely a pain point for a lot of developers and its easy to fall in trap where things work fine in the beginning and then query times explode as requirements change and the dataset grows. Nice to not have to spin up another DB in order to solve the problem as well.

12