Better HN
topnewbestaskshowjobs
Log inSign up

etc_passwd

25 karma · joined Jul 1, 2013 (13y ago) · 11 submissions

Submissions

comment 3y ago · link · parent

Democrats / Republicans looks like it was added outside of SDLC [1]. This order without those features is sorted, likely by a linter, suggesting Elon and Vits are properly implemented, and Democrats/Republicans was just inserted alongside the Elon feature, perhaps just for this extract. Sorting it now results in a different order than the commit.

[1]: https://github.com/twitter/the-algorithm/blob/7f90d0ca342b92...

comment 4y ago · link · parent

The security principle is largely based on OCAP-based permission scheme, where implicit access to an object is equal to the right to access, and freezing said object limits its use.

comment 4y ago · link · parent

the ability to create and send an object that cannot be modified

comment 7y ago · link · parent

if you read the blog post and the privacy policy, you’d see that they are collecting analytics and requests in logs, including failed private module lookups.

comment 7y ago · link · parent

...but references to them are stored by google in logs and used per the privacy policy at https://proxy.golang.org/privacy

comment 12y ago · link · parent

It's a Disassembler - Ida Pro

https://www.hex-rays.com/products/ida/

comment 13y ago · link · parent

Here are two more javascript encoders that are useful for getting around filters:

http://utf-8.jp/public/jjencode.html http://utf-8.jp/public/aaencode.html

comment 13y ago · link · parent

Single page version: http://www.gamasutra.com/view/feature/196009/the_scumm_diary...

9.

Heroku launches Security Researcher Hall of Fame(blog.heroku.com ↗)

2 points · by etc_passwd · 13y ago · discuss

comment 13y ago · link · parent

Your browser will automatically send any cookies it has for a domain when it is instructed to send a request to that domain HttpOnly cookies included. The thing preventing the malicious site from getting knowledge of your SID or your fnid token is the Same Origin Policy: https://en.wikipedia.org/wiki/Same_origin_policy. If it wasn't for the same origin policy, I could just grab your HN sid from any website with plain JS on the malicious domain.

A CSRF attack is the equivalent of blind-firing a gun at a domain, and the browser "helps" you by automatically attaching your cookies to that bullet. Depending on the situation, you usually don't get a response back. Here is a good preso from when CSRF was hot back then which explains the attack scenarios: https://www.blackhat.com/presentations/bh-dc-08/Willis/Prese...

Throwing CORS into the mix complicates things a bit but that relies on the site that is being attacked to explicitly allow calls from the malicious site or use an Access-Control-Allow-Origin: * which in itself is a security vulnerability. More details on CORS: https://developer.mozilla.org/en-US/docs/HTTP/Access_control...

comment 13y ago · link · parent

CSRF tokens are designed to protect users from CSRF attacks from other sites. The example you posted requires the username and password, which renders the token anyways. A cross-domain post to HN from a rogue site will not be able to know the CSRF token since it does not have knowledge of your SID, rendering this attack not viable in practice.

More Info: https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(...