HNHacker News
TopNewBestAskShowJobs

andersonmvd

552 karma · joined August 4, 2014

Working at https://devops.security (from https://kakugo.ch)

--

about me & contact: https://dadario.com.br

best pic ever: https://jayub-intercomm.weebly.com/uploads/6/0/2/8/60283505/1443822731.png

--

I kinda like to code. I more or less like to do product management. But I'm always delighted to ship products that people love.

--

"If you want to set off and go develop some grand new thing, you don't need millions of dollars of capitalization. You need enough pizza and Diet Coke to stick in your refrigerator, a cheap PC to work on and the dedication to go through with it." - John Carmack (quote stolen from HN user nchelluri)

--

"when the rubber meets the road", love this quote

--

"(...) you want to do projects that are inspiring and that make people excited about the future. my life's got to be about more than just solving problems who want to get up in the morning and say yes I'm looking forward to that thing happening (...)" mr musk

-- loginwithhn

wX4oPqNdLt

submissionscomments
andersonmvd··on Make Front End Shit Again (2018)
I guess the point is to make you feel something different, to explore and try to figure the website out. I remember accessing the "hack websites" with black background and red texts in comic sans while thinking "is it a dangerous website?" haha. Today we mostly take some template because it's "cost-efficient" and end up all looking the same with flat design, call to actions everywhere "buy" "talk to sales" "schedule demo", chat on the right bottom corner and so on.

