Zum Hauptinhalt springen
LIVE
CVSS 6.9CVE-2026-137684 | A security flaw has been discovered in eosphoros-ai DB-GPT up to 0.8.3. This affects the function editor_sql_run of the file packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/editor/api_editor_v1.py of the component Editor SQL Run API. Performing a manipulation of the argument db_name results in authorization bypass. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks. The pull request to fixCVSS 8.7CVE-2026-137992 | libexpat through 2.11.0 contains a denial of service vulnerability in defineAttribute() of lib/xmlparse.c that fails to detect duplicate non-ID #IMPLIED or #REQUIRED attribute declarations. Attackers can supply a crafted XML document with repeated ATTLIST declarations in an internal DTD subset to cause quadratic CPU consumption in storeAtts() during parsing.CVSS 8.5CVE-2026-137994 | Leo through 6.8.10 contains an insecure deserialization vulnerability that allows attackers to execute code by embedding pickled data in unknown XML attributes of .leo outlines. Attackers can place a pickle __reduce__ gadget in a or element attribute that resolveUa passes to pickle.loads, executing code with user privileges when the outline is opened.CVSS 7.0CVE-2026-137995 | FOG Project before 1.6.0.119 contains an information disclosure vulnerability that allows unauthenticated attackers to obtain host tokens from status/hostgetkey.php by supplying a host MAC address. Attackers can present the token to service/hostinfo.php to retrieve decrypted Active Directory join credentials and Windows product keys during deployment windows.CVSS 6.8CVE-2026-137996 | Zettlr before 4.11.0 fails to validate URI schemes in Markdown link targets, allowing attackers to launch arbitrary registered protocol handlers via Electron shell.openExternal without confirmation. Attackers can craft documents whose Ctrl/Cmd-clicked links use smb:// to leak NTLM credential hashes on Windows or invoke custom protocol handlers with attacker-controlled parameters.CVSS 8.5CVE-2026-137997 | HCIPy through 0.7.1 contains an insecure deserialization vulnerability that allows attackers to execute code by supplying crafted .pkl files to read_field, read_grid or read_mode_basis. Because hcipy/util/io.py selects pickle by file extension and calls pickle.load, a __reduce__ gadget in a pupil, apodizer, PSF or mode-basis file runs code with the user's privileges.CVSS 8.5CVE-2026-137998 | Detoxify 0.5.3 through 0.5.4 contains an insecure deserialization vulnerability in load_checkpoint that allows attackers to execute code by supplying a crafted checkpoint file. Attackers can embed a pickle __reduce__ gadget in a .ckpt file loaded via torch.load with weights_only=False to run code with the user's privileges.CVSS 8.5CVE-2026-137999 | JSONSchema2PoPo2 through 3.0.3 contains a code injection vulnerability that allows attackers to inject Python code by supplying JSON Schema default or format values that are written unescaped. Attackers can place a single quote in a string property default to break out of the literal in the generated __init__ signature, executing injected code when the generated module is imported.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

Visual friction in development

You encounter visual friction when something is technically visible but difficult to parse at a glance. For developers, this matters because a large part of…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Quelle & Fakten · 5 Min. Lesezeit
Quelle: dev.to
Rubrik: Programmation sécurisée

You encounter visual friction when something is technically visible but difficult to parse at a glance. For developers, this matters because a large part of the job is reading: code, diffs, logs, terminals, documentation, error messages, and pull requests. Visual friction does not have to make code impossible to understand. It only has to slow recognition slightly. Across thousands of small reads per day, that cost becomes real.






What is visual friction



A big part of development work is recognizing patterns. We split code into functions, modules, and files partly because doing so gives the reader structure. The same is true visually: indentation, spacing, syntax color, line length, and typeface choices all affect how quickly the structure appears.



It is useful to separate cognitive friction from visual friction. Cognitive friction is about understanding meaning. Visual friction is about seeing structure. They interact, but they are not the same problem.



You already use techniques to manage visual friction: syntax highlighting, indentation guides, monospaced fonts, diff colors, warnings, icons, spacing, and formatting tools. Good interfaces use these cues to help the important parts stand out.



Not all friction is bad. Interfaces sometimes add friction intentionally before destructive actions because slowing the user down is the point. But in normal reading and navigation, unnecessary visual friction makes development feel heavier than it needs to.






Examples of visual friction



