Skip to content

fix: resolve Dependabot undici alerts and security review findings#553

Merged
rinchen merged 1 commit into
mainfrom
security
Jun 18, 2026
Merged

fix: resolve Dependabot undici alerts and security review findings#553
rinchen merged 1 commit into
mainfrom
security

Conversation

@rinchen

@rinchen rinchen commented Jun 18, 2026

Copy link
Copy Markdown
Member

Summary

  • Add pnpm overrides for undici and undici-types (^7.28.0) so all transitive copies resolve to the patched release and Dependabot stops conflating undici-types@7.24.6 with vulnerable undici.
  • Fix getChatDayKey to use 1-based calendar months and align ChatPanel jump-to-date with the corrected day-key format.
  • Harden MeshtasticMqttClientProxyBridge configured-path writeToRadio with try/catch and add regression test for rejected writes.
  • Extract stripControlCharacters for silent OS notification text; document that App.tsx owns typed Web Audio for hidden-window alerts.
  • Relax Windows packaging contract tests to derive readable-stream patch version from the lockfile and accept any @electron/asar 4.x override.

Test plan

- Add pnpm overrides for undici and undici-types (^7.28.0) so all
  transitive copies resolve to the patched release and Dependabot
  stops conflating undici-types@7.24.6 with vulnerable undici.
- Fix getChatDayKey to use 1-based calendar months and align
  ChatPanel jump-to-date with the corrected day-key format.
- Harden MeshtasticMqttClientProxyBridge configured-path writeToRadio
  with try/catch and add regression test for rejected writes.
- Extract stripControlCharacters for silent OS notification text;
  document that App.tsx owns typed Web Audio for hidden-window alerts.
- Relax Windows packaging contract tests to derive readable-stream patch
  version from the lockfile and accept any @electron/asar 4.x override.
@rinchen rinchen merged commit d3e9c20 into main Jun 18, 2026
6 checks passed
@rinchen rinchen deleted the security branch June 18, 2026 21:27
rinchen added a commit that referenced this pull request Jun 19, 2026
- Empty string and printable-only strings pass through unchanged.
- Boundary controls NUL (0x00), US (0x1F), and DEL (0x7F).
- Multiple control characters stripped in one string.

Addresses review feedback on regex /[\x00-\x1F\x7F]/g coverage from #553.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant