• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

spesmilo / electrum / 4719930714619904
60%
master: 63%

Build:
Build:
LAST BUILD BRANCH: fingerprint
DEFAULT BRANCH: master
Ran 09 May 2025 06:25PM UTC
Jobs 5
Files 87
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 May 2025 06:03PM UTC coverage: 59.712% (-0.003%) from 59.715%
4719930714619904

Pull #9801

CirrusCI

SomberNight
ci: add linter task "ban unicode" to protect against malicious unicode

This script scans the whole codebase for unicode characters and
errors if it finds any, unless the character is specifically whitelisted.

The motivation is to protect against homoglyph attacks, invisible unicode characters,
bidirectional and other control characters, and other malicious unicode usage.

Given that we mostly expect to use ASCII characters in the source code,
the most robust and generic fix seems to be to just ban all unicode usage.

see https://trojansource.codes/ :
> Compilers, interpreters, and build pipelines supporting Unicode should throw errors or warnings
> for unterminated bidirectional control characters in comments or string literals,
> and for identifiers with mixed-script confusable characters.
> Language specifications should formally disallow unterminated bidirectional
> control characters in comments and string literals.
> Code editors and repository frontends should make bidirectional control characters
> and mixed-script confusable characters perceptible with visual symbols or warnings.

also https://github.com/maltfield/detect-malicious-unicode
Pull Request #9801: ci: add linter task "ban unicode" to protect against malicious unicode

21522 of 36043 relevant lines covered (59.71%)

2.98 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
65.6
-0.09% electrum/lnchannel.py
1
58.14
-0.05% electrum/lnpeer.py
Jobs
ID Job ID Ran Files Coverage
1 4719930714619904.1 09 May 2025 06:25PM UTC 87
59.68
2 4719930714619904.2 09 May 2025 06:25PM UTC 87
59.68
3 4719930714619904.3 09 May 2025 06:25PM UTC 87
59.68
4 4719930714619904.4 09 May 2025 06:25PM UTC 87
59.69
5 4719930714619904.5 09 May 2025 06:45PM UTC 87
59.68
Source Files on build 4719930714619904
  • Tree
  • List 87
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #47199307...
  • Pull Request #9801
  • PR Base - master (#50316350...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc