HNHacker News
TopNewBestAskShowJobs

mehdibl

114 karma · joined January 24, 2025

submissionscomments
mehdibl··on Python on the Edge: Fast, sandboxed, and powered by WebAssembly
apparently...

Like it's also possible in a VM.

What about running non privileged containers! You need really to open some doors to make it easier!

mehdibl··on Python on the Edge: Fast, sandboxed, and powered by WebAssembly
When you use docker you can have full control over the networking layer already. As you can bound it's networking to another container that will act as proxy/filter. How WASM offer that?

With reverse proxy you can log requests, or filter them if needed, restrict the allowed domains, do packet inspection if you want to go crazy mode.

And if an actor is able to tailor fit a prompt to escape docker, I think you have bigger issues in your supply chain.

I feel this wasm is bad solution. What it brings a VM or docker can't do?

And escaping a docker container is not that simple, require a lot of heavy lifting and not always possible.

mehdibl··on From MCP to shell: MCP auth flaws enable RCE in Claude Code, Gemini CLI and more
I'm in the security space so? And been deep in this MCP thingy.

Did you check where I pointed the root issues?

All I'm trying to say there is shortcuts, and confusing over the hype buzz too that is on going in AI, as MCP took off, I so a lot of of papers with IF IF IF condition to point security issues in MCP, while most of the them expect you to pick random stuff at the start. This is why I'm saying "Supply chain" is not MCP. As you can't blame MCP for issue coming from random code you pick. MCP is a transport protocol, you can do similar without MCP but you have to bake your tools inside the AI app, thus loosing the plug & play ability.

mehdibl··on From MCP to shell: MCP auth flaws enable RCE in Claude Code, Gemini CLI and more
this issue is not even MCP at the core. Claude Code/ Gemini CLI were opening "url's" without sanitization and validation. That's the core flaw. There is a second issue with an XSS flawed package too in the bridge that is easy to patch.

So there is a chain of issues and you need to leverage them to get there and first pick an MCP that is flawed from a bad actor.

mehdibl··on From MCP to shell: MCP auth flaws enable RCE in Claude Code, Gemini CLI and more
There is confusion.

1. Not all MCP tools connect to the web or fetch emails. So the shortcut all MCP's are doomed is also the wrong way to adress this.

2. Issue is with MCP with untrusted external sources like web/email that need sanitization like we do with web forms.

3. A lot of warning point bad MCP's! But that apply to any code you might download/ use from the internet. Any package can be flawed. Are you audit them all?

So yeah, on my side I feel this security frenzy over MCP is over hyped. VS the real risk and there is a lot of shortcuts, masking a key issue that is supply chain as an MCP owned issue here and I see that in so many doom comment here.

mehdibl··on From MCP to shell: MCP auth flaws enable RCE in Claude Code, Gemini CLI and more
MCP is only transport protocol here.

And you need tools to connect to external "systems", the context "pollution" can be managed easily. Also even if you don't use MCP you need to use tools and they need to expose their schema to the AI model.

I feel the MCP hype over bad security got a lot confused and very defensive over MCP or more globally tools use.

mehdibl··on From MCP to shell: MCP auth flaws enable RCE in Claude Code, Gemini CLI and more
What the issues, if you use quality MCP tools?

Also MCP is only transport and there is a lot of mixup to blame the MCP, as most of the prompt injection and similar come from the "TOOLS" behind the MCP. Not MCP as it self here.

Seem this security hype forget one key point: Supply chain & trusted sources.

What is the risk running an MCP server from Microsoft? Or Anthropic? Google?

All the reports explain attacks using flawed MCP servers, so from sources that either are malicious or compromised.

mehdibl··on From MCP to shell: MCP auth flaws enable RCE in Claude Code, Gemini CLI and more
IT start with "Evil MCP Server".

So you need a server flawed + XSS issue on Cloudflare.

Then you need to use Claude Code, so it's more an issue in Claude Code/Gemini implementation already than MCP.

So if you are ok to run any MCP from any source you have worse issues.

But good find in the open command how it's used in Claude Code/Gemini.

mehdibl··on The LLM Lobotomy?
Since when LLM become deterministic?
mehdibl··on The EU Just Killed ARR
Such discounts are prepaid, or you give free period after paying in full for 70% of the period.

Also there is prepayment in a lot of commitment. When you commit on the cloud such contract your PREPAY compute unit and this is not new.

mehdibl··on The EU Just Killed ARR
What is the issue? There is 2 month's notice. If you have bad services and customer don't need it any more makes sense to allow termination, instead of contining to bill customors for nothing.

This is more healthy and would push more SAAS to focus on Sales not building tricks to force retain customers!

mehdibl··on ChatGPT Developer Mode: Full MCP client access
How many real world cases of prompt injection we have currently embedded in MCP's?

I love the hype over MCP security while the issue is supply chain. But yeah that would make it to broad and less AI/MCP issue.

mehdibl··on A Software Development Methodology for Disciplined LLM Collaboration
The most important you need always to do:

1. Plan, review the plan.

2. Review the code during changes before even it finish and fix ASAP you see drift.

3. Then again review

4. Add tests & use all quality tools don't rely 100% on LLM.

5. Don't trust LLM reviews for own produced code as it's very biased.

This is basic steps that you do as you like.

Avoid FULL AUTOMATED AGENT pipeline where you review the code only at the end unless it's very small task.

mehdibl··on GLM 4.5 with Claude Code
CC system prompt is tuned for Sonnet 4/Opus

Why trying CC why not using alternatives like Opencode or Goose that are open and made for this purpose instead of trying to use a tool tailored by Anthropic for Anthropic models?

mehdibl··on I ditched Docker for Podman
if you mount local path's, it's a pain.

