Giter Site home page Giter Site logo

Comments (7)

tmjwid avatar tmjwid commented on June 18, 2024 2

To replicate, have a fresh item in the clipboard, load an image then swipe back out and it triggers the clipboard. I too was worried when I first saw this as I had just used a password from my password manager so I spent a good hour profiling the app to see if any network traffic happened when clipboard was triggered. Nothing did but still, it's shouldn't be done in the background with no user notification.

from slide.

Alexendoo avatar Alexendoo commented on June 18, 2024 1

It's not a security risk, it's an old feature that offers to open a reddit link if you have one on your clipboard

public void checkClipboard(){
try {
ClipboardManager clipboard = ContextCompat.getSystemService(this, ClipboardManager.class);
if (clipboard != null && clipboard.hasPrimaryClip()) {
ClipData data = clipboard.getPrimaryClip();
final String s = (String) data.getItemAt(0).getText();
if (!s.isEmpty()) {
if (ContentType.getContentType(s) == ContentType.Type.REDDIT && !HasSeen.getSeen(s)) {
Snackbar snack =
Snackbar.make(mToolbar, "Reddit link found in your clipboard",
Snackbar.LENGTH_LONG);
snack.setAction("OPEN", new View.OnClickListener() {
@Override
public void onClick(View view) {
OpenRedditLink.openUrl(MainActivity.this, s, false);
}
});
snack.show();
}
}
}
} catch (Exception e){
}
}

Back then there were no indicators for clipboard access, nowadays it may be worth removing because of that

from slide.

tmjwid avatar tmjwid commented on June 18, 2024 1

There is an api to read clipboard so apps use it to provide features, what the point of having a clipboard if you dont use it? You could have checked the source or searched posts about it in 1 minute instead, also no serious password manager use the clipboard as it's not secure or they offer it as alternative and you have to enable manually + it warn you about using it, they use the autofill framework or in rare cases where autofill isn't working some have a special keyboard to input password, also i'm reading that since android 11 they can integrate with the default keyboard https://developer.android.com/guide/topics/text/ime-autofill but idk if any password manager use it already.

I did check the source as well as profile the app. Nothing wrong with some extra due diligence just in case I missed something and I felt it was warranted at the time as this feature isn't listed anywhere to my knowledge and it was a bit of a shock. I do agree with you about clipboard security and I am now fixing that with autofill like you mentioned.

from slide.

jakehl avatar jakehl commented on June 18, 2024

This is absolutely a security risk. regardless of the intention, its still reading the clipboard without any consent from the user.

from slide.

Alexendoo avatar Alexendoo commented on June 18, 2024

The code is right there... you can see exactly what it does, which is nothing bad

from slide.

jakehl avatar jakehl commented on June 18, 2024

closing as the maintainer seems to have no interest in addressing the issue. I've moved to infinity instead.

from slide.

karate avatar karate commented on June 18, 2024

I understand that this was build for the iOS version. Is it supposed to work for Android as well? Links in the clipboard don't load automatically for me in Android 12 with Slide 6.7.1.

from slide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.