To give you a better idea of what visual friction really is, consider the examples below:




  • Glyph ambiguity matters. Common checks include 0 versus O, 1 versus l versus I, and punctuation such as quotes, commas, periods, and colons. If characters are hard to distinguish, the reader has to spend attention on decoding rather than understanding.

  • Syntax highlighting can make structure faster to detect, but color is not automatically helpful. Too many strong colors create noise. Too little contrast hides useful distinctions. Hillel Wayne has a good critique of how syntax highlighting often wastes its information budget in "Syntax highlighting is a waste of an information channel".

  • Theme choice matters because developers stare at the theme for hours. Dark and light themes can both work well if contrast, saturation, and ambient lighting are handled carefully. I have found Catppuccin pleasant because it is not too loud and can be tuned across tools.

  • Lighting affects visual comfort. A glossy display in direct light, a bright monitor in a dark room, or a theme that fights the surrounding environment can all increase strain. Features such as Night Shift can help some people, but monitor brightness, room lighting, breaks, and daylight exposure matter too. Research increasingly suggests the problem isn't blue light alone but the exposure to the light at an appropriate time of the day.

  • Line length, spacing, and indentation matter. My preference for code is roughly 80 to 110 characters. Longer lines become tiring to scan, while very short lines can create excessive wrapping. For formatting, tools like Prettier reduce debate and keep code visually consistent across contributors.






How to reduce visual friction



The simplest improvements are often configuration changes: formatter defaults, theme tuning, line length, font size, line height, and typeface. Defaults are not always bad, but they are rarely chosen for your eyes, your display, your lighting, and your work.



Typeface choice deserves special attention because it affects every line of code you read. In general, it is a good idea to test different available options since a typeface that looks nice in a specimen may behave differently in dense code, terminal output, or diffs. MonoLisa was designed for code legibility in particular and may be an option worth benchmarking.



Beyond these, there are a few more actions you could consider:




  1. Set a visible line-length guide around the range that works for your team. Around 100 characters is a practical starting point for many codebases.

  2. Tune your theme so important structure stands out and comments, generated code, and secondary information recede.

  3. Use a formatter consistently. Formatting arguments are rarely worth spending review attention on.

  4. Check visual consistency across editor, terminal, browser, documentation, and pull request tools. Switching between very different visual environments creates its own friction.

  5. Test code fonts with the files you actually edit, including dense code, tests, logs, and diffs.






Visual tradeoffs



It is one thing to optimize visuals for yourself and another to optimize them for a team. Formatting rules, generated-code markers, review settings, and documentation layout are good team-level decisions because consistency helps everyone. Font, theme, and ligature choices can usually remain personal unless the team is producing shared screenshots, demos, or documentation.



Some font features come with tradeoffs. Ligatures can improve pattern recognition for operators, but they can also hide the literal characters being typed. A good compromise is to start with subtle spacing improvements and only enable stronger substitutions if they genuinely help you read. Good developer typefaces expose these choices instead of forcing one style on everyone.






Conclusion



Visual friction is easy to underestimate because developers adapt to bad defaults. That adaptation has a cost. Small improvements to rendering, spacing, contrast, and type can make code easier to scan all day.



If you want to investigate other sources of friction, refer back to the anchor post for more ideas. The closest related article is typography friction, which looks more closely at typeface choices for developers.

Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Discussion communautaire et commentaires

🌐 Rejoindre le chat principal

Lancez la discussion dans le flux diffusé du Social Chat ou proposez ci-dessus une contribution experte via le formulaire de complément.

Évaluation communautaire & preuve sociale
⭐ Avis des lecteurs
–
Ø / 5.0
Pas encore d'évaluation des lecteurs
Cet article vous a-t-il été utile ?
0
Donner votre évaluation
Évaluation détaillée (facultatif)
Contenu & qualité
Source & fiabilité
Actualité
Briefing sécurité Gratuit · désabonnement en 1 clic

Intelligence Digest — gratuit

Chaque jour, les principales actualités sécurité · résiliable à tout moment

Groupes d’histoires apparentées & sources (IA vectorielle)

2 Cluster
2 sources
OpenAI counter-sues Apple over trade secret theft
AppleInsider News il y a 2 h
1 autre source
Articles similaires
🔍 Verwandte News

Auch interessante Nachrichten Visual friction in development

Thematisch verwandte Begriffe: Visual, friction, development · 6 Treffer

Laden...

Chargement des vidéos ...

Laden...

Chargement des articles ...

Laden...

Chargement des vidéos ...

Laden...

Chargement des articles ...

Laden...

Chargement des vidéos ...

Laden...

Chargement des articles ...

Laden...

Chargement des vidéos ...

💬 Chargement des commentaires…
Sentinel CTI: ONLINE
Tirer pour actualiser
Widgets & Topics
Loading widgets…
Nächster Beitrag