HNHacker News
TopNewBestAskShowJobs

arkadiyt

22,018 karma · joined May 30, 2015

https://twitter.com/arkadiyt

https://bsky.app/profile/arkadiyt.bsky.social

https://arkadiyt.com/about

submissionscomments
arkadiyt··on Hackers can use credit bureaus to dox nearly anyone in America
I've been using it for a few years and am a happy customer. However - what deleteme does is remove you from "Spokeo"-type websites, it will do nothing to protect you against the issue in this article, which is people buying your data from the credit bureaus.
arkadiyt··on Critical RCE found in popular Ghostscript open-source PDF library
I've said it before and I'll say it again: ghostscript will never be safe, ever.

If you must run it then make it 100% isolated, for instance in a lambda with no api credentials or IAM permissions, & do s3 input/output by passing presigned urls. Make it ok to have RCE.

arkadiyt··on It Took Me a Decade to Find the Perfect Personal Website Stack – Ghost+Fathom
> I pay $0 a year to host my Next.js website on S3.

It's only free while you have no traffic. Getting a single post on the top of HN could cost you e.g. $10.

arkadiyt··on Ask HN: How to do market research for product?
YC Startup School puts out some excellent content. I recommend the whole series but in particular "How to Get and Evaluate Startup Ideas" [1] and "How To Talk To Users" [2].

[1]: https://www.youtube.com/watch?v=Th8JoIan4dg&list=PLQ-uHSnFig...

[2]: https://www.youtube.com/watch?v=z1iF1c8w5Lg&list=PLQ-uHSnFig...

arkadiyt··on Show HN: HN comments sidebar bookmarklet
> For people reading this, the parent comment is referring to this line[1] from a previous revision of the gist.

That was not the line, it was linking to this innerHTML call: https://gist.github.com/postmalloc/e2602752d46c5b9dee2446235...

Also as a defense mitigation I don't think escaping is ever going to be effective, it would be better to create anchor elements directly. With your current approach I can still XSS with, for instance:

    https://"onmouseenter=alert(1)"
arkadiyt··on Show HN: HN comments sidebar bookmarklet
This is trivially vulnerable to XSS [1]. Someone can leave a comment of the form:

    https://"><script>alert(1)</script>
and if you click the bookmarklet for the page that comment was discussing then their javascript will execute in your logged in context on that website.

[1]: https://gist.github.com/postmalloc/e2602752d46c5b9dee2446235...

arkadiyt··on Google Limiting IO_uring Use Due to Security Vulnerabilities
See also this discussion about the original source: https://news.ycombinator.com/item?id=36350693
arkadiyt··on Ask HN: How many of you have been laid off twice this year already?
> I’m starting to wonder what the upside of working at a big tech company really is.

As opposed to working at a startup? Stability is way worse, base pay is lower on average, stock is an even bigger crapshoot, less perks, worse work-life balance. Work might be more fulfilling

arkadiyt··on Transmission v4.0
I wanted to evaluate it in the past but their downloads page has a giant warning, "The macOS version is not well supported", so I didn't bother downloading it.
arkadiyt··on Transmission v4.0
For whatever reason the ARM version of Transmission does not work well on my M2 laptop - it downloads quickly at first and then drops off to zero, and had some other bugs (the x86 version always worked flawlessly). I tried playing around with different settings, running their nightly builds, etc, and nothing fixed it for me. In the end I searched for other clients and found them all filled with ads and bloatware, and decided to use this excellent open source command line client instead:

https://github.com/anacrolix/torrent

It has a few frontends built on top of it (linked in the project readme), but I just run `torrent download <magnet link>` and it downloads at full speed / with no issues.

arkadiyt··on Ask HN: Is anyone successfully self-hosting Firefox Sync?
> The party which holds your data is also the party which ships evergreen versions of the software used to decrypt that data. There’s nothing to stop the government in Firefox’s jurisdiction from bullying them into adding a backdoor.

Hosting your own sync server doesn't prevent this.

arkadiyt··on Ask HN: Is anyone successfully self-hosting Firefox Sync?
> However, I do not want to risk storing absolutely sensitive data (browsing history, auth cookies, credentials, etc) at some third party.

FWIW Firefox says they do not have the capability to read your data: https://hacks.mozilla.org/2018/11/firefox-sync-privacy/

arkadiyt··on Google Fi seemingly affected by latest T-Mobile data breach
Not everyone got this version of the notice. Here's a reddit user who posted [1] that they were SIM swapped:

> Additionally, on January 1, 2023 for about 1 hour 48 minutes, your mobile phone service was transferred from your SIM card to another SIM card. During the time of this temporary transfer, the unauthorized access could have involved the use of your phone number to send and receive phone calls and text messages. Despite the SIM transfer, your voicemail could not have been accessed. We have restored Google Fi service to your SIM card.

[1]: https://old.reddit.com/r/GoogleFi/comments/10pjtie/google_fi...

arkadiyt··on Ask HN: What's the story with “Checking Connection Security” website loaders?
They're executing javascript to ensure e.g. you're not running in a headless browser. If you loaded the page and ran it in the background then the person making the request already got access to the page content, it's too late.
arkadiyt··on What are some interesting uses of WebUSB you have come across?
The reason hardware 2fa keys like yubikeys are unphishable is that the browser controls the usb communication with the hardware key and passes the origin of the page to it - the page itself can't spoof an origin.

