Live data from Hacker News

Top downloaded skill in ClawHub contains malware

1password.com

131–140 of 166 posts

Re: Top downloaded skill in ClawHub contains malware

#131
post #39

This article is so frustrating to read: not only is it entirely AI-generated, but it also has no details: "I'm not linking", "I'm not pasting". And I don't doubt there is malware in Clawhub, but the 8/64 in VirusTotal hardly proves that. "The verdict was not ambiguous. It's malware." I had scripts I wrote flagged more than that! I know 1Password is a "famous" company, but this article alone isn't trustworthy at all.

>the 8/64 in VirusTotal hardly proves that

You're using VirusTotal wrong. That means 8 security scan tools out of the 64 in their suite hit on this. That's a pretty strong mal indication.

Re: Top downloaded skill in ClawHub contains malware

#132
post #49

It's absolute negligence for anyone to be installing anything at this point in this space. There is no oversight, hardly anyone looking at what's published, no automated scanning and there is no security model in place that works that isn't vulnerable to prompt injection. We need to go back to the drawing board. You might as well just run curl https://example.com/script.sh | sudo bash at this point.

It's far worse than that. `curl | bash` is at least a one-time thing coming from a single source. An autonomous agent like OpenClaw is more like running `slack | bash` or `mail | bash`.

> `curl | bash` is at least a one-time thing coming from a single source.

Is it? Are you sure?

Re: Top downloaded skill in ClawHub contains malware

#133

But wait, we have tools that can introspect on the semantic content of these skills, so why not make a skill that checks the security of other skills? You would think that'd be one of the first things people put together! Ideally such a skill could be used on itself to self-verify. Of course it could itself contain some kind of backdoor. If the security check skill includes exceptions to pass it's own security checks…

The 1password blog links to a better Cyberinsider.com article that I think covers the issue better. One suggestion from that article is to check the skill before using (this felt like a plug for Koi security). I suppose you could have a claude.md to always do this but I personally would be manually checking any skill if I was still using Moltbot.

https://clawdex.koi.security/

Re: Top downloaded skill in ClawHub contains malware

#134

Earlier quoted context omitted.

It's far worse than that. `curl | bash` is at least a one-time thing coming from a single source. An autonomous agent like OpenClaw is more like running `slack | bash` or `mail | bash`.

> `curl | bash` is at least a one-time thing coming from a single source. Is it? Are you sure?

Yes? I assume this is a rhetorical question but I don't know what rhetoric it's intended to convey.

Re: Top downloaded skill in ClawHub contains malware

#135

But wait, we have tools that can introspect on the semantic content of these skills, so why not make a skill that checks the security of other skills? You would think that'd be one of the first things people put together! Ideally such a skill could be used on itself to self-verify. Of course it could itself contain some kind of backdoor. If the security check skill includes exceptions to pass it's own security checks…

I built this. It's a skill called skill-snitch, like an extensible virus scanner + Little Snitch activity surveillance for skills.

It does static analysis and runtime surveillance of agent skills. Three composable layers, all YAML-defined, all extensible without code changes:

Patterns -- what to match: secrets, exfiltration (curl/wget/netcat/reverse shells), dangerous ops, obfuscation, prompt injection, template injection

Surfaces -- where to look: conversation transcripts, SQLite databases, config files, skill source code

