Back

SmartTube Compromised

165 points2 monthsaftvnews.com
sfRattan2 months ago

Announcement from the dev, in the project GitHub and Patreon:

Friends, it seems that my digital signature has been exposed. This signature protects the app from fake and malicious updates, so there is a risk that someone may try to release counterfeit versions under my name.

To completely eliminate any threats, I’ve decided to stop using the current signature and switch to a new one. Because of this, the app’s identifier will also change. You don’t need to delete the old app (but it will no longer receive updates) — the new one will install as a separate app and will need to be configured again.

Thank you for your understanding and attention to security.[1][2]

---------------

There aren't any new apk releases on GitHub yet. However, concerningly, the SmartTube website (which I won't link directly) still offers undated "Stable" and "Beta" downloads.

It sucks to deal with security breaches as an indie or solo dev, but I'll be waiting for a more detailed postmortem before assessing whether to install a future release... Hopefully one that details new security procedures to guard both the dev's key and the production build environment.

Factory resetting my Shield as a precaution, but nothing sensitive was really on there, and Android's security model did exactly what it was supposed to and limited the damage. When using a third party app like this, it's prudent to use it signed out or else with a purpose specific Google/YouTube account which is connected to nothing else critical.

[1]: https://github.com/yuliskov/SmartTube/releases/tag/notificat...

[2]: https://www.patreon.com/posts/important-144473602

DoctorOW2 months ago

> To completely eliminate any threats, I’ve decided to stop using the current signature and switch to a new one. Because of this, the app’s identifier will also change. You don’t need to delete the old app (but it will no longer receive updates)

I'm curious if this is the best idea? Like, if you don't read all the GitHub releases thoroughly or miss the HN material, and instead you just auto-install updates, you downloaded a malware-infested version which will be on your device until you learn otherwise?

sfRattan2 months ago

At this point, Play Protect will remove the apks with the old signature because the developer marked the old signature as compromised. The developer acted correctly and responsibly in doing so, and seems to be working out establishing a new setup now, including a new signing key.

For those using sketchy devices without Play Protect and also installing random apks without an understanding of security or Android's trust-on-first-use model, there's not much anyone can do.

nickthegreek2 months ago

from my understanding, https://github.com/yuliskov/SmartTube/releases/download/late... links to 30.56, which the newest clean version. Old app stopped at 30.48.

I installed 30.56 from the git link on my Shield. It did not overwrite the old one, as it has the old signature. I manually uninstalled 30.48. I did not use the backup/restore option in either as I didnt want to dirty any data in the new app.

sfRattan2 months ago

For me, the link to just the releases returns an empty list at present:

https://github.com/yuliskov/SmartTube/releases/

bl4kers2 months ago

Backup/restore is just XML files that you can open and inspect

embedding-shape2 months ago

> SmartTube’s developer told me that the computer used to create the APKs for the project’s official GitHub page was compromised by malware. As a result, some official SmartTube releases were unintentionally released with malware.

Seems it's lacking in information about how a malware manages to compromise supposedly signed releases? Do authors not have the production signing keys behind a password or similar, and review 100% of the changes before they deploy stuff?

I swear the more time goes on, the more I'm loosing faith in the entire ecosystem. People running random binaries on the same device they do banking on always surprised me, but now developers manages to get malware on their developer machine and are publishing random binaries to other strangers???

arccy2 months ago

the malware need not actively create a release like a worm, it can just infect every build and if you don't check carefully, your next regular release will contain it.

red-iron-pine2 months ago

is one of the reason we fight holy wars for SSO and strict login rules even for Dev or QA environments -- if you can get in during a dev build you can get stuff in there that carries through.

maybe QA will find it... but they're testing X number of JIRA tickets based on Y epics and if it's not on the list they're not looking...

boje2 months ago

I really hope Google doesn't pick this out (and similar events) as further justification for getting rid of APK-based installation.

HackerThemAll2 months ago

Blocking file-based installations was never planned. It's fake news and always has been. It's all about requiring code signing for all code so that malware-spreading authors can be easily blocked by adding their signing key fingerprint to the blocklist.

It doesn't matter whether the app is installed via Play Store, Huawei's or Samsung's store etc., or from APK.

a21282 months ago

This is a drastic misrepresentation of the situation. All Android apps already have code signing, you cannot install an app unless it has a signature, and any future updates are blocked unless the signature matches. This is how it's been practically since the start of Android, it's part of the security model to prevent something like a malicious Firefox APK stealing your cookies.

