الأحد 18 أكتوبر 2026 05:20:55 GMT+02:00

Netcrook

الرئيسيةالبيان
الأخبار
Techcrook
Geocrook
WikicrookالفريقAppاتصال
EnglishItaliano

WIKICROOK

MarkdownString

A VS Code API for rendering markdown that can include clickable command links when trusted.

MarkdownString is a Visual Studio Code API object used to render markdown in the editor UI. It can display formatted text, and when content is trusted it may also include clickable command links that invoke VS Code actions instead of opening a normal web page. That makes it useful for documentation, tooltips, and extension messages, but also sensitive from a security perspective.

In cyber security, MarkdownString matters because it sits on the boundary between text and execution. If untrusted repository content, commit messages, or extension output is marked trusted too broadly, a harmless-looking link can become a command trigger. Defenders reduce this risk by keeping Workspace Trust enabled, sanitizing rendered content, and limiting which sources may create trusted markdown. Extensions should treat repository data as hostile by default and only enable command links after strict validation and clear user intent.

← فهرس WIKICROOK