Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

fix(updater): verify the signer identity, not just the seal, on macOS updates

Aberta
#1,588 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
43/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
dart, flutter, macos
Domínio
desktop, security

Direção de pesquisa

Start by reading MacosSparkleInstaller._verifyCodesign and trace how the running app and downloaded bundle are identified during macOS updates. Compare the available codesign or spctl checks with the unsigned-install fallback described in the issue. Done means updates accept the same signer identity and reject a differently signed bundle, with a documented check for ad-hoc installs.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

bug P2 security

Problem

MacosSparkleInstaller._verifyCodesign runs codesign --verify --deep --strict on the downloaded bundle. That proves the seal is intact, not who signed it: any validly signed (even ad-hoc) bundle in the zip passes and replaces the installed app.

Expected

Require the new bundle to be signed by the same identity as the running app (compare Team ID / designated requirement via codesign -dv / codesign -R, or spctl --assess --type execute), and refuse otherwise. For unsigned (ad-hoc) installs, fall back to a documented check such as the release checksum.

Notes

The zip comes from GitHub over HTTPS, so exposure needs a compromised release, but this is the check meant to defend against it.

Linguagem predominante
Dart
Estrelas
23
Forks
1
Merge médio
31min
PRs com merge (30d)
570

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de QueryaHub/Querya-Desktop

Todas as issues de QueryaHub/Querya-Desktop

Issues semelhantes

Mais issues de Dart

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.