Analyzers -- behavioral rules: undeclared tool usage, consistency checking (does the skill's manifest match its actual code?), suspicious sequences (file write then execute), secrets near network calls

Your Thompson point is the right question. I ran skill-snitch on itself and ~80% of findings were false positives -- the scanner flagged its own pattern definitions as threats. I call this the Ouroboros Effect. The self-audit report is here:

https://github.com/SimHacker/moollm/blob/main/skills/skill-s...

simonw's prompt injection example elsewhere in this thread is the other half of the problem. skill-snitch addresses it with a two-phase approach: phase 1 is bash scripts and grep. Grep cannot be prompt-injected. It finds what it finds regardless of what the skill's markdown says. Phase 2 is LLM review, which IS vulnerable to prompt injection -- a malicious skill could tell the LLM reviewer to ignore findings. That's why phase 1 exists as a floor. The grep results stand regardless of what the LLM concludes, and they're in the report for humans to read. thethimble makes the same point -- prompt injection is unsolved, so you can't rely on LLM analysis alone. Agreed. That's why the architecture doesn't.

Runtime surveillance is the part that matters most here. Static analysis catches what code could do. Runtime observation catches what it actually does. skill-snitch composes with cursor-mirror -- 59 read-only commands that inspect Cursor's SQLite databases, conversation transcripts, tool calls, and context assembly. It compares what a skill declares vs what it does:

  DECLARED in skill manifest:  tools: [read_file, write_file]
  OBSERVED at runtime:         tools: [read_file, write_file, Shell, WebSearch]
  VERDICT: Shell and WebSearch undeclared -- review required
If a skill says it only reads files but makes network calls, that's a finding. If it accesses ~/.ssh when it claims to only work in the workspace, that's a finding.

To vlovich123's point that nobody knows what to do here -- this is one concrete thing. Not a complete answer, but a working extensible tool.

I've scanned all 115 skills in MOOLLM. Each has a skill-snitch-report.md in its directory. Two worth reading:

The Ouroboros Report (skill-snitch auditing itself):

https://github.com/SimHacker/moollm/blob/main/skills/skill-s...

cursor-mirror audit (9,800-line Python script that can see everything Cursor does -- the interesting trust question):

https://github.com/SimHacker/moollm/blob/main/skills/cursor-...

The next step is collecting known malicious skills, running them in sandboxes, observing their behavior, and building pattern/analyzer plugins that detect what they do. Same idea as building vaccines from actual pathogens. Run the malware, watch it, write detectors, share the patterns.

I wrote cursor-mirror and skill-snitch and the initial pattern sets. Maintaining threat patterns for an evolving skill malware ecosystem is a bigger job than one person can do on their own time. The architecture is designed for distributed contribution -- patterns, surfaces, and analyzers are YAML files, anyone can add new detectors without touching code.

Full architecture paper:

https://github.com/SimHacker/moollm/blob/main/designs/SKILL-...

skill-snitch:

https://github.com/SimHacker/moollm/tree/main/skills/skill-s...

cursor-mirror (59 introspection commands):

https://github.com/SimHacker/moollm/tree/main/skills/cursor-...

Re: Top downloaded skill in ClawHub contains malware

#136
post #115

Earlier quoted context omitted.

Are you suggesting that it's impossible to have a system that is secure by default and be usable by normal people? Because I'm saying that's very possible and I'm starting to get angry that it hasn't happened. Plan 9 did this and that kernel is 50k lines of code. and I can bind any part of any attached filesystem I want into a location that any running application has access to, so if any program only has access to a…

>as everything a developer needs can be set up easily by that developer. So yea, developers are the worst when it comes to security. You put up a few walls and the next thing you know the developer is settings access to . , I know, I make a living cleaning up their messes. I mean, people leave their cars unlocked and their keys in them FFS. Thinking we're going to suddenly teach more than a handful of security expert…

yes, I know, but that doesn't render the entire idea moot. I'm a developer, but I have knowledge of infosec, and I don't do those things. but because some developers do, it shouldn't be done? what kind of logic is that?

everyone who is NOT a developer is now protected by the operating system in a situation like this, and developers that are not, are unprotected by their own hand, instead of being unprotected via the decision of an OS vendor.

By the way, the entire "not protected" situation that you claim developers would put themselves in, is the exact situation that everyone is in today, with very little choice to opt out of that situation.

I want people to opt in to the insecure situation, and opt out of the secure situation, not the reverse, which is the case today. Ransomware can encrypt an entire disk because the OS has no notion that full disk access is bad, or that self-escalation to privileged access should not be granted automatically. MacOS kinda does these things, but not to the point I want to see them done. Not at all.

an OS that isolates everything renders containers completely moot. everything a container does should be provided by default by the operating system, and operating systems that don't provide this should be considered too immature to be useful in any production setting, either by business or by consumers. isolation by default should be table stakes for any OS to even come up for consideration by anyone for any reason.

And you're saying that this shouldn't happen because some developers who don't understand security will make their system look just like wide-open systems today? Come on.

Re: Top downloaded skill in ClawHub contains malware

#137

Earlier quoted context omitted.

> `curl | bash` is at least a one-time thing coming from a single source. Is it? Are you sure?

Yes? I assume this is a rhetorical question but I don't know what rhetoric it's intended to convey.

I'm not the commentor, but you could get different results from the same curl command depending on what the server wants to give you at the time. The bash script can make additional curl calls or set up jobs that occur at other times.

I'm sure both of you understand this. I'm guessing it's just semantics.

Re: Top downloaded skill in ClawHub contains malware

#139

Back in the XP days if you let your computer for too much time on the hands of an illiterate relative, they would eventually install something and turn Internet Explorer into this https://i.redd.it/z7qq51usb7n91.jpg . Now the security implications are even greater, and we won't even have funny screenshots to share in the future.

I recognize that screenshot. The office managers just wanted smilies in their Outlook email.

Re: Top downloaded skill in ClawHub contains malware

#140

Earlier quoted context omitted.

Yes? I assume this is a rhetorical question but I don't know what rhetoric it's intended to convey.

I'm not the commentor, but you could get different results from the same curl command depending on what the server wants to give you at the time. The bash script can make additional curl calls or set up jobs that occur at other times. I'm sure both of you understand this. I'm guessing it's just semantics.

Right. My point is that you only run it once, so there's only that one chance for a compromise. If you got lucky and talked to the right server and it gave you a good script, which is overwhelmingly probable most of the time, you're in the clear. That doesn't mean it's wise, but the danger is limited. Whereas with these agents, every piece of data they're exposed to is potentially interpreted as instructions.
Post reply on HN