News for hackers. Stuff that matters.
Re:Show HN: Use Slack Emoji on GitHub by Kikobeats on Monday November 14, 2022 @04:29PM (#33601433)
It works like a charm, just :wow:
Re:Show HN: Use Slack Emoji on GitHub by javivelasco on Monday November 14, 2022 @04:34PM (#33601489)
Just beautiful
Re:Show HN: Use Slack Emoji on GitHub by steventey on Monday November 14, 2022 @04:27PM (#33601374)
This is absolutely brilliant.
Re:Show HN: Use Slack Emoji on GitHub by awinter-py on Monday November 14, 2022 @05:05PM (#33601922)
> All you need is to have the Single Emoji browser extension, which connects to your Slack workspace and enables you to use your favorite Emoji on your favorite tools, by making the smallest patches possible to how these tools work. Nothing too fancy, nothing too suspicious.

all you need is to connect random javascript to a major channel for social engineering and then run it inside major channel for software supply chain risk

Re:Show HN: Use Slack Emoji on GitHub by layer8 on Monday November 14, 2022 @05:31PM (#33602262)
But it gives you custom emoji!
Re:Show HN: Use Slack Emoji on GitHub by netsharc on Monday November 14, 2022 @05:10PM (#33601991)
Back during the Yahoo and MSN chat days (remember Windows executables?), there were also "Download custom smiley packs" ads all over the Internet. I never tried them because they were probably malware. I have the same skepticism for this extension, or how easy extensions auto-updates can turn it into one.

Are the other responses in here non-ironic?

Re:Show HN: Use Slack Emoji on GitHub by schniz on Monday November 14, 2022 @05:21PM (#33602124)
Hey there! I plan to open source this soon so the source will be available and you can read it. It is really doing nothing but adding the emoji to GitHub.

But I understand that the shadiest people say they are legit, so I’ll prioritize open sourcing the extension so others can review it :) sounds good?

Re:Show HN: Use Slack Emoji on GitHub by jrockway on Monday November 14, 2022 @06:03PM (#33602641)
That is a nice thing to do, but I think people will still be hesitant because there is no way to know whether that code you open-sourced is actually what's in the Chrome Store, or that the Chrome Store listing won't change ownership in the future. (Chrome extensions auto-update, so it's easy to ship users code that does something "new and exciting", and when dealing with software supply chain risk, "new and exciting" is something many people don't want.)

I get that you just wanted to make something cool, and it is very cool, but people are also right to be paranoid here. Compare the value between having a certain tiny image in your PRs versus being able to check code into any organization's Git repo as a trusted engineer at that organization, and how much someone would pay you on the black market for either of those things.

Re:Show HN: Use Slack Emoji on GitHub by hirsin on Monday November 14, 2022 @08:40PM (#33604176)
Not to mention that even the data being requested and stored is also organizationally sensitivite if leaked. Everyone's got some problem customer emoji or frustration with their cloud provider in there, which maybe wouldn't look great externally.
Re:Show HN: Use Slack Emoji on GitHub by TeMPOraL on Monday November 14, 2022 @06:47PM (#33603118)
FWIW, I suspect Telegram animated stickers (or whatever it's called these days) may be Turing-complete.
Re:Show HN: Use Slack Emoji on GitHub by notpushkin on Monday November 14, 2022 @10:16PM (#33604818)
I don't think they are. TGS is basically a subset of Lottie, which looks too simple to be able to do arbitrary computations: https://github.com/lottie-animation-community/docs/blob/main...
Re:Show HN: Use Slack Emoji on GitHub by eyelidlessness on Monday November 14, 2022 @05:24PM (#33602168)
I mean, you’re not wrong, but I’d bet the Venn diagram of…

- people who use both a Web Extensions-supporting browser and Slack

- people who install extensions with permissions to run arbitrary JS on every page

- people who install or use Slack bots/etc with excessive access to Slack data

… is likely very nearly a circle. The emoji use case isn’t one for which I’d personally take that combination of risks. But I can imagine a wide variety of more appealing/risk worthy and likely even higher risk “use [CLOUD_SERVICE_FOO_RESOURCES] seamlessly in GitHub” use cases where I’d pause to at least consider it.

Re:Show HN: Use Slack Emoji on GitHub by madeofpalk on Monday November 14, 2022 @05:36PM (#33602326)
> - people who use both a Web Extensions-supporting browser and Slack

This is just basically everyone using Slack, as Firefox, Chrome, and Safari support web extensions API

> - people who install extensions with permissions to run arbitrary JS on every page

I would bet that most people who use Chrome or Firefox install extensions that can run arbitrary JS on every page, like ad blockers, full page screenshot, or “nifty” discount-coupon-code extensions.

Re:Show HN: Use Slack Emoji on GitHub by awinter-py on Monday November 14, 2022 @05:41PM (#33602400)
yes -- browser permission model needs to be much more granular

would be great if something like ublock is only able to disable dom elements, not insert them, for example, and has strong guarantees about not doing IO

permissions need to be 'shaped like' APIs -- users are much more able to audit permissions than to audit changing code

Re:Show HN: Use Slack Emoji on GitHub by TeMPOraL on Monday November 14, 2022 @06:50PM (#33603148)
It should start with access permissions being limited to user-specified (even if prefilled) list of sites/domains. There are extensions clearly meant for a single page (e.g. improving the UX), or a class of pages. I never install them, because even if those pages are not critical, the permission request is always scoped to "all data, every site", which means that e.g. this nice plugin decluttering YouTube could also exfil data from my bank's webapp.
Re:Show HN: Use Slack Emoji on GitHub by awinter-py on Monday November 14, 2022 @07:11PM (#33603370)
pretty sure chrome provides this? or at least whatever build of chromium I am on, at least for local-unbundled extensions
Re:Show HN: Use Slack Emoji on GitHub by eyelidlessness on Monday November 14, 2022 @06:19PM (#33602823)
> This is just basically everyone using Slack, as Firefox, Chrome, and Safari support web extensions API

~Basically my point. I made allowances for people who use neither, but they’re a vanishingly small user share.

> I would bet that most people who use Chrome or Firefox install extensions that can run arbitrary JS on every page, like ad blockers, full page screenshot, or “nifty” discount-coupon-code extensions.

Pretty much my point. Along with the former point, the Venn diagram is roughly all Slack users.

Re:Show HN: Use Slack Emoji on GitHub by bakugo on Monday November 14, 2022 @06:38PM (#33603020)
Millions of developers run random javascript on their computers on a daily basis. It's called npm. How is this any less trustworthy?
Re:Show HN: Use Slack Emoji on GitHub by TeMPOraL on Monday November 14, 2022 @06:46PM (#33603109)
It isn't, but those millions of developers are why software supply chain security is a topic now (and why it causes me no ends of headaches, even though I do C++!).
Re:Show HN: Use Slack Emoji on GitHub by vallanceroad on Monday November 14, 2022 @05:25PM (#33602188)
Does this work for others not running the browser extension (or outside of your Slack organisation)? Also, Emoji has been part of Unicode for more than a decade...
Re:Show HN: Use Slack Emoji on GitHub by schniz on Monday November 14, 2022 @05:31PM (#33602263)
Yes, your custom emojis will turn into images anyone can see. See: https://github.com/Schniz/fnm/issues/847#issuecomment-131372...
Re:Show HN: Use Slack Emoji on GitHub by petepete on Monday November 14, 2022 @07:23PM (#33603476)
Oh hi. Unrelated to this tool but I use fnm every day and it's fantastic.

First time I used it it ran so quickly I thought it wasn't working properly.

Thanks for your hard work.

Re:Show HN: Use Slack Emoji on GitHub by Raed667 on Tuesday November 15, 2022 @03:09AM (#33606578)
second this, it pains me when people install `nvm` not knowing `fnm` exists and is sooooo fast
Re:Show HN: Use Slack Emoji on GitHub by schniz on Tuesday November 15, 2022 @10:22AM (#33610219)
thank you! happy that you find it useful
Re:Show HN: Use Slack Emoji on GitHub by keybored on Monday November 14, 2022 @05:27PM (#33602219)
Just :pinched_fingers:
Re:Show HN: Use Slack Emoji on GitHub by codetrotter on Monday November 14, 2022 @05:37PM (#33602337)
Hey, if you make a similar extension for HN we could start using emojis in comments :pepe_dab:

It’ll be like BetterTTV but for HN :catjam: :meow_party:

Re:Show HN: Use Slack Emoji on GitHub by 3np on Monday November 14, 2022 @08:35PM (#33604140)
Given enough users, you'll have interesting statistics and metrics forming. What are you going to do with this? Might visitor IPs (viewers of Emoji inlined on GH, that is) be processed/retained?
Re:Show HN: Use Slack Emoji on GitHub by andrenotgiant on Monday November 14, 2022 @09:20PM (#33604453)
No, Github proxies and caches images through an intermediary (probably for privacy reasons amongst other things.)
Re:Show HN: Use Slack Emoji on GitHub by 3np on Monday November 14, 2022 @09:47PM (#33604618)
I stand corrected, you're right! So seems to be 0 privacy concerns for viewers, here.

GH also seems to use the data-canonical-src attribute to reference the original URI.