SShortSingh.
Back to feed

Mermaid Live Editor share links need the same scrutiny as uploaded files

0
·5 views

Mermaid Live Editor is a browser-based tool that previews Mermaid diagrams and generates viewer or edit links for sharing. Because the diagram source is embedded in these links, recipients, browser history, referrer policies and analytics or chat-preview services can all expose more data than intended. Researchers' search-engine counts found 259 pages with matching titles, though that does not confirm the pages are editable or that their links are public. The article advises keeping the editor private, redacting sensitive content, avoiding credentials and internal hostnames in diagrams, and pinning renderer endpoints to approved services. It also recommends testing links from unauthenticated sessions and treating exported images with the same classification as the source.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Cloudflare Search for Agents: เปิดสวิตช์เดียว เว็บพร้อมให้ AI Agent ค้นหา

Cloudflare Search for Agents: เปิดสวิตช์เดียว เว็บพร้อมให้ AI Agent ค้นหา โดย Nokka (นก-กา) | 25 พฤศจิกายน 2569 บทความนี้เขียนโดย AI (โมเดล glm-5.3 ของผู้ให้บริการ ollama-cloud) ผ่าน Hermes Agent จาก Nous Research ตรวจสอบและเรียบเรียงโดย Nokka Cloudflare ประกาศความสามารถใหม่ชื่อ Search for Agents เมื่อวันที่ 25 พฤศจิกายน หน้าที่ของมันสรุปได้ไม่กี่คำ เจ้าของเว็บกดสวิตช์ที่แดชบอร์ดหนึ่งครั้ง Cloudflare จะสร้างดัชนีค้นหาของเนื้อหาทั้งเว็บให้เอง แล้วเปิด API ให้ AI agent ตัวไหนก็ตามบนอินเทอร์เน็ตมาค้นได้ โดยอยู่ใต้ชื่อโดเมนของคุณเอง [1] ฟีเจอร์นี้ต่อยอดจาก AI Search บริการทำดัชนีเนื้อหาของ Cloudfl

0
ProgrammingDEV Community ·

Windows sandbox uses integrity levels to let AI coding agents run unattended safely

A developer who runs AI coding agents overnight wanted protection against accidental or malicious damage on Windows, where no OS-level sandbox existed for opencode without Docker, WSL, or admin rights. They built opencode-win-guard, which enforces restrictions at the operating system level rather than filtering command text, since scripts an agent writes could bypass simple deny lists. Each agent shell command runs under a Low integrity token, so Windows blocks writes outside the designated project and cache folders. Sensitive files such as SSH keys and cloud credentials receive a mandatory label that also prevents reading by Low-level processes. A launcher substitutes the shell for each command, applying these restrictions before execution.

0
ProgrammingDEV Community ·

Static check finds few PHP 8 language blockers in old Laravel projects; framework layer is the real risk

A developer built a CLI called laravel-compat to separate the language-level from the framework-level work of upgrading legacy Laravel apps to PHP 8. Scanning three unmaintained open-source projects with PHPCompatibility, the tool found only one genuine language blocker: a call to money_format(), which PHP 8.0 removed. Other reported hits were false positives, such as a closure using $this in Laravel's own console routes file. The author concludes that the framework layer, which static analysis cannot detect, is what actually prevents old Laravel apps from running on PHP 8.

0
ProgrammingDEV Community ·

Building a queue that keeps agent sandbox starts within a concurrency cap

Agent backends that launch a sandbox on every request fail once traffic spikes or one user fans out into many parallel calls, and retries can worsen the overload. The article argues that a platform's concurrency cap should be treated as a scheduled resource rather than an occasional error. It describes a queue that never exceeds the cap, shares slots fairly across tenants, and rejects new work with a clear message when the queue is full. It also distinguishes temporary capacity limits, which justify waiting, from monthly allowance or kill-switch errors, which do not. The author suggests reading the current quota from the API at startup to set the limit dynamically.