Lurker News
Hi HN

I needed a way to monitor network calls made by chrome extensions so I made a small extension.
You can install it by dropping the zip or crx into the extensions page. It'll be on the chrome store whenever/if it gets through the review.
Hopefully it's useful to others.
https://github.com/dnakov/little-rat
https://twitter.com/dnak0v

Comments (101) 23 threads

Earlier comments
yuvalkarmi2 replies#
Pretty close naming to Little Snitch - the Mac network monitoring tool!
cantSpellSober#
I assumed that was intentional (rat being slang for snitch)
npace12#
haha yes, I called it Tiny Snitch at first, but it's too close.
mdaniel1 reply#
Depending on your intentions, the repo would benefit from a license instead of just using github for code hosting
npace121 reply#
Thanks for pointing it out, forgot to add it.
swyx#
github could advance OSS a lot by making license reminders much more prominent. so much code intended-to-be-open-source cant be treated that way because no license file. if anyone from github is here please prod someone in your UI department to make a banner or something!
jedberg4 replies#
How can I be assured that installing a random Chrome extension from a random person on the internet that has access to all my network data and can't get approved in the Chrome store is safe? :)
npace12#
I'm with you on that one, that's why the code is on github. The best way to install it is to check out the code for any risks, download the repo as a ZIP file and install it.
duiker101#
I guess the answer is that you must be able to read the code and use your own judgement.

Here the actual code of the extension is basically 2 files, one of 114 lines and the other 66. Plain js, easy to digest. Looks pretty safe.

meesles3 replies#
Verifying Github source code is not sufficient, since you don't know the release contains that source code (when downloading fro the store). You'd have to verify signatures

Also, plenty of these extensions have been acquired by data firms or other sketchy places to then add your browser to botnets. If these are absolutely necessary for you, I highly recommend downloading the source and dumping it into Chrome/Edge via developer mode. At least then you know they can't update it in the background and you know what you're running.

SoKamil1 reply#
.crx is just a .zip underneath. You can unzip it and inspect the code.
throwaway290#
I thought it's just installed and that's it, cool...
Exuma#
It's not in the store, you download it
snowycat#
You could always download it from github, turn on developer mode in chrome (there's a little switch in the top right corner of the chrome://extensions ui), and then load it as an unpacked extension from source without ever touching the chrome web store.
spread_love1 reply#
By reading the source code? No wonder reddit used to go down so often...
jedberg1 reply#
I don't pretend to be a security expert in every language.

> No wonder reddit used to go down so often...
That's uncalled for. If this were reddit I'd have a much spicier retort.

spread_love1 reply#
just a joke, apologies :(

you leaving is actually part of the reason I left at the time, you were one of the few admins who regularly participated (it seemed)

Continue this thread — 1 reply

All comments shown.