7 ms·
Time for one of these again. So... having read through their marketing material, this is an on-device tool that opens up what appears to be most of the Android
by ajross 6y ago
Time for one of these again.
So... having read through their marketing material, this is an on-device tool that opens up what appears to be most of the Android application API to at least the user of the device, and potentially to any Droidscript applications they grab from other sources, and... maybe to other apps on the device? It's not clear from a quick read how extensive the runtime control is.
So just right out of the gate this is defeating basically the entirety of the Play Store vetting process. Droidscript itself may not be engaged in advertising fraud, but it makes advertising fraud trivial to deploy. (And it needs to be said: this is the kind of app that would never have been legal at all on any version of iOS.)
Add to that that it's a closed source IDE for an open platform, and my intuition sides with Google here. My guess is that when details come out it will turn out that at-least-plausibly harmful Droidscript garbage was being pushed to users and Google decided to kill it.
- dtx1 6y agoI think your thoughts on this are plausible, if not likely. However, the usual complete lack of communication by google is the actual problem. Perhaps droidscripts could mitigate googles concerns, if they had the decency to explain them.
- ajross 6y ago> However, the usual complete lack of communication by google is the actual problem. Uh... Seems like the actual problem (given that scenario) is that adware is being pushed to users, not whether or not Google defended its ban in public. Complaints about customer service (from everyone, not just Google) are a dime a dozen, actual user security is clearly more important, right? Your answer presupposes a frame where Droidscript is innocent. What if it's not, and it knowingly nodded to a community of junkware being pushed to its users (again, I have no evidence!). In that case you'd want it banned without "decency", right?
- dtx1 6y agoBanning it first is fine. banning it first, then not giving a reply to the concerns they have is not. Even if they have reasonable believe or proof that droidscript is indeed malware, it looks like at least a chunk of their userbase uses it for legitimate usecases and the devs, who likely invested at least a few hundred hours of work in it, deserve at least some communication.
- szopa 6y agoI used to work at Google, and a friend reached out to me for help – his company's app was in a similar situation, with similar communication from Google. This was a good friend from high school, so I pressed the issue using internal channels. The person handling it on Google's side was very assertive about them violating a policy, and after some back and forth I received a _vague hint_ about what was the supposed violation. I passed the hint along, and after some digging, lo and behold, it turned out one of their people had lifted someone else's images without permission, violating copyright (kudos to Google for figuring it out). My friend apologized profusely to me, to the support rep, his boss, and let the culprit go. They purged the app's assets, changed their processes, and eventually the app was reinstated. Now, this was a special situation. I had a personal relationship with the developer, and I was happy to vouch for their honesty. Yet it still turned out Google had been right all along. Now, it's a shame Google couldn't let them know what was the issue. However, it's a safe assumption that the vast majority of people Google support deals with are spammers. And there's a lot of them. If Google gave a detailed explanation to all of them it would mean a ton of additional work – which would create an unsustainable situation at this scale.
- Aissen 6y ago> Now, it's a shame Google couldn't let them know what was the issue. However, it's a safe assumption that the vast majority of people Google support deals with are spammers. And there's a lot of them. If Google gave a detailed explanation to all of them it would mean a ton of additional work – which would create an unsustainable situation at this scale. I don't think that's reasonable. What if most are spammers ? Better let a few spammers in than treat someone unjustly. Why would it become unsustainable ? I've seen this argument repeated ad nauseam, but have yet to see proper proof. In this particular example, a copyright violation was detected in a image, so an automated response "someone else's image was used without permission, violating copyright" seems entirely plausible.
- pyrale 6y ago> In that case you'd want it banned without "decency", right? Due process isn't really a sound concept if it's only for innocent people.
- wtetzner 6y ago> Seems like the actual problem (given that scenario) is that adware is being pushed to users Google itself is adware.
- sofixa 6y agoBut if they do, a malicious actor can use that information to circumvent their restrictions, and its their walled garden, so they have very little incentive to tell everyone exactly what they don't like.
- ben509 6y agoThat's the claim made by Google and many other big corporations. It's plausible enough, but I haven't seen any hard evidence that it's true. Suppose it is true that these companies can't reveal their decision making because there's so much to be gained by bad actors that game these highly centralized systems. Then it seems like a larger number of smaller firms could be more transparent and still achieve the same effective level of security.
- marcinzm 6y agoAnd we have very little incentive to not complain loudly and publicly about their practices.
- Dylan16807 6y agoOkay, but this developer isn't "everyone", and there seems to be no reason not to explain in this case.
- sofixa 6y agoUnless the developer decides to share on Twitter or HN or w/e, and now malicious actors know as well.
- Dylan16807 6y agoI meant that this information is not a problem to share, and that sharing information in one case does not imply sharing it in all cases.
- Jordrok 6y agoI know this is standard practice for most big companies moderating lots of content, but it has always seemed like such an insane policy to me. Imagine if this were applied to actual laws enforced by the police. "You're under arrest but we won't tell you what law you've broken, because then other criminals might use that knowledge of the law to avoid being arrested. And by the way, a secret court has sentenced you to life imprisonment and all of your appeals have been denied."
- throwawayffffas 6y ago> Add to that that it's a closed source IDE for an open platform, and my intuition sides with Google here. If I can't ship my closed source IDE on the platform is the platform really open? > My guess is that when details come out it will turn out that at-least-plausibly harmful Droidscript garbage was being pushed to users and Google decided to kill it. Of course they will say it was because x, y, and z were done to protect the users. But is it really for the users' benefit or just about control over their walled garden?
- ajross 6y ago> If I can't ship my closed source IDE on the platform is the platform really open? For clarity: the Play Store is not an open platform. The Android API being exposed by Droidscript very much is.
- throwawayffffas 6y agoFair, I misinterpreted what you were saying.
- numpad0 6y agoSounds like effective lack of means of production available inside the platform is fundamental to sustainable platform...
- protoman3000 6y agoI don’t get your point. Sideloading apps was always possible on Android even without a jailbreak. We’re not in Apple world, so it’s unclear which Playstore rules got broken here.
- lupire 6y agoSide loading is an Android OS feature, not a Play Store feature. Can you sideload via Play Store apps? F-Droid isn't in Play Store, but APK Manager is, so I'm confused.
- Jach 6y agoYou've always been able to use any of the web browsers in the store to download and install a random APK from a website (for example F-Droid), you don't even need to sideload it. Sideloading apps is mostly just a relevant concept for developers or for users who have no alternative to getting custom code on a device. (Edit: Speaking of ad fraud brought up by the GGP, there are also many automation apps, at least one (Automate) uses a plugin flow-chart architecture exposing all sorts of functionality, with users able to share custom scripts. Not to mention tons of plain "auto-clicker" apps.)
- rOOb85 6y ago> Can you sideload via Play Store apps? Yup. Check out aurora store. It's a open source frontend to the google play store. All apps can be installed(except of course paid apps. Though if you bought the app and sign in to the account with aurora you can)
- Pxtl 6y agoThat said, an open-source version of this on F-droid would be hella cool, but wrapping every API with Javascript sounds non-trivial.
- yjftsjthsd-h 6y ago> wrapping every API with Javascript sounds non-trivial. I am not an expert in JS or the Android API, but I wonder if you couldn't do it automatically? If types line up closely enough, I would think that you could get a list of Android APIs (pull it from AOSP if you have to) and mechanically translate to a JS API.
- nitrogen 6y agoIf Android's JVM supports reflection, you could do it dynamically at runtime, and there are probably already JS+JVM integrations that would work.
- lupire 6y agoApache Cordova exposes APIs to JS.
- iaml 6y agoActually, ionic team recently released their native api solution as a library [0]. I think it might fit right in. [0] https://github.com/ionic-team/capacitor https://github.com/ionic-team/capacitor
- JosephRedfern 6y agoDrozer does (did?) this, except with Python rather than JS. https://github.com/FSecureLABS/drozer https://github.com/FSecureLABS/drozer
- vultour 6y ago> Play Store vetting process You mean the one that doesn't exist?
- yjftsjthsd-h 6y ago> Droidscript itself may not be engaged in advertising fraud, but it makes advertising fraud trivial to deploy. No more than being able to build an app on my laptop and push it over ADB. > (And it needs to be said: this is the kind of app that would never have been legal at all on any version of iOS.) It also needs to be said that this is why I don't use Apple devices. What they inflict on their platform is not an argument for what should happen elsewhere.
- eptcyka 6y agoChrome is closed source and has developer tools, and has damn near every permission Android provides. You can app your apps on it, as long as they are of the web variety. Should we not ban chrome too? If droidscript enables ad fraud, isn't it an issue with how the android sandboxing model is fundamentally broken? Given that there are far more people using phones than computers, and a lot of new smartphone users will have never used a desktop or laptop computer, droidscript might be their first venture into programming and/or hacking. Let's not shut it down.
- lupire 6y agoChrome polices websites with per-site permissions, controlled by the user. Does DroidScript give users the same level over control over 3rd party code?
- robocat 6y agoChrome does not provide raw access to the APIs from JavaScript. Instead everything is sandboxed to the hilt. Also the product has a very heavy emphasis on security, the security team is superb quality and well funded, and Google know that the team is trustworthy.
- grawprog 6y agoYes...Droidscript allowed one to use the tiny computer in their pocket similarly to the way one could use the large computer on the desk. One could script small apps on their tiny computer and they could access most of the same api as java apps. It was pretty awesome.
- wzdd 6y ago> this is the kind of app that would never have been legal at all on any version of iOS. Pythonista is a complete Python programming environment which provides access to camera, music, contacts, the network, and so on, and has been available for iOS since 2016. What specifically distinguishes Droidscript from Pythonista such that you think Apple would reject Droidscript? https://apps.apple.com/us/app/pythonista-3/id1085978097 https://apps.apple.com/us/app/pythonista-3/id1085978097
- easton 6y agoDroidscript has support for writing custom intents, which Pythonista (and Scriptable, a JavaScript version of the same thing) do not have. A malicious Droidscript application could access other applications on the device. https://symdstools.github.io/Docs/docs/app/SendIntent.htm https://symdstools.github.io/Docs/docs/app/SendIntent.htm
- amelius 6y agoAre Play Store regulations the only defense against this kind of attack? If so, then yikes!
- JeremyBanks 6y agoAndroid's fine-grained permissions system isn't a good fit for something like Droidscript; one script could use a permission for valid reasons, then another could do something bad.
- throwaway2037 6y agoWhy was this downvoted? It seems like a reasonable comment.
- franga2000 6y agoI've done some, although not a lot of, native Android development and I'm not quite sure what's so bad about sending intents. "Could access other applications" sounds dangerous, but as far as I know that "access" is limited to things those apps have explicitly decided to allow external apps to access.
- indymike 6y agoInterpreters are problematic as they all are for executing what amounts to arbitrary, un-vetted and unsigned code. Weather or not to allow them should be up to the user and it is. Google is saying here, if you want this, you'll have to sideload it.
- antman 6y agoVetting process is just excuse for rent seeking, a better client ui for us to approve permissions would cost nothing.
- judge2020 6y agohttps://news.ycombinator.com/item?id=26961550 https://news.ycombinator.com/item?id=26961550
- overgard 6y agoWe're talking about a development tool. Of course it's going to make any use of the device possible -- that's the entire point. If the point here is that any development tool shouldn't be allowed in the store (which I think google and apple are mostly fine with), that's a pretty sad thing in my opinion. Maybe google is "right" in enforcing their policies, but is it helping anyone?
- ddtaylor 6y ago> but it makes advertising fraud trivial to deploy. Compared to what? If someone wants to run a random APK that has some kind of ad fraud in it, they very easily can even if Droidscript doesn't exist.
- passivate 6y ago> My guess is that when details come out it will turn out that at-least-plausibly harmful Droidscript garbage was being pushed to users and Google decided to kill it. Yes, I'm sure Google will carefully release details that paint them as the good guy. Certainly, we don't want to be needlessly unfair to them, but there is zero reason to give them free trust them at this point.
- BoorishBears 6y agoGoogle will not release details because Google doesn't care if they look like the good guy (otherwise they wouldn't do stuff like this in the first place!) Best case is the right person sees this social media outcry, silently gets it fixed and Google moves onto destroying the next developer.
- kemonocode 6y agoStill seems strange to me they focused so hard on the ad fraud part of it, unless they had a sudden change of heart and needed an excuse to get Droidscript out of the Play Store. They could just as well simply have said that any app that allows for easy, arbitrary code execution is a security liability and won't be accepted on the Play Store, which does include a fair number of root-required tools that have been removed at some point before. I don't necessarily agree with it, but that'd be a pretty believeable justification. My gut feeling says these devs aren't telling the whole story.
- mdoms 6y ago> So... having read through their marketing material, this is an on-device tool that opens up what appears to be most of the Android application API to at least the user of the device, and potentially to any Droidscript applications they grab from other sources, and... maybe to other apps on the device? It's not clear from a quick read how extensive the runtime control is. When did we collectively decide that programmable computers were a Bad Thing?
- NateEag 6y agoSome of us realised that end users don't want to program and that they can be better protected from themselves by only allowing execution of arbitrary code when they explicitly say they want it.
- mdoms 6y agoPresumably those end users aren't downloading Droidscript.
- NateEag 6y agoYup, that's fair for sure. I thought the parent comment was speaking generally. Maybe I misunderstood. Either way, I was thinking of downloading Droidscript as one way of saying "I want arbitrary code exec." I think it's reasonable for Google to say "Most users don't understand what this implies, so if they want this they'll have to get it outside the Play Store." That said, that doesn't actually seem to be what they're saying here. I just think it's a reasonable stance to hold as an App Store.
- bosswipe 6y agoWhatever "open platform" might mean Android is becoming less and less of one as Google has made huge efforts to move more and more core operating system functionality into closed source Play Services and continues to remove developer access to many APIs in the name of security. In fact what you're advocating for in this comment is to make the platform less open. > (And it needs to be said: this is the kind of app that would never have been legal at all on any version of iOS.) Exactly, iOS is not an open platform and Google has decided they want to be more like iOS.
- exyi 6y agoShould the Chrome browser be also banned from Android since it is trivial to deploy ad fraud campaign on the web?
- qwertox 6y ago> Droidscript itself may not be engaged in advertising fraud, but it makes advertising fraud trivial to deploy. I think that this is what has happened. The author of DroidScript claims that > Unfortunately we also have to inform our users that we could no longer support AdMob for use in their own apps either, because we can't test it anymore and can't guarantee that Google won't treat them in the same brutal way. So apparently users were able to do stuff with AdMob on DroidScript's back, and maybe AdMob registered these fraudulent actions with some Google-ID which was assigned to DroidScript.
- int_19h 6y agoThe fact that Android Play Store had apps like that all the way back to the earliest days is precisely why some of us have an Android phone rather than an iOS one. There are full-fledged Lua, Python, C++, Java etc IDEs there.
- winrid 6y agoIt looks like a mobile programming IDE. You can code up Garbage in Java just fine and get it on the app store. I've seen apps send passwords in plain text....