Top
Best
New

Posted by cmbailey 14 hours ago

Obsidian plugin was abused to deploy a remote access trojan(cyber.netsecops.io)
232 points | 118 commentspage 2
brusselsprout 8 hours ago|
I hope I'm speaking as a minority but when I first started using Obsidian the Youtube videos I watched encourage the usage of community plugins, even with these warnings I would enable the community plugins. You may very well have good actors that eventually turn bad for these plugins and users won't know.

Maybe I just also have a higher personal risk appetite, but even as a dev and knowing these risks I would have enabled the community plugin option. Again, hope I'm just the minority here and not most user behaviour.

dsp_person 9 hours ago||
One thing that bugged me when I made a community plugin was that you have to attach non-git-controlled files to the release (e.g. main.js).

To check if any community plugin is safe, it seems like you'd have to not only review the code on github, but also analyze the github release files to be sure nothing malicious packed in there.

Maybe I'm misunderstanding something about the process, I'd appreciate if anyone could confirm or explain otherwise.

kepano 9 hours ago|
The recommended way to do this is via artifact attestation:

https://docs.github.com/en/actions/how-tos/secure-your-work/...

dsp_person 8 hours ago||
Thanks that's interesting. The docs are aimed at developers, but I'm curious about the use case for the end user.

So would a user have to do some kind of `gh attestation verify PATH/TO/YOUR/BUILD/ARTIFACT-BINARY ...`? (assuming the plugin dev provides an sbom?)

kepano 8 hours ago||
In the near term artifact attestation will be visible to users in the directory, and part of the overall scorecard of a plugin.
poemxo 3 hours ago||
Hopefully this improves workflow for installing plugins offline. It's not bad already but it's not as good as the connected experience.
hresvelgr 11 hours ago||
Am I the only one who thinks Obsidian is perfect without plugins? Half the reason I switched to it from Anytype was that it was rather spartan in its offerings. If they announced tomorrow they would ban plugins, I would not care.
wiether 2 hours ago||
I wouldn't say "perfect", but to me it's clear that adding plugins could only make it worse, even without considering the security issues.

What I want from Obsidian is something that "just works". Adding third-party plugin would break this immediately since the plugins can either be straight up buggy, create conflicts with each other or simply become incompatible with new Obsidian releases.

And what I've seen from the community, with people having dozens of plugins installed, is giving me nightmares.

I can see why some would feel the appeal of plugins, and adding two or three can be fine, as long as you do your due diligence. Otherwise it's straight shooting you in the foot.

wiseowise 4 hours ago|||
This. I only use official Obsidian plugins. Security + not depending on OSS maintainer are the main reasons.
coffeefirst 8 hours ago|||
That’s basically how I’m using it since I got wary about how the community plugins were being vetted. Core plugins and settings cover a lot. There’s one or two things I miss, but not enough to fork and review them myself so it’s clearly not essential.
CGamesPlay 11 hours ago||
I'm also switching back to Obsidian after a few-year stint on Anytype, and the Notebook Navigator plugin is the only one I have installed. This is (I assume) a UI-only plugin, which shouldn't need access to external network or processes, so a quite good candidate for sandboxed plugins.
coldtea 4 hours ago||
Obsidian sounds like a nightmare security wise in general.
cybrox 3 hours ago|
How is it any worse than say, VSCode in this regard?
sshine 2 hours ago||
You say Trojan.

I say shiny horse statue.

geoffbp 5 hours ago||
I use the plugin for Git, and the one for tasks. Hope those are safe!
cechmaster 5 hours ago|
You are safe. The way this hack works is that someone online would contact you, share a obsidian valut with you, you open the vault, you download & install a plugin the hacker tells you to install to open the vault. It's all described in the article if you would like to read it.
Daedren 4 hours ago||
The obsidian vault is to already have the chosen plugin pre-selected and is part of the social engineering effort, that's not the main problem.

The issue is that this could happen to anyone who just searches the malicious plugin's name and installs it. Worse if it's a popular one that gets compromised.

vetchzero 10 hours ago||
Obsidian does not have auto update for community plugins. The steps for updating them right now is checking for updates and then updating all or individually.

A bad update to one of the popular plugins could compromise lot of systems.

nothinkjustai 6 hours ago||
I think it’s fundamentally wrong to base your plugin architecture on running user code in the same space as the application. The proper way is to evaluate plugin scripts in an interpreter running in the application, where you expose functionality through functions and state exposed to the script runtime. This means you can A) sandbox everything and B) check for things like permissions or even request permissions at runtime. It’s harder if you use a language like JavaScript for the application since you essentially have a runtime inside a runtime, but it’s possible to run something like Lua inside JS. Since I use an actually good language like Rust I have many good options for scripting, like Rhai. Lua is also a good option. Go also has multiple options including a couple good Lua libraries. These libraries tend to have performance comparable to Python which is more than enough for most plugins in most apps.
wiseowise 4 hours ago|
Yet another reason to not install anything third-party made. Favor batteries, built-in functionality and reject “Unix philosophy” or whatever bullshit people use to ship incomplete software under guise of.
silon42 46 minutes ago|
I'd ideally want Obsidian to be a distro package, including any good plugins. No plugins from the "store".
More comments...