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

Cognitive friction in development

Cognitive friction is the extra effort required to understand what is in front of you. A familiar example is reading text in a language you only partly know:…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Quelle & Fakten · 4 Min. Lesezeit
Quelle: dev.to
Rubrik: Secure Programming

Cognitive friction is the extra effort required to understand what is in front of you. A familiar example is reading text in a language you only partly know: the words may be visible, but meaning arrives slowly if at all.



Developers run into the same problem in code. The compiler may understand the program, but the human reader still has to reconstruct intent, constraints, data flow, and tradeoffs. This post looks at where that effort comes from and how to reduce it.






Sources of cognitive friction for developers



Naming is one of the easiest places to create or remove cognitive friction. Good names do not have to be long, but they should match the level of abstraction around them. Algorithmic code can often use compact mathematical names because the surrounding concepts are abstract. Domain code usually benefits from more specific names because the reader is trying to connect code to business meaning. This is where domain-specific languages (DSLs) may have concrete value.



Friction appears when the abstraction level and the name disagree. Consider a function called processData in a payment system. To discover the real action, the reader has to open the implementation and read the function. In contrast, a function called captureAuthorizedPayment carries more context at the call site. That difference compounds when you return to a codebase months later or search for the place where behavior lives. This may also matter for coding agents that rely on names to infer intent.



Structure matters as much as naming. The more a reader has to jump between branches, callbacks, files, and abstractions, the harder the program is to hold in working memory. McCabe's cyclomatic complexity gives one measurable view into this, and many static analysis tools can track it.



Complexity metrics are not a substitute for judgment, but they are useful signals. Sometimes the best improvement is not another abstraction, but inlining a small helper so the local story becomes obvious. Performance-sensitive code may have different tradeoffs, which is why measurements, benchmarks, and profiling matter. The point is not to make every function tiny. The point is to make the important behavior easy to follow.



Paradigm mismatch is another source of friction. Some problems fit naturally into declarative descriptions, some into pipelines, some into state machines, and some into plain imperative steps. Frameworks encode these preferences too. When you work with the framework, the code can feel direct. When you fight it, every feature starts to require exceptions and escape hatches.



Mixed paradigms can be a good choice when each part is doing a clear job. For example, a declarative UI can still call imperative code at the edges where the system talks to files, networks, or devices. Friction grows when the boundary is accidental rather than designed.






How to address cognitive friction



Start with naming because it is cheap and visible. Use nouns for things, verbs for actions, and domain terms where they clarify intent. Avoid catch-all names such as data, item, value, or handler when a more specific term is available. A good test is whether a teammate can understand a call site without opening the implementation.



Look at control flow next. Flatten deeply nested logic where you can, return early for invalid cases, and make invariants explicit. Design by contract, popularized by Eiffel, is still a useful mental model: state what must be true before and after an operation. That framing also connects well to property-based testing, where tests explore whether those invariants hold across many generated inputs.



Static analysis can help you see where cognitive friction is accumulating. Complexity scores, lint rules, type checks, dependency graphs, and dead-code detection all reveal different aspects of code shape. A related signal is churn: files that change often deserve extra design attention because small misunderstandings there are expensive.



When delivering features, consider a lightweight quality gate around complexity. It does not have to block every merge, but it should make complexity visible in review. This becomes even more useful with agentic development workflows, because clear constraints give coding tools something concrete to optimize against. In short, guardrails help keep your agents on track, especially when their outputs can vary between runs.






Conclusion



Cognitive friction sits at the center of software work because development is mostly structured understanding. You cannot remove it entirely, but you can make code easier to re-enter, review, modify, and trust.



You can learn more about the sources of friction in software development from the anchor post of this series.

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:

💬 Community discussion & comments

🌐 Join the main chat

Start the discussion in the Social Chat broadcast stream or submit an expert contribution via the supplement form above.

Community Rating & Social Proof
⭐ Reader Rating
–
Ø / 5.0
No reader ratings yet
Was this article helpful?
0
Submit your rating
Detailed rating (optional)
Content & Quality
Source & Credibility
Freshness
Security Briefing Free · 1-Click Unsubscribe

Intelligence Digest — free

The top security news daily · unsubscribe anytime

Related story clusters & sources (vector AI)

2 Cluster
2 sources
OpenAI counter-sues Apple over trade secret theft
AppleInsider News 2 hours ago
1 more source
Similar posts
🔍 Verwandte News

Auch interessante Nachrichten Cognitive friction in development

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

Laden...

Loading posts ...

Laden...

Loading videos ...

Laden...

Loading posts ...

Laden...

Loading videos ...

Laden...

Loading posts ...

Laden...

Loading videos ...

💬 Loading comments…
Pull to refresh
Widgets & Topics
Loading widgets…
Nächster Beitrag