What's new is that they were gonna block installations outside of Google Play, unless the developer has signed up for Google Play Console and has gone through a verification process there, whitelisting their signing key fingerprint. However, they've walked back on this and said they'll create a new "advanced flow" for "advanced users" that's "designed to resist coercion" to bypass this restriction. Door in the face technique IMO, the existing 12-step process to installing an app was already complicated enough.

So effectively the result is that file based installations will be blocked unless Google has specifically whitelisted their key through the Google Play Console verification process, or the user goes through this "advanced flow" which we're yet to see any details of

altfredd2 months ago

What an absolute boatload of lies.

I am currently in process of "verifying" my identity with Android Developer console.

In addition to proof of identity (e.g. passport/driver license) Google is demanding a proof of address, government registration, this month's rental agreement, foreign passport... The process is stuck in limbo because months-old documents are deemed "outdated", and I am constantly threatened that my verification request (!) will be denied because of "exceeding allowed number of attempts" (!!)

It shares the same principle as silent Discord account bans and other "verification" harassment schemes, such as Upwork account verification. The excess developers — Google's potential competitors — need to be banished from platform as quickly and cheaply as possible, so that Google can peddle their own spyware unimpeded.

tgsovlerkhgsel2 months ago

"Malware spreading authors" or "ToS violating authors" or "authors of piracy apps"?

HackerThemAll2 months ago

Ask your president. I suppose republicans will soon block VPN apps, adult apps and whatever comes to their minds as non-compliant with their medieval mindset.

lostmsu2 months ago

> Do not download SmartTube from any app store, APK websites or blogs; these were uploaded by other people and may contain malware or ads. SmartTube is not officially published on any app store. Sadly, the Google PlayStore does not allow ad-free Youtube apps using unofficial APIs.

Maybe should actually switch to releasing via F-Droid.

GaryBluto2 months ago

It's kind of shocking to me that so many people would download an app like this and sign in using their actual YouTube account.

retSava2 months ago

It's not just cost and ads. It's having the possibility to reduce attempts to manipulate my inner reptile brain. With various clients, you can disable shorts, recommended, you have sponsorblock, you can replace youtube-face-thumbs with actual thumbs and get crowd-sourced titles that better reflect the contents.

I also don't need to manually go set speed to 1.75x and enable subs in english, it's a one-time setting. _Further_ I can download a video locally, for whatever reason (later viewing, bw throttling, risk of deletion, etc).

As if that weren't enough, I don't have to watch videos logged in, my client is just set up to download my select channels.

I now see zero use of a youtube account.

drewg1232 months ago

It has a far better user interface than the official YT interface. And that interface can be heavily customized to your exact preferences.

My wife has YT Premium, and we find ourselves watching YT in SmartTube just because the interface is so much better.

leptons2 months ago

Same here, we also both have YT Premium and use SmartTube. Our dislike of "Shorts" pushed everywhere in the YT app is what got us to switch to SmartTube. We watch Youtube on our 65" TV via Chromecast, so shorts are just really a crap experience and we do not want to see them at all. SmartTube lets us eliminate them, as well as all the other awesome UI customization makes it a far superior experience.

Arbortheus2 months ago

The cost of being brainwashed by ads and sponsor slots is also high.

Even with YouTube Premium you don’t get the feature set you get with SmartTube. The sponsor block integration on my TV is brilliant.

dottjt2 months ago

I think it's more shocking to people how much YouTube Premium costs.

M4v3R2 months ago

Is $14 dollars for ad-free, unlimited access to literally billions of videos really a steep price? Personally if I were to get rid of all but one of my media subscriptions I would stick with this one, since it's got everything - entertainment, education, inspiration, you name it.

homebrewer2 months ago

$14 is two days worth of living in my country for your average man on the street, among many other similar places. Imagine if you had to pay $200 to watch YouTube, that's how much these services cost for us.

They refuse to correct for purchasing power parity and are left with nothing in the end. Steam seems to do very well in comparison.

