Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I built a security scanner for my pastebin. But detecting secrets is harder than I expected.

Описание и применение

Разработчик создал клиент‑сайд сканер для PasteDB, который предупреждает о потенциальных секретах перед публикацией пасты.

Задача

Accidental public exposure of API keys, database passwords, or access tokens in a paste-sharing application.

Результат

The scanner now runs locally in the browser, detecting potential secrets before a paste is published and warning users, while avoiding sending paste content to external services.

Рабочий процесс

  • 1. User types or pastes content into PasteDB editor.
  • 2. Browser‑side scanner analyzes the content for known credential patterns.
  • 3. Scanner checks for unusually random strings and evaluates surrounding context to assess sensitivity.
  • 4. If potential secrets are detected, the scanner displays a warning to the user before the paste is created.
  • 5. User can review the warning and decide whether to proceed or modify the content.

Доказательства

I decided to build a security scanner that runs directly in the browser before a paste is created.

Источник

The scanner is now working, and I’m continuing to improve it.

Источник

  • Дата записи: 2026-11-04T05:29:01.457Z