When I wrote my last website (https://kakugo.ch) I factored in how to balance in trying to making it interesting yet presentable for the everyday audience. I don't know if I achieved that but I tried. A few things one can notice there: two easter eggs, a text written from the heart and some peculiar images. If you also have any more ideas, let me know, thanks :)

Recently I've also stumbled upon three.js which is awesome to build sites like this https://bruno-simon.com/. 3D modeling for websites is pretty neat. As the owner of this website said "i like to build websites that look like videogames".

andersonmvd··on New data: What developers look for in future job opportunities
> How developers discover companies

Surprised not to see "recruiter getting in touch" as an option

andersonmvd··on Ask HN: Are you depressed?
It's also about how you use your commute. For a 2 hour commute I was listening to audiobooks or studying with some app. Not unhappy for me, but it's true that sometimes it's better to have another choice, e.g., sleep instead.
andersonmvd··on Zoom iOS app sends data to Facebook even if you don’t have a Facebook account
It's not the first surprise from Zoom. They run or at least ran a webserver that was vulnerable to remote attacker, even after uninstalling it: https://lifehacker.com/remove-zoom-from-your-mac-right-now-1... (2019)
andersonmvd··on Decrypting Blind's Encrypted API
Reasons I can think of: depends whether you assume TLS is not going to be broken again and whether the TLS termination happens before the component you want to process the data, to do any sort of check, e.g., web application firewall. With the goal of reducing insider threat and reducing exposure of sensitive data to components that don't need to know such data. However usually it's a bad idea to solely rely on javascript crypto: https://www.nccgroup.trust/us/about-us/newsroom-and-events/b...
andersonmvd··on Sweden gives employees unpaid time off to be entrepreneurs (2019)
The wiki list is outdated. Brazil for example has at least 9 https://techcrunch.com/unicorn-leaderboard/ (filter by country)
andersonmvd··on Ask HN: What's the current sentiment on JWT for stateless auth tokens?
Just use stateful tokens because if you are dealing with sessions and you are doing it right, you WILL want to revoke them at the user's will or at some suspect activity in a session.

I've wrote how to revoke a JWT (https://dadario.com.br/revoking-json-web-tokens/ - caveat: requires a db lookup), but if you are going through the trouble of revoking a JWT, just use a stateful session instead. It's way easier.

You can use JWT to pass along user information to other components within your architecture, that's fine :)

andersonmvd··on Brazil's President Blames NGOs for Amazon Fires
The fire is not purposeless. The land will be reused for livestock, to have more cows and food for them as well. A big chunk of it will be exported to countries that buy these things. Chances are that it includes your country as well. So maybe rethinking your / your network diet is a big incentive to prevent further fires.

Despite that, your excerpt on "(...) they should be judged accordingly in the future." is almost a religious statement. Or maybe you are assuming that all Brazilians voted for the fires, so next time you see one you have a judgement to state? No matter the angle I look, this is a very unfortunate statement. Or more precisely "judgement" is a very unwise word choice I daresay.

andersonmvd··on What I gained, lost and learned while working for Microsoft
I am dumb or everyone is missing the point in their comments.

It's not about disillusion or work-life balance. It's about how smart people go into submission of the corporate b.s. so quickly and for so long. You can count on your fingers, if you actually know, a place where you can work and derive from it your own fulfillment and generate a real impact to real human beings.

People get lost along the way, put money first and use politics as a mean to get that. That's the cause of all shitty jobs you may have and all shitty services you have as a consumer. This capitalism overfitting. There is no real mission behind people, except for the cold hard hash or power over other humans.

I invite you to think, even for a minute, about this statement written on Simon Sinek's website: "Imagine a world in which the vast majority of us wake up inspired, feel safe at work and return home fulfilled at the end of the day."

How come this statement is simply reversed nowadays AND people don't make an effort to change it. Holy Moly ...

andersonmvd··on Ask HN: What was your experience starting a tech consultancy?
Saying "no" is a challenge for human begins in all levels.
andersonmvd··on Jabra: we know our Bluetooth headsets don’t work with laptops
A bit different, but as a curiosity my AirPod also does not work my Macbook in a high speed train. The connection with an iPhone works perfectly on the other hand. I wonder what's the challenge for laptops to make bluetooth work properly.
andersonmvd··on Ask HN: What should I do when I'm bored with my career?
People used to say that opportunity is everywhere, you just need to pay attention. Fun is the same thing.

Some things that make every day fun

- trying to know for who you are building your software for, talk to this end user, get to know how useful (or useless) your construction is actually solving something or not. I'm 100% sure that if you see many people using and feeling thankful from what you made, that would make you feel great. Nothing less!

- improving the environment of your company. Look, everyone has a big problem. They are also coming to work with some problem on the back of their heads. If we could just light this a bit, it is immensely rewarding. We're going to die anyway, so why not make our existence a noble one? :D

- find a topic that you like and present it to your boss, try to find together a way to combine both. He may have some idea, or the boss of your boss. Everyone wins when you are motivated

- plan your big escape: if your goal is to only study, consider making some money, moving to a cheap place (Thailand?), and with a leeway for a few years, you can try to experiment some ideas. Why not put some courses on udemy for example? Teach all you could, in the best way possible and learn how to promote what you do

Have fun!

andersonmvd··on In Brazil, it is considered rude to be on time to a party
I hope you all remember that Brazil is too big to assume that everyone is the same, thus everyone will be late to all appointments. It happens a lot, yes. But be careful to label people in advance. Many (!) Brazilians work overseas, including in Germany, and I'm sure those are not late as the article suggests for example :)

Also, what would be crazy for many people that live in small countries compared to Brazil, is that many workers live far away from their job or school. Up to 3 hours for a single way. It is also expected to have something not working in their way to their destination.

It's not a black and white thing. Writing a generic bold statement tends always to be harmful. Damn human brain that loves to find patterns to simplify information processing :)

andersonmvd··on Ask HN: What were/are you doing at age 25? What would you change?
People who seek "great money", especially after college, usually end up very miserable in my experience. It's way better to go where you will learn something and enjoy, even if you have to be underpaid. It pays off much more. But don't forget to sharp you negotiation skills afterwards :)
andersonmvd··on How to build an NPM worm
You just rationalized being rejected from a website because you came from HN. The truth is that you don't know what "toxic" means by the author's own definition or what led him to think that way. It may or may have anything to do with "listening to other people". Perhaps this defense is toxic already. And just telling that some place is great for you does not mean that it's great for others.
andersonmvd··on Forging a Swiss Lens: How Zurich's tech scene changed my view of SV
Do not forget that the taxes are way different and should be accounted for in a comparison.
andersonmvd··on Do we really need a new BGP?
I wonder how it relates to SCION (https://www.scion-architecture.net/)
andersonmvd··on Privacy
The video you just mentioned is a little bit more than 3 minutes, without technical evidence and spoken by one of the best public speakers we've seen. It's ok thinking that Apple focus on your privacy but make sure to see some real evidence.
andersonmvd··on Amazon Hub
So beware about addiction. Sometimes I make sure to not bring my phone to have more focus, e.g., gym, talk to people, etc.
andersonmvd··on API Security Checklist for developers
> I generally agree with your conclusions, but I don't understand why you compare JWT to cookies.

You're right when it comes to terms. Allow me to clarify what I meant by Cookies and JWT in the explanation above:

I was referring to Cookies as the default storage for stateful session mechanism used by web frameworks that makes use of a random session ID with high entropy. It's the no-brainer approach to implement stateful sessions and (usually) doesn't require changes on the client-side but require you to store all sessions in a file/redis/db. And expiration that you pointed now makes sense, because I'm talking about the expiration of the session on the server-side, although Cookie has this mechanism which does little to prevent session hijacking.

JWT, on ther other hand, usually is stored on LocalStorage and requires some development changes on the JavaScript framework because it needs to read from LocalStorage, capture the JWT and send it in every request. With a web framework's default approach (that I used the term Cookies), it's seamless.

andersonmvd··on API Security Checklist for developers
In a nutshell with my comments:

Benefits

- Easier to (horizontally) scale: that's true. My previous company shut down a few servers thanks to JWT

- If it has a vulnerability, just update to patch it ... instead of fixing your customized algorithm. It's way better, but you need to use the most popular / battle-tested / maintained library for your language and keep track of its CVEs as any another dependency.

Drawbacks

- Not revocable, but you can 1) make it short lived, 2) create a blacklist check in a key/store database or 3) tie another verification to it with the cost of a database call (https://dadario.com.br/revoking-json-web-tokens/). Regarding the article (part 2), when it says what would happen if your server is down .. seriously, it's way easier to anything but a key/store value of a few items to get down first than any other server

- Developers think that the data is encrypted, when it's only base64'd

- Libraries have to make up for the flawed specification that allows the JWT to carry both the algorithm used and the signature

- Libraries are not as battle-tested as cookies

- Libraries may support flawed algorithms (e.g., RSA with PKCS #1v1.5 padding - for JWE), thus you have to know what you're picking

Some points that I agree or partly agree with the author of such article:

- Easier to use: that's nonsense. I'd say that it's the same thing as implementing a cookie mechanism

- Works better on mobile: that's nonsense

- Works for users that block cookies: you can very well put your session token in the LocalStorage and achieve the same effect

- They take up more space: true

- Built-in expiration functionality: that's nonsense. Cookies have it as well.

- By storing it on LocalStorage you avoid CSRF, but you can do that with session tokens already. Regarding the links above that 'by using JavaScript you open up your application to a lot more risk' .. well, to build a page without JavaScript in 2017 is madness. Let's get back to reply with full HTML content again? Lol. Backing to the point, it's not really a benefit of JWT, but commonly related to tokens that you store on LocalStorage, even though they're subject to XSS, as opposed to cookies w/ HttpOnly flag -- and then we go again to discuss how this flag only passes a 'false sense of security' because if you have a XSS, you already have lots of trouble.

Topics that are complicated:

- Saying 'more secure' or 'less secure' depends on how it is implemented. You could have secure JWT implementations and flawed stateful session implementations.

- Data goes stale: depends on what data you put on it! Just putting the user's UUID is not something that is likely to change, except when the user is removed;

andersonmvd··on Don't publicly expose .git (2015)
Not only nikto2, but other scanners (https://gauntlet.io/en/product/supported-scanners/) as well. It comes with open source installed, but integrate with commercial too. Currently each scan triggers a new virtual machine - thus a new IP Address and all applications need to be verified prior to execute a scan (e.g., Google Analytics require metatag, file upload or dns record).
andersonmvd··on Don't publicly expose .git (2015)
".git" is only one of many checks performed by Nikto (an open source security scanner - https://cirt.net/Nikto2), but there are other checks and many other scanners.

shameless plug: I've developed a service that you run to check against vulnerabilities in your apps/servers and it has a free plan (https://my.gauntlet.io/registration.html) in case you're interested (https://gauntlet.io).

andersonmvd··on There’s graft, and then there’s Odebrecht graft
Your reasoning is intuitive, but I'm afraid you're wrong to some extent.

It's true that it's not an isolated case and PART of the society may be susceptible to pay or receive bribes, but according to a Brazilian historian, Marco Antonio Villa, PhD (https://en.wikipedia.org/wiki/Marco_Antonio_Villa), when Brazil was nominated as independent by Dom Pedro I, there was no corruption cases. The few cases that happened afterwards were severity punished. It's not clear exactly, however, when corruption was installed between that time and today. Now Brazil is going through a transformation. Corrupts are being caught, or at least giving satisfaction to prosecutors. The federal police is doing a wonderful job with many operations to uncover / dismantle white collar crime. Pushing forward this momentum will lead to a new country. And it is happening as I can see very close. You are just seeing many news in this regard because many cases got uncovered at once, so don't take the wrong idea. Your country or any other country have corruption or nefarious things going on that are only discovered in the future. That's all.

andersonmvd··on Ask HN: What are we doing about Facebook, Google, and the closed internet?
In the end of the day it looks like false freedom for me. You think that you can move everywhere you want, but you're still using a closed source platform (Google).

To have an "open web" we have to have as usable, hassle free alternatives. And as I don't see that day coming yet, because you have to invest your time and money to take care of something (e.g., your email) that wasn't a worry to you before, we won't have "an open web" any time soon.

Some may have the perception that they are "free" and "contributing to an open web" when they're not.

Furthermore you may argue that is best to post in your own website instead of facebook. But what if your business depends on posting on Facebook to earn more? Some may write a copy in their websites, but they will be secondary. Or everybody moves out from such closed source platforms (the masses won't), or we won't have an open web.

I'm looking forward to be completely mistaken. Tell me how wrong I am.

p.s.: my entire comment is not necessary a reply to the comment above, only part of it.

andersonmvd··on Facebook is an attack on the open web
I wonder why people are so extremist. Just like 'mobile phones are the new cigarette' you don't need to throw them out. You just need to know where to draw the line.
andersonmvd··on Show HN: UrlRoulette – Pass a URL to the next visitor
It would be cool to somehow be able to send a feedback to the previous user who shared the link. I can see a few things being derivative from this idea. Nice idea, but yeah, horrifying when it comes to security. We really have to trust the previous user or simply leave the website. It would be great if you could perform some scan to check for pornographic content, scripts (js) in the page, malware and so on. That's a nice page to exploit CSRF as you don't need to persuade the user to click in a link, you just redirect him.
andersonmvd··on Ask HN: Mailing lists that HN readers ought to know about?
My application security newsletter (https://dadario.com.br)
andersonmvd··on Ask HN: What are you working on?
Project: Gauntlet.io (https://gauntlet.io)

Problem: it's tough to run multiple security tools and get a quick security assessment of a web application.

Description: It runs multiple security scanners against your application and consolidates the results. It's great to integrate to your delivery pipeline. It's free forever for 1 target :)

andersonmvd··on ‘Honeypot’ pages to try to convert people searching for cracked software
Valid point, but searching for the 'cracked' version could also be cultural. It's not like people could not afford, they would prefer to 'feel smart' by having the cracked version instead. For that sake, this 'honeypot page' is good, but could include more info on why paying is so important to keep the lights on.
← PreviousPage 2 of 7Next →