(I don't watch YouTube even for free, but practically everybody I know does without paying anything, and it makes a lot of sense).

+1
carlosjobim2 months ago
balamatom2 months ago

A semi-successful YouTuber in a low-income country is basically an infinite money hack. Neat little form of advance scouting, like this forum.

graemep2 months ago

I am not going to watch billions of Videos.

Its not entirely ad free, just fewer ads, AFAIK sponsored segments remain so there are still ads, sometimes quite lengthy ones.

$14/month is $168 an year, and if you subscribe to multiple other video services the annual total is going to be quite high.

+3
carlosjobim2 months ago
stronglikedan2 months ago

sponsored segments are skipped with a single button push, so they are negligible. it also comes with yt music

+1
cyberax2 months ago
dottjt2 months ago

When the alternative is the exact same thing you describe but for $0 dollars, then yes.

jfindper2 months ago

For sure! $0.00*

* $0.00 plus additional risk that the author of the alternative you are using is compromised, you end up using a malicious version of that alternative, and get pwned.

Obviously for some/many, that trade-off is totally cool. But it needs to be included in the analysis, otherwise you're being dishonest.

podgietaru2 months ago

Not to mention included YouTube Music. It's one of the few subs I pay for, because I watch a _lot_ of YouTube on the TV. And also like to have it in the background for "Podcast" style videos where the video is really only an accompaniment.

+2
microtonal2 months ago
londons_explore2 months ago

14 dollars a month for a decade is $1680.

To save $1680 I'd prefer to just use an adblocker (which I have done for the past decade)

+1
carlosjobim2 months ago
+4
hhh2 months ago
spaqin2 months ago

That's extremely subjective, but I'd rather save that $14 a month towards retirement. And if YouTube was only available with ads... well, that's no videos for me, maybe for the better, I would waste less time.

+2
didntcheck2 months ago
GoblinSlayer2 months ago

I get cat videos through messengers.

StopDisinfo9102 months ago

That's a very generous characterization of what most YouTube content is.

My experience is that you are basically paying to remove the official ads from your disguised ads.

The various algorithm tweaks for engagement these past few years and the introduction of shorts have significantly degraded the content quality and many good channels have just thrown the towel.

mrguyorama2 months ago

Right, I want premium because it's a "fair" payment for the service I use and would help support the people who make good content, but the vast majority of those dollars go to the company who is solely at fault for encouraging and essentially requiring creators to use clickbait and fake thumbnails and put out slop every single day and never ever ever try doing something slightly different and consistently change things in ways that those creators do not want and hate. Every complaint you likely have about youtube content was forced by youtube for their own profitability. Don't like sponsorships? People mostly started seeking them out after Google cut ad payouts essentially in half with no warning. Don't like videos being way longer than they need to be? That's because youtube started paying out based on watch time instead of views and that encourages padding. Don't like censorship? It was Youtube's choice to shadowban/punish anyone who even said the word pandemic during a literal global pandemic that people probably wanted to talk about, even in passing. Buy into Youtube's new "channel member" feature in good faith? Well then Youtube changed it so that the videos that only members can watch are now shoved in front of everyone's eyeballs without your approval or desire or asking and it's really annoying to all your viewers. Don't like every video spending 30 seconds telling you to subscribe and "hit that like button" and then the fucking bell? That's because google decided that if your video didn't have a high enough click through rate, it wouldn't be shown to subscribers at all, and then introduced the bell for "subscribers but for real", and then even that hasn't really been honored. Youtube has for example suddenly decided that I should be shown low view russian language plagiarism of videos I like that have then been autodubbed back into english rather than the video from one of my subscriptions that was copied to make the russian video. How is that supposed to help anyone?

I will happily pay for youtube when they show that they want to encourage good content and help empower the people who make that good content, but Google doesn't want to do that because Mr Beast slop advertising to your kids is more profitable.

So I pay for Nebula instead.

encrypted_bird2 months ago

Listen, I only make about $350-$400 a week after taxes and deductions. So, yes, $14 a month is a LOT. With my income, even $5 can and does break the bank if I'm not careful. Not everyone has a SWE's salary.

tcfhgj2 months ago

$14 dollars better spent on liberapay

RobotToaster2 months ago

For something that was previously free with only unintrusive ads, yes.

krige2 months ago

>ad-free

hasn't been in over a year

+1
Wilya2 months ago
+1
denkmoon2 months ago
prmoustache2 months ago

> for ad-free

Most youtube content being disguised ads, this cannot be true.

malka19862 months ago

I hate google, and I refuse to give them any money.

bigyabai2 months ago

Thanks for paying $14/month to support my ad-free yt-dlp archive, shmuck.

fragmede2 months ago

Usually people who are a leech, a drain on society don't go around bragging about it, but you do you.

ManlyBread2 months ago

$14 and I still have to run several plugins just to make the site actually usable. No thanks.

hansvm2 months ago

It's >12x the ad revenue they bring in per monthly-active YouTube user (suggesting they'd still be happy with a much lower price), and the price has increased 75% in the last decade (compared to the 40% real inflation over that period, suggesting they intend to continue increasing the price till public backlash or other effects reduce their total revenue). Plus they're boiling the frog, slowly adding ads back in to music and shorts for premium users, and we'll see how far that initiative goes.

