Better HN
topnewbestaskshowjobs
Log inSign up

xucheng

1,211 karma · joined Sep 18, 2014 (12y ago) · 150 submissions

https://xuc.me

[ my public key: https://keybase.io/xucheng; my proof: https://keybase.io/xucheng/sigs/WxFwFwijzQd1QEoW589Bdm3s-u55v03sSLljKAHlGzc ]

Submissions

comment 4d ago · link · parent

From the disclosure, it is not clear to me whether the vault data remains unaffected because the attacker was never able to access the encrypted vault data in the first place, or whether it is protected simply because of the E2EE nature of 1Password’s design. Can someone help clarify this?

While the two scenarios currently yield the same outcome for the attacker, they are not exactly equivalent. If the attacker were able to harvest encrypted vault data, they could launch a phishing campaign to trick users into revealing their Secret Key and Master Password, potentially allowing them to decrypt the vault.

Moreover, the disclosure mentions that the vault’s public key was leaked. Unfortunately, 1Password uses public-key encryption in part of its encryption process [1]. Does this mean the attacker could potentially carry out a harvest now, decrypt later attack and simply wait for a sufficiently powerful quantum computer, potentially within less than a decade [2]?

[1] https://www.reddit.com/r/1Password/s/rRyqj4Uc8C

[2] https://blog.google/innovation-and-ai/technology/safety-secu...

comment 1mo ago · link · parent

This incident somehow exposes another previously overlooked issue. I just notice that so many softwares vendor their own version of CA store for no particular reason [1][2]. It is relatively easy to patch system CA bundles. It would be quite challenging to patch every binary that embedded their own CA. As such, many systems will remain vulnerable for quite some times.

[1] https://github.com/NixOS/nixpkgs/issues/576475

[2] https://github.com/zimbatm/nix-cacert-scan

comment 1mo ago · link · parent

Here is a counter example to your test. If we view an entire nation as one entity, especially considering the perspective of other nations in terms of diplomatic relationships, the nation would satisfy all requirements in your test. However, I don’t think most people believe that a nation has continuous consciousness which outlives all of its citizens for hundreds or even thousands of years. This argument can be applied to any large organization or a group of people.

comment 8mo ago · link · parent

> Sanctioned Institutions

> The NeurIPS Foundation, like any entity operating within U.S. legal jurisdiction, is required by law to comply with U.S. sanctions and trade restrictions. Under these regulations, providing 'services' (which includes peer review, editing, and publishing) to individuals representing sanctioned institutions is prohibited. Consequently, we are unable to accept or publish submissions from these institutions. This list of US-sanctioned institutions is available here: https://sanctionssearch.ofac.treas.gov/

5.

NeurIPS bans submissions from US-sanctioned institutions(neurips.cc ↗)

3 points · by xucheng · 8mo ago · 1 comment

comment 1y ago · link · parent

It’s quite common for a DOI to be assigned to a paper after it’s accepted during camera ready. However, the DOI won’t work until the conference or journal version is published on the official website (ACM in this case). The version you’re viewing now is simply a preprint directly from the authors.

7.

17 Pages [video](nebula.tv ↗)

2 points · by xucheng · 1y ago · discuss

comment 1y ago · link · parent

Can this be solved by storing a timestamp of the record along with precise GPS coordinates? Could we then utilize some database to compute the drift from then and now?

9.

Nebula Sans(nebulasans.com ↗)

348 points · by xucheng · 1y ago · 101 comments

comment 1y ago · link · parent

At least, Cisco survived. Nortel and Lucent were not so lucky.

comment 1y ago · link · parent

Many years ago, I reported an issue where iTerm2 leaks sensitive search history to preference files [1]. The issue was quickly fixed. But until this day, I can still find people unintentionally leak their search history in public dotfiles repos [2].

[1]: https://gitlab.com/gnachman/iterm2/-/issues/8491

[2]: https://github.com/search?q=NoSyncSearchHistory+path%3A*.pli...

comment 2y ago · link · parent

Interestingly, in the end of the article, the FDA links to an old article hosted on web.archive.org[1] even though the linked article was originally published by FDA themselves. Considering the linked article was only published at 2022, a merely 2 years ago, maybe the FDA should do more to prevent dead links.

[1]: https://web.archive.org/web/20221028042729/https:/www.fda.go...

comment 2y ago · link · parent

Maybe better url, the official press release : https://www.gilead.com/news-and-press/press-room/press-relea...

@dang

14.

Framework for Legislating on Artificial Intelligence (2023) [pdf](eff.org ↗)

2 points · by xucheng · 2y ago · discuss

comment 3y ago · link · parent

A related question: what is the state in term of supporting the SQL standard among the popular RDBMS? It seems that almost all database engines use their own custom syntax.

comment 4y ago · link · parent

You are confusing two different units. The earthquake moment magnitude scale measures the amount of energy of a given earthquake. It does not concern the location you are and the shacking you felt. Therefore, for this particular Taiwan earthquake, its magnitude is 6.9 regardless of the location.

The intensity scale on the other hand measures the amount of shaking for a given location. Naturally, the further you are from the epicenter, the lower the intensity will be.

comment 4y ago · link · parent

I mean that it is hard to scrape these git.io links used in the research papers to build the archive. Unless of course, if Github provides a DB dump, it would help everyone a lot.

comment 4y ago · link · parent

It is unlikely because it is very difficult and maybe illegal to scrape research papers. See https://en.wikipedia.org/wiki/Aaron_Swartz for example.

comment 4y ago · link · parent

List of takedown notices from HackerRank to GitHub:

https://github.com/github/dmca/search?q=HackerRank&type=

comment 4y ago · link · parent

> figure out a way where we can do things like randomizing questions but preserving the integrity of it to ensure a fair evaluation, etc

How does any of these have anything to do with copyright infringement in the context of DMCA takedown? Do you even own the copyright to the alleged leaked solution?

comment 4y ago · link · parent

> The wiki listing of packages acts as the "registry" and populates the clib-search(1) results.

This seems to be an extremely bad idea. Since everyone can edit the GitHub wiki pages, it means its registry is vulnerable to all kinds of malicious attack.

comment 5y ago · link · parent

> Importantly, you must do this for every open branch in your repo. It is not enough to do so for only your default branch since a malicious PR can target any of your open branches. That is, if you have an open branch that uses a vulnerable version of check-spelling then a malicious PR targeting that branch can leak a GITHUB_TOKEN which can then be used to impact any of your branches, including your default branch.

I think this is a big design flaw in GitHub Actions. Whenever there is a security patch, you have to make sure to apply them in every branch. This includes all the historical branches and stale branches which the repo owners forget to delete.

comment 5y ago · link · parent

Compared with Rust’s Result monad, which allows developers to clearly see the effects of error handling, there are two other hidden fallible effects in Rust that are much harder to tackle:

* Panic rewinding. I am not sure how to ensure your Rust function being panic safe. It is quite easy to cause soundness issue if some invariants no longer hold due to panic. I see `PanicGuard` sometimes used in Rust std library.

* Future cancellation. `tokio::select` is one of the infamous examples, where it is quite easy to introduce bug if the future cannot handle cancellation gracefully.

When trying to handle them properly, it feels more like writing traditional C code than Rust.

comment 5y ago · link · parent

May I ask what missing fields you are referring to? Why @online/@software/@dataset type in biblatex [1] cannot do the job?

That being said, I think GitHub should acknowledge that it is common for authors to want people cite their paper (or multiple papers) rather than simply the source code. Because this is what counts to the citation in academic. At the same time, there is no reason to not support bibtex/biblatex in addition to the cff.

[1]: See section 2.1.1 in http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/biblate...

comment 5y ago · link · parent

Since many papers have existing bibtex, it would be better if GitHub either provides tools to convert bibtex to CFF or supports bibtex directly.

FWIW, bibtex is the de facto standard.

comment 5y ago · link · parent

In addition to the attacks, such as converting legit image to be detected as CSAM (false positive) or circumventing detection of the real CSAM image (false negative), which have been widely discussed in HN, I think this can also be used to mount a DOS attack or to censor any images.

It works like this. First, found your target images, which are either widely available like internet memes for DOS attack or images you want to censor. Then, compute their Neuralhash. Next, use the hash collision tool to turn real CSAM images to have the same NeuralHash as the target images. Finally, report these adversarial CSAM images to the government. The result is that the attackers would successfully add the targeted NeuralHash into the CSAM database. And people who store these legit image will then be flagged.

comment 5y ago · link · parent

Just like any autoencoder, it is not about getting back the exact original, which is of course impossible. It is about summarizing the image in 96bits information, which is quite enough to leak the gist of the original image. For example, [1] talks about reversing Microsoft’s PhotoDNA.

> but you should be aware that "similar" to the network need not mean "similar" to a human.

With techniques like GAN and DLSS, it is quite possible to generate some photo realistic image being enough similar to the original one, or at least leaking some private information.

[1]: https://www.hackerfactor.com/blog/index.php?/archives/929-On...

comment 5y ago · link · parent

> 4. Actually, need to run step 1-3 at least 30 times

Depending on how the secret sharing is used in Apple PSI, it may be possible that duplicating the same image 30 times would be enough.

comment 5y ago · link · parent

You can technically hide an adversarial collision inside a complete legit normal image. It won’t be seen by human eyes but it will trigger a detection. In addition, you can do the complete opposite by perturbing a CSAM to output complete different hash to circumvent the detection. All of these vulnerabilities are well known for perceptual hash.
12345