Live data from Hacker News

Why I Actively Discourage Online Tooling like jwt.io and Online JSON Validators

jvt.me

51–60 of 170 posts

Re: Why I Actively Discourage Online Tooling like jwt.io and Online JSON Validators

#51
post #39

Earlier quoted context omitted.

Some attacks exploit vulnerabilities in dev infrastructure. Exposed dev JWT token may enable such an attack.

This is precisely why my comment makes it clear that dev shouldn't be available to the outside world.

Security in layers. You should keep your dev environment private but also not paste credentials into a networked textbox.

Re: Why I Actively Discourage Online Tooling like jwt.io and Online JSON Validators

#52

Earlier quoted context omitted.

i hate how when I'm copying + pasting a url to a test or internal environment, to the browser address bar - I may have a typo in there, or an extra space. Bam! The URL just became a google search

Doesn’t browser hit suggestions API on every type stroke anyway?

This is easy to turn off, in Firefox, at least.

Re: Why I Actively Discourage Online Tooling like jwt.io and Online JSON Validators

#53

Earlier quoted context omitted.

Type myintranetsite/ instead, this is faster than http:// in front.

As you type, the name is still being sent to Google for search suggestions with every keystroke until the final "/". If you prefix with " http://" , no requests are made to Google (except "h", "ht", "htt", "http", and "http:")

> If you prefix with "http://", no requests are made to Google (except "h", "ht", "htt", "http", and "http:")

This seems surprising to me. Can you back up this claim?

Re: Why I Actively Discourage Online Tooling like jwt.io and Online JSON Validators

#54
post #12

Earlier quoted context omitted.

No, you'd just have to validate it when you're inputting something particularly sensitive (and I really do usually look in the network console when I'm doing something like that)

Presumably you enter dummy data to validate first. What if it doesn’t send that, but does send the real data?

Then I'd change the keys in that rare circumstance. What are the chances the attacker will be able to take advantage of the leak before I have a chance to change them, particularly given an attack like this would likely be a blanket attack and not targeted?

Re: Why I Actively Discourage Online Tooling like jwt.io and Online JSON Validators

#55
post #6

But using google, slack, skype, gitlab, bitbucket... is fine to send sensitive data?

i hate how when I'm copying + pasting a url to a test or internal environment, to the browser address bar - I may have a typo in there, or an extra space. Bam! The URL just became a google search

I often have the opposite problem: I'm on Firefox and try to google "FooError: Bar happened" and instead of directing to google, Firefox prompts me to select an application to open "fooerror links".

Re: Why I Actively Discourage Online Tooling like jwt.io and Online JSON Validators

#56
post #8

If you never use production data for anything other than production this stops being a problem. You can put all the dev and staging JWTs you want in to jwt.io at no risk if those things aren't available to the outside world.

Agreed. This pretty much applies with any data & tool. If the data is extra sensitive, make extra sure the tool you are using is secure. If your data is for dev purposes only, the tool doesn't have to be validated as thoroughly.

Wow really? Lateral movement is very real, your mindset is dangerous.

Re: Why I Actively Discourage Online Tooling like jwt.io and Online JSON Validators

#57

For those criticizing the author for 'fantasy' security problems, it seems relevant to emphasize that they work at a bank---their threat model is probably rather more vigorous than most.

I dunno, I worked at a bank that was about to be a Capital One direct competitor and I we weren't really worried about "leaking implementation details" via the structure of our tokens. Sounds like some security through obscurity.

Re: Why I Actively Discourage Online Tooling like jwt.io and Online JSON Validators

#58
post #51
post #39

Earlier quoted context omitted.

This is precisely why my comment makes it clear that dev shouldn't be available to the outside world.

Security in layers. You should keep your dev environment private but also not paste credentials into a networked textbox.

This, I can't believe we are even debating it...

Re: Why I Actively Discourage Online Tooling like jwt.io and Online JSON Validators

#59

Webapps like jwt.io run locally in your browser and you can monitor traffic, prevent further requests or even run them yourself to make sure of this. This post is misinformed at best.

did you validate that those sites do not batch data input over time and send them out, much later than your direct user input interactions?

Open in private window, set to offline in the console's network tab, do your thing, close the window. At least I'm not aware of a way the app could send or persist the data when you do that.

Re: Why I Actively Discourage Online Tooling like jwt.io and Online JSON Validators

#60
post #10

It sounded like the OP had some solid proof but eventually it boils down to "I'm suspicious". It's a valid opinion just not an objective one

If there was proof it would be a different thread, but "don't paste credentials into websites you don't control" seems like great advice for life.
Post reply on HN