pcthrowaway2 months ago

> Plus they're boiling the frog, slowly adding ads back in to music and shorts for premium users

Do you have a source for this?

I do value watching unlimited youtube videos without ads, but if they're gonna add the ads back in, I'd easily stop paying for the one google product I currently pay for (and honestly the only reason I haven't already done this is laziness and convenience)

+1
jeffbee2 months ago
armarr2 months ago

I have premium but also this app. It has SponsorBlock and better UI customization than the official one.

moondowner2 months ago

Sometimes people download it because there's no alternative. E.g. the YT app is not available in the play store in their country on that specific hardware, so the only way to be able to view YT is to use an alternative app like this one.

ninalanyon2 months ago

> the only way to be able to view YT

Surely you can use a web browser?

zero_iq2 months ago

The user experience accessing YouTube through a web browser on a TV (the main target audience for SmartTube) is less than ideal.

TV and set-top box browsers tend to be slow and fiddly to use from a TV remote. (And often running on underpowered hardware).

polski-g2 months ago

Its such a good client. With the YT Roku app, if you change playback speed, quality will drop to 720p or lower. SmartTube lets me watch at full 1080p with 1.5x speed.

No ads is of course a big plus too.

Tyrannosaur2 months ago

You can install it on Roku?

polski-g2 months ago

No, I'm referring to SmartTube on an Nvidia shield. The YT Roku app from Google is hot garbage.

tcfhgj2 months ago

I really couldn't care less about me youtube account

impulsivepuppet2 months ago

I can't help but think that this is a "I have nothing to hide" argument. It's quite sisyphean to keep accounts perfectly segregated, therefore there's always a chance that personal information can be traced back and pieced together; which, in turn, has "boring-old security" implications: i.e., now someone possibly knows your habbits and times when you are at work

tcfhgj2 months ago

my "personal" information there is as personal as my profile here

GaryBluto2 months ago

YouTube accounts and Google accounts have been one in the same since 2009.

defrost2 months ago

Many people have had multiple gmail accounts since 2004.

I have a gmail account used solely for google store and Android TV related verifications that's unlike other business, personal, registration, or spam email accounts.

The TV's in the house, smart wifi devices, and guest wifi accounts are on separate subnets, the NAS hosted media has limited read only keyhole access accounts for TV apps to use.

Whether it's SmartTube or any other app (iView, SBSOnline, Netflix, etc) it's wise to assume that anyone can be comprised by malware to sniff traffic for (say) bank account passwords, host bots for DDOS or mining, etc.

prmoustache2 months ago

You don't use a dedicated account for youtube?

lan3212 months ago

Obligatory call to free yourselves from having GMail as your (only) main email and especially to not tie it to YT or other unrelated services.

I can absolutely imagine my YT accounts at some point getting banned for using adblock, some stupid private upload or some comment.

temp08262 months ago

Having your own domain name is the best option (ideally not hosting on gsuite!)

VerifiedReports2 months ago

one AND the same

tcfhgj2 months ago

how does this matter?

+3
homebrewer2 months ago
jfindper2 months ago

thats super cool! some people care a lot, some people dont care at all. what a strange world.

rdsubhas2 months ago

Google Account.

Not Youtube account.

aix12 months ago

Technically correct but somewhat misleading. The app in question only asked for the following Google account permissions:

   1. Manage your YouTube account
      View and manage your videos and playlists
      View and manage your YouTube activity, including posting public comments
   2. View and manage your [YouTube] rental and purchase history
      Your rental and purchase history may be displayed and accessible on this device.
ranger_danger2 months ago

Why?

leo_e2 months ago

This will inevitably be used as ammunition against sideloading, but it’s really a lesson in supply chain trust.

When we move away from walled gardens (which I support), the burden of verifying the "chain of custody" shifts to the user. Installing an APK that auto-updates with root/system privileges is essentially giving a single developer the keys to your living room.

We need better intermediate trust models—like reproducible builds signed by a quorum of maintainers—rather than just "trust this GitHub release."

breakingcups2 months ago

The official announcement is very sparse on details. If the developer doesn't know how his digital signature (and update infrastructure?) was compromised, how does switching to a new signature help? It could get compromised in the exact same way.

Kbelicius2 months ago

The article linked here brings some more details, but also, the official statement doesn't use the word "compromised". If it did, well it would be a statement with different meaning than the one that was released for us to read.

Klaus232 months ago

A lot of people installed malware and, to be honest, nothing really happened. They might have had to change their passwords, but it could have been much much worse if Android didn't have good sandboxing.

I hope that Flatpak and similar technologies are adopted more widely on desktop computers. With such security technology existing, giving every application full access to the system is no longer appropriate.

ninalanyon2 months ago

Why do you need Flatpak for sandboxing?

I really dislike Flatpak for installing multiple identical copies of the dependencies.

Just give me some easier to use tools to configure the access that each application has.

Klaus232 months ago

> Why do you need Flatpak for sandboxing?

You don't, but as far as I know, Flatpak or Snap are the only practical, low-effort ways to do it on standard distros. There's nothing stopping flatpak-like security from being combined with traditional package management and shared libraries. Perhaps we will see this in the future, but I don't see much activity in this area at the moment.

avereveard2 months ago

Really hate this "something was found" announcements

Which channel distributed the compromised apk? What is the signature of the payload injected? What is the payload, what does it do?

catlikesshrimp2 months ago

>>"It is likely the presence of this malware that caused Google and Amazon to forcibly uninstall SmartTube on some devices, ... "

Where can I read more about *unrequested uninstalls*? Google search only shows results about how impossible it is to remove phone default apps.

ewoodrich2 months ago

That's refering to Play Protect (virus scan-ish thing on Google branded Android) and whatever Amazon's equivalent is, not an app requested force uninstall of some kind.

bl4kers2 months ago

Thought it was worth mentioning the developer is Ukrainian. If it was a targeted attack, certainty could be state-sponsored by Russia

sieabahlpark2 months ago

[dead]

TechSquidTV2 months ago

Happy YouTube Premium customer here

leptons2 months ago

I'm a happy YouTube Premium customer too, as well as a happy SmartTube user. The UX is just so much better in SmartTube than the Youtube app. So much customization is possible, and we can completely eliminate every bit of "Shorts".

reassess_blind2 months ago

What can malware in an apk do?

tgsovlerkhgsel2 months ago

Most likely load arbitrary binary code and execute it. Which also makes it really hard to figure out what it actually did.

Among the options of what could be pushed:

- proxyware, turning your network into a residential proxy that can then be sold to anyone willing to pay for them to commit crimes, send spam, scrape, ... with your IP [I believe this is the primary suspect here]

- other standard botnet crap like DDoS bots

- exploits that try to break out of the sandbox to establish persistence, steal other data, or steal your Google account token

- code that steals all data/tokens that the app itself has access to

- adware that shows ad notifications etc.

- ransomware that tries to prevent you from leaving the app (of course this works best if they get a sandbox escape first, but I'm sure you can get pretty close with just aggressive creative use of existing APIs)

nubinetwork2 months ago

In an article about not downloading malware: "You can use my downloader! It's totally safe, bro!"

Yeah, I'll pass.

Algent2 months ago

The internal auto updater of the app directly use github as source, was this also compromised ? If malware was only on some random apkmirror upload then it should probably be fine for most users.

hiccuphippo2 months ago

Apparently, yes. My guess is it was the Shai-hulud npm malware leaking their Github keys.

jve2 months ago

I think this comment relates to the fact that article mentions AFTNews Updater app as a way to install SmartTube... not yet released version of software?

thomas-shelby2 months ago

[dead]

kevin-scott212 months ago

[dead]

mmmlinux2 months ago

So we all agree google is probably behind this, right?

hollow-moe2 months ago

That's exactly why I didn't want to trust this app with a google account, it's mandatory to use it. SmartTube also requires permission to install applications for it's updater feature so it's also possible if the attack was targeted for the malware to install another app to get persistance.

XiS2 months ago

Although it's very unfortunate this happened, and it shows a lack of security practices, this could happen to any all developer. Compromising other apps you do install.

On my TV the app vanished and after some searching, it was disabled. I was kinda afraid Google had finally (ab)used it's Play Services power to ban it. But luckily it was because the developer marked it as compromised. All and all impact was minimised this way.

I doubt your statement about requiring a Google account to be connected, as you can also import subscriptions instead of granting access to your account.

kasabali2 months ago

> it's mandatory to use it

I've been using it for years and I've never had to sign in.