It's not clear to me why running this attack to install OpenClaw? Especially if it's installing the real latest OpenClaw. Is it compromised as well?
But it does seem odd not to use an actual payload right away.
141–150 of 216 posts
It's not clear to me why running this attack to install OpenClaw? Especially if it's installing the real latest OpenClaw. Is it compromised as well?
But it does seem odd not to use an actual payload right away.
> Cline’s (now removed) issue triage workflow ran on the issues event and configured the claude-code action with allowed_non_write_users: "*", meaning anyone with a GitHub account can trigger it simply by opening an issue. Combined with --allowedTools "Bash,Read,Write,Edit,Glob,Grep,WebFetch,WebSearch", this gave Claude arbitrary code execution within default-branch workflow. Has everyone lost their minds? AI agent w…
> Has everyone lost their minds? Clearly yes. (Ok, not everyone, but large parts of the IT and software development community.)
Earlier quoted context omitted.
No such mitigation exists for LLMs because they do not and (as far as anybody knows) cannot distinguish input from data. It's all one big blob
Not true. The system prompt is clearly different and special. They are definitely trained to differentiate it.
This article only rehashes primary sources that have already been submitted to HN (including the original researcher’s). The story itself is almost a month old now, and this article reveals nothing new. The researcher who first reported the vuln has their writeup at https://adnanthekhan.com/posts/clinejection/ Previous HN discussions of the orginal source: https://news.ycombinator.com/item?id=47064933 https://news.yc…
You say this, and yet there are no real comments i.e. discussion in either of them? This must be the HN equivalent of Stack Overflow's infamous "closed as duplicate".
The article should have also emphasized that GitHub's issues trigger is just as dangerous as the infamous pull_request_target . The latter is well known as a possible footgun, with general rule being that once user input enters the workflow, all bets are off and you should treat it as potentially compromised code. Meanwhile issues looks innocent at first glance, while having the exact same flaw. EDIT: And if you thin…
The article seems to suggest the openclaw on compromised developer machines had something like root rights - "full system access", "install itself as a persistent system daemon surviving reboots". What am I missing here, I thought npm didn't run as root (unlike say apt-get)?
> Cline’s (now removed) issue triage workflow ran on the issues event and configured the claude-code action with allowed_non_write_users: "*", meaning anyone with a GitHub account can trigger it simply by opening an issue. Combined with --allowedTools "Bash,Read,Write,Edit,Glob,Grep,WebFetch,WebSearch", this gave Claude arbitrary code execution within default-branch workflow. Has everyone lost their minds? AI agent w…
Boundary was meant to be that the workflow only had read-only access to the repository:
> # - contents: read -> Claude can read the codebase but CANNOT write/push any code
> [...]
> # This ensures that even if a malicious user attempts prompt injection via issue content,
> # Claude cannot modify repository code, create branches, or open PRs.
https://github.com/cline/cline/blob/7bdbf0a9a745f6abc09483fe...
To me (someone unfamiliar with Github actions) making the whole workflow read-only like this feels like it'd be the safer approach than limiting tool-calls of a program running within that workflow using its config, and the fact that a read-only workflow can poison GitHub Actions' cache such that other less-restricted workflows execute arbitrary code is an unexpected footgun.
The article should have also emphasized that GitHub's issues trigger is just as dangerous as the infamous pull_request_target . The latter is well known as a possible footgun, with general rule being that once user input enters the workflow, all bets are off and you should treat it as potentially compromised code. Meanwhile issues looks innocent at first glance, while having the exact same flaw. EDIT: And if you thin…
No, the real problem is that people keep giving LLMs the ability to take nontrivial actions without explicit human verification - despite bulletproof input sanitization not having been invented yet! Until we do so, every single form of input should be considered hostile. We've already seen LLMs run base64-encoded instructions[0], so even something as trivial as passing a list of commit shorthashes could be dangerous:…
I don’t think it can be.¹
¹ https://matthodges.com/posts/2025-08-26-music-to-break-model...
Earlier quoted context omitted.
I think that helps me understand. What are some examples of things where I'd want initialization or registration? What packages are impossible to install with this, besides cases where npm is used as an alternative to apt/yum to install dev executables?
Create registry entries in a config file for all local printers found in the existing OS configuration. Remember that the installer runs with privileges that the application won't normally have. So anytime you have to use those privileges you don't do it at runtime, you do it at install time. And this requires the hook.
No other ecosystem is that dense, none of them require such stupid and dangerous flows to work.