Live data from Hacker News

Malware Found in the Ubuntu Snap Store

linuxuprising.com

41–50 of 223 posts

Re: Malware Found in the Ubuntu Snap Store

#41
Unlike flahub where either original develop or flathub admins take control

Canonical's Snapcraft literally says "Get published in minutes"

Any random guy would publish his malware with near no review

https://dashboard.snapcraft.io/snaps/

Yes, they maybe win the counter for published apps compared to flathub. Congratulations!

Re: Malware Found in the Ubuntu Snap Store

#42
post #10

I'm not familiar with Ubuntu snap store, but how does it compare with Google play store in terms of security? For example, do apps need to request permissions for accomplishing specific tasks, or is there any kind of sandboxing involved?

The snap packages can either ask for elevated privileges or ask for standard access. In the former, they go through some manual review.

I do not know if there are any auto checks when the package is added automatically.

Re: Malware Found in the Ubuntu Snap Store

#43

The problem with snaps is that they didn't take security really seriously on desktop: https://www.zdnet.com/article/linux-expert-matthew-garrett-u... >"X has no real concept of different levels of application trust. Any application can register to receive keystrokes from any other application. Any application can inject fake key events into the input stream. An application that is otherwise confined by strong securit…

Wayland solves some of these issues.

Re: Malware Found in the Ubuntu Snap Store

#44
post #30

used a proprietary license Does the license actually mention it mines? I am reminded of a lot of "freemium"/"ad-supported"/etc. software that makes its author money via ads or whatever else --- and you agree to that if you read the license --- and it is a bit shady to name the miner 'systemd', but it seems rather overboard to call this "malware"... when I see that term I think of software that self-propagates and exf…

There is no support for specifying the license yet, so all snap packages appear as "proprietary". Nothing to look here. edit: https://forum.snapcraft.io/t/snap-license-metadata/856/53 Still it is unresolved, they probably use the deprecated licence feature in VLC.

You can. The store used to default to "Proprietary" if the developer didn't set it. Now we default to "Unknown" if not specified by the developer.

Re: Malware Found in the Ubuntu Snap Store

#46
post #2

>For example, the 2048buntu snap was submitted as proprietary, so we can't actually see the package contents, except for the init script which you can see above. Unless the Snap Store uses some kind of DRM, I don't see how that can be the case. Just install it and see the contents in your filesystem?

All snaps appear as "proprietary" because there is not functionality to specify the license in the package yet. Apparently it is work in progress, trying to decide whether to allow free text licences or support a set of license and then allow to pick one from the list.

Re: Malware Found in the Ubuntu Snap Store

#47
post #29

used a proprietary license Does the license actually mention it mines? I am reminded of a lot of "freemium"/"ad-supported"/etc. software that makes its author money via ads or whatever else --- and you agree to that if you read the license --- and it is a bit shady to name the miner 'systemd', but it seems rather overboard to call this "malware"... when I see that term I think of software that self-propagates and exf…

>a simple game like that taking >100MB would make me suspicious Nah. Games often feature a bunch of textures and video and sound files. Bad compression or too high resolution on those is quite common, which is why games _are_ often that large. Also proprietary software usually ships a bunch of libraries - games often ship with a premade engine, which are also often quite large. As a datapoint, I have a copy of "Strat…

I remember the Facebook app being less than 20 megabytes in size half a decade ago. Now it’s almost half a gigabyte

Re: Malware Found in the Ubuntu Snap Store

#48
post #29

used a proprietary license Does the license actually mention it mines? I am reminded of a lot of "freemium"/"ad-supported"/etc. software that makes its author money via ads or whatever else --- and you agree to that if you read the license --- and it is a bit shady to name the miner 'systemd', but it seems rather overboard to call this "malware"... when I see that term I think of software that self-propagates and exf…

>a simple game like that taking >100MB would make me suspicious Nah. Games often feature a bunch of textures and video and sound files. Bad compression or too high resolution on those is quite common, which is why games _are_ often that large. Also proprietary software usually ships a bunch of libraries - games often ship with a premade engine, which are also often quite large. As a datapoint, I have a copy of "Strat…

For ordinary games, maybe - but this is 2048 we are talking about. Sound maybe, but I doubt there are any videos or textures.

Re: Malware Found in the Ubuntu Snap Store

#49
post #37
post #30

Earlier quoted context omitted.

There is no support for specifying the license yet, so all snap packages appear as "proprietary". Nothing to look here. edit: https://forum.snapcraft.io/t/snap-license-metadata/856/53 Still it is unresolved, they probably use the deprecated licence feature in VLC.

That is not true. You absolutely can specify a license: https://snapcraft.io/vlc

Off topic: why would someone install VLC over Snap instead of the version from Ubuntu repos?

Re: Malware Found in the Ubuntu Snap Store

#50

used a proprietary license Does the license actually mention it mines? I am reminded of a lot of "freemium"/"ad-supported"/etc. software that makes its author money via ads or whatever else --- and you agree to that if you read the license --- and it is a bit shady to name the miner 'systemd', but it seems rather overboard to call this "malware"... when I see that term I think of software that self-propagates and exf…

It would still look quite shady. It's also burning electricity, hogging your CPU and putting heat and stress onto your CPU which is way worse than just displaying an ad which costs literally nothing (or 1 or 2 cents for fetching a single png and link).

I use one donationware app and it's cleanly marked it display an add and it's explained they fetch it from their own site via a dumb static image request on startup (it sits under the main GUI, it's not a splash or wait or anything) and for a donation you can get rid of it. That's leagues above the experience an average website gives you without adblocking software these days.

As for the size - I've no idea what happened, the original page[0] tested by [1] reports as 153 KB. Maybe he just wrapped it in electron?

[0] - http://gabrielecirulli.github.io/2048/ [1] - https://tools.pingdom.com/

Post reply on HN