home.social

#sanitizer — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #sanitizer, aggregated by home.social.

fetched live
  1. [Перевод] HTML Sanitizer API: конец эпохи DOMPurify и XSS-страданий

    Инженеры узнают о межсайтовом скриптинге (Cross-Site Scripting, XSS) тремя способами. Счастливчики узнают о нем благодаря полезному анализу кода или проактивному правилу проверки кода. Внимательные — во время аудита безопасности, который выявляет уязвимость до того, как она попадет в продакшн. А есть те, кто узнает о нем через страдания, когда их сайт становится уязвимым. Когда злоумышленник внедряет скрипт, который крадет токены сессий из localStorage , перехватывает файлы cookie или перенаправляет пользователей на фишинговый сайт. Я лично присоединился к клубу «пострадавших» еще в 2005 году, когда встроенная Flash-подпись на форуме, которым я владел, превратилась в кошмар с точки зрения безопасности… но это уже другая история. В этой статье мы рассмотрим, как браузер, наконец, снимает с нас бремя очистки данных (sanitizing) благодаря новому HTML API Sanitizer .

    habr.com/ru/companies/timeweb/

    #javascript #js #html #dompurify #sanitizer #очистка #обезвреживание #security #безопасность #timeweb_статьи_перевод

  2. [Перевод] setHTML(), Trusted Types и Sanitizer API

    Ранняя версия Sanitizer API была реализована в Chrome, но позже была удалена . Поэтому не стоит ориентироваться на старые материалы — спецификация API со временем значительно изменилась. На данный момент Sanitizer API поддерживается в Firefox Nightly в соответствии с актуальной спецификацией. В Chrome Canary он также доступен, но только при включении специального флага. В Safari реализация пока не ведется, однако команда разработчиков Safari выразила поддержку этой инициативе. Trusted Types API уже реализован в Chrome/Edge, Samsung Internet, Safari и Firefox Nightly . В Chrome он поддерживается начиная с версии 83, а начиная с версии 144 полностью соответствует последней спецификации и реализации в других браузерах.

    habr.com/ru/companies/timeweb/

    #html #javascript #js #timeweb_статьи_перевод #sethtml #trusted_types #sanitizer #доверенные_типы #санитайзер #xss

  3. @christianp @pounce That's a nice start.
    However, I hope we get this further. Ongoing is the task of the Math working group to specify a safe list of elements fo the sanitizer API: github.com/w3c/mathml-core/iss

    Once this is done, maybe all of MathML-core will be preserved among the Fediverse instances?

    It should be noted that MathML-core is supported and displayed in all current browsers, thanks to the work of Igalia.
    #mathml #sanitizer #webplatfrom

  4. Just had the late realization that @supahvee1234 's can also be used on outputs. Really effective!

  5. Just had the late realization that @supahvee1234 's #camomilla can also be used on #cpp #sanitizer outputs. Really effective!

  6. Released v2.21.4 of Loofah, which improves CSS scrubbing so properties like `font: 13px/1.5 Arial;` don't end up with whitespace around the `/` delimiter.

    github.com/flavorjones/loofah/

    #ruby #html5 #sanitizer

  7. Released v2.21.4 of Loofah, which improves CSS scrubbing so properties like `font: 13px/1.5 Arial;` don't end up with whitespace around the `/` delimiter.

    github.com/flavorjones/loofah/

    #ruby #html5 #sanitizer

  8. Ended up choosing to use the #LRT instead of the escooters, hygeine concerns and price being the influential factors.

    On the one hand, #escooters: socially distanced, fun, fast, new experience for me in this city BUT no #sanitizer on me for handlebars, helmet squick, probably gonna cost me more than transit in the long run.

    On the other, #ION: people so I have to mask, less fun (but still cool as heck), no helmet, #cheaper for a single ride.

    Plus I can toot about #transit while on it.

  9. Ended up choosing to use the #LRT instead of the escooters, hygeine concerns and price being the influential factors.

    On the one hand, #escooters: socially distanced, fun, fast, new experience for me in this city BUT no #sanitizer on me for handlebars, helmet squick, probably gonna cost me more than transit in the long run.

    On the other, #ION: people so I have to mask, less fun (but still cool as heck), no helmet, #cheaper for a single ride.

    Plus I can toot about #transit while on it.

  10. security.googleblog.com/2023/0

    BoundSan, IntSan, CFI, kCFI, Shadow Call Stack, stack canaries, auto initialization and memory safe languages being explored / enabled for Android device firmware.

    Expecting this to be another area where Pixels get further ahead of other Android devices.

    #android #firmware #security #sanitizer #clang #llvm #rust

  11. security.googleblog.com/2023/0

    BoundSan, IntSan, CFI, kCFI, Shadow Call Stack, stack canaries, auto initialization and memory safe languages being explored / enabled for Android device firmware.

    Expecting this to be another area where Pixels get further ahead of other Android devices.

    #android #firmware #security #sanitizer #clang #llvm #rust

  12. Popeye is a utility that scans live Kubernetes cluster and reports potential issues with deployed resources and configuration

    github.com/derailed/popeye

    #popeye #sanitizer #cluster #Kubernetes #infra #tools #DevEx