But with WebUSB a page _can_ communicate directly to a yubikey and pretend it's being asked to authenticate on a different origin. It's been fixed now but it was an interesting bypass:

- https://www.yubico.com/support/issue-rating-system/security-...

- https://www.wired.com/story/chrome-yubikey-phishing-webusb/

arkadiyt··on WiFi Routers Used to Produce 3D Images of Humans
Then the countermeasure does nothing since you can't run your firmware on their router?
arkadiyt··on WiFi Routers Used to Produce 3D Images of Humans
> Earlier discussion: https://news.ycombinator.com/item?id=34423395

The top comment [0] on this has:

> Counter-measures: https://news.ycombinator.com/item?id=27121918#27133079

but I don't understand the setup here. If you have the capability to run custom firmware on your router then don't you not need this countermeasure, since you can be confident your router isn't doing this wireframing anyway? Or is it saying that a passive bystander who is not connected to your network can infer the wireframes as well? That seems unlikely to me?

[0]: https://news.ycombinator.com/item?id=34424242

arkadiyt··on T-Mobile says investigating data breach involving 37M accounts
Not linked from the article but here is the filing T-mobile made with the SEC about it:

https://www.sec.gov/Archives/edgar/data/1283699/000119312523...

arkadiyt··on Spy software found worker wasn't working as much. Now she must repay her wages
Yes, sorry about that. It should be this one: https://www.cbsnews.com/news/remote-worker-ordered-to-repay-...
arkadiyt··on Impact of breakfast skipping compared with dinner skipping
> Meal skipping has become an increasing trend of the modern lifestyle that may lead to obesity

I believe them that this is correct but does anyone know why? I thought all the "intermittent fasting" folks were losing weight?

arkadiyt··on Microsoft subdomain takeover
> is the risk of having Microsoft’s army of lawyers throw CFAA at you really worth this?

Microsoft has Safe Harbor.

arkadiyt··on Google’s quest to digitize troops’ tissue samples
> “The chief concern,” Google’s liaison in the military warned the leaders of the repository, “is keeping this out of the press.”

Just once it would be nice if companies were actually held accountable.

arkadiyt··on CircleCI security alert: Rotate any secrets stored in CircleCI
For assuming one role it can be up to 12 hours. If you're doing role chaining like the parent mentioned (where the 1st assumed role then assumes a 2nd role) then the maximum session duration is 1 hour. AWS has this documented here:

https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_te...

> Role chaining limits your AWS CLI or AWS API role session to a maximum of one hour.

arkadiyt··on CircleCI security alert: Rotate any secrets stored in CircleCI
To assume a role with OIDC you'd need to do it from the context of a specific CircleCI job run - getting access to the secrets of a particular CircleCI account alone would not be enough to authenticate to AWS (unlike when you use IAM user credentials).

Even if the attacker had access to env vars from running jobs (which includes the signed token needed to do an OIDC role assumption), those tokens have a short expiry time, and even if an attacker stole that token and performed a role assumption then that session can only be valid for a maximum of 12 hours in AWS, and then you know the attacker is out of your account.

It just significantly reduces, practically nullifies, anything that an attacker can do in your AWS account.

arkadiyt··on CircleCI security alert: Rotate any secrets stored in CircleCI
Great reminder for folks to switch any AWS actions you perform from CI/CD to use OIDC role assumption instead of static IAM user credentials. Then even if an attacker stole all your secrets they can't do anything in your AWS account.
arkadiyt··on Show HN: Beesy – Record Google Meets for free, download locally
Looks neat. Just a reminder for folks that some states (like California) are Two Party Consent states, meaning it is a crime to record the call unless all parties consent to it.
arkadiyt··on Show HN: A userscript that adds archive URLs below the paywalled HN submissions
Heads up this is vulnerable to cross site scripting [1]. If someone submits a link like:

    https://example.com"><script>alert(1)</script>
Then simply viewing the hackernews index page with this extension installed will let the submitter execute whatever javascript they want in your logged in hackernews context - no user interaction necessary.

[1]: https://github.com/MostlyEmre/hn-anti-paywall/blob/main/scri...

arkadiyt··on WhatsApp data leak: 500M user records for sale
WhatsApp chats are end-to-end encrypted (even their iCloud backups are). Telegram group messages are always plaintext / available to Telegram, and Telegram 1:1 direct messages are plaintext by default.
arkadiyt··on CVE-2022-41924 – tailscaled can be used to remotely execute code on Windows
edit: I stand corrected as pointed out by the replies below. Curious what logs they had to prove this!

Original comment:

> Do they have enough logs to reach out to people that were affected?

It happens on the client, there are no server logs that Tailscale could check

arkadiyt··on Show HN: Run unsafe user generated JavaScript in the browser
Figma has a great blog post on some different user-generated javascript isolation approaches [1]. They discuss this iframe approach, running a webassembly javascript interpreter (also suggested in these thread comments), and using javascript realms. In the post they originally opted for javascript realms but there's an edit at the top - it seems like they ended up switching to the webassembly javascript interpreter approach.

[1]: https://www.figma.com/blog/how-we-built-the-figma-plugin-sys...

← PreviousPage 2 of 15Next →