I know a lot of kubernetes fans migrate to podman, but if you use dev stacks.

Use in dev: devcontainer, podman can't replace docker!

mehdibl··on Linux on Snapdragon X Elite: Linaro and Tuxedo Pave the Way for ARM64 Laptops
This sound nice but I don't like the incompatibility with x86. Docker and many other things.

Yeah we need some trade off's. But for dev's & a lot of ops stuff I enjoy more x86 as it's de facto standard.

mehdibl··on Cerebras Launches Qwen3-235B, Achieving 1,500 Tokens per Second
Issue most groq models are limited in context as that cost a lot of memory.
mehdibl··on Cerebras launches Qwen3-235B, achieving 1.5k tokens per second
The PR confuse a but 32k/64k and 131k if paid API.

Also this model https://huggingface.co/Qwen/Qwen3-235B-A22B

Is native 32k. So the 64k and 131k use ROPE that is not the best for effective context.

While https://qwenlm.github.io/blog/qwen3-coder/ it's 256k native https://huggingface.co/Qwen/Qwen3-Coder-480B-A35B-Instruct.

mehdibl··on Cerebras launches Qwen3-235B, achieving 1.5k tokens per second
Extra 40k you get when you use PAID API calls instead of free tier API calls.
mehdibl··on Cerebras launches Qwen3-235B, achieving 1.5k tokens per second
It seem this news is "outdated" as it's from Jul 8 and might picked up confusing this model with yesterday Qwen 3 coder 405B release that is different in specs.
mehdibl··on Cerebras launches Qwen3-235B, achieving 1.5k tokens per second
Would be great if they support the latest Qwen 3 405B launched yesterday and more aimed at agentic work/coding.
mehdibl··on MCP-B: A Protocol for AI Browser Automation
From the blog post:

"The Auth problem At this point, the auth issues with MCP are well known. OAuth2.1 is great, but we are basically trying to re-invent auth for agents that act on behalf of the user. This is a good long term goal, but we are quickly realizing that LLM sessions with no distinguishable credentials of their own are difficult to authorize and will require a complete re-imagining of our authorization systems. Data leakage in multi-tenant apps that have MCP servers is just not a solved problem yet.

I think a very strong case for MCP is to limit the amount of damage the model can do and the amount of data it will ever have access to. The nice thing about client side APIs in multi-tenant apps is they are hopefully already scoped to the user. If we just give the model access to that, there's not much damage they can do.

It's also worth mentioning that OAuth2.1 is basically incompatible with internal Auth at Amazon (where I work). I won't go to much into this, but the implications of this reach beyond Amazon internal."

1. Oauth is not working in Amazon ==> need solution.

2. Oauth are difficult to authorize

3. limit the amount of damage the model can do WHILE "ulti-tenant apps is they are hopefully already scoped to the user".

I feel from a security side there is an issue here in this logic.

Oauth for apps can be far more tuned than current web user permission as usually, user have modification permission, that you may not want to provide.

Oauth not implemented in Amazon, is not really an issue.

Also this means you backdoor the App with another APP you establish trust with it. ==> This is a major no go for security as all actions on MCP app will be logged in the same scope as USER access.

You might just copy your session ID/ Cookie and do the same with an MCP.

I may be wrong the idea seem intersting but from a security side, I feel it's a bypass that will have a lot of issues with compliance.

mehdibl··on Claude Code Pro Limit? Hack It While You Sleep
You need some time to chain tasks. Endless tasks, can't be in random order and there is usually a link between tasks/context.
mehdibl··on Claude Code Pro Limit? Hack It While You Sleep
My extension in vscode have auto resume already, you use GUI to write workflows and run them right them. https://marketplace.visualstudio.com/items?itemName=Codingwo...

You can even pause. I will public a CLI that is doing same base on same syntax. And it use github claude action yaml syntax: https://github.com/codingworkflow/claude-runner/blob/main/.g...

mehdibl··on Claude Code API Gateway
Simple OpenAI compatible wrapper on top of Claude Code to allow other clients to use the subscription and Claude Code.
mehdibl··on Apple announces Foundation Models and Containerization frameworks, etc
It's a VM just like WSL... So yeah.
mehdibl··on Cloudlflare builds OAuth with Claude and publishes all the prompts
That's great.

But Claude don't allow yet to add APPS in their backend.

Mainly only closed beta for integration.

How you can configure an app to leverage correctly Oauth and have your own app secret ID/ Client ID!

mehdibl··on GitHub MCP exploited: Accessing private repositories via MCP
You mark the input correctly is not complicated.

You use prompt and mark correctly the input as <github_pr_comment> and clearly state read and never consider as prompt.

But the attack is quite convoluted. Do you still remember when we talked prompt injection in chat bots. It was a thing 2 years ago! Now MCP is buzzing...

mehdibl··on LLM function calls don't scale; code orchestration is simpler, more effective
Another example.

I have web pages fetching.

But web page fetching bring a lot of JS / noise.

So the fetched page instead use https://jina.ai/reader/. I get Markdown. But is this enough. No, there still a lot of links and stuff, so I again do another pipe and pass to strip a lot like URL's I usually don't need as focus here on content.

mehdibl··on LLM function calls don't scale; code orchestration is simpler, more effective
then the artifact is saved ONCE in the filesystem. I don't get why you use artefacts in the first place.

Edited in FS. Then next agent/tools directly read.

The issue is the workflow here as you make everything getting thru the model and combining tools you control and tools you don't control ( Claude Artefacts). But default I disable EVERYthing from Claude. And use filesystem. With that I have git diff to check the changes, and can as I said do such granular changes and edits.

As I said the issue is in your workflow.

← PreviousPage 2 of 3Next →