Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@diplodoc/cli

Latest version: v5.71.2

Overview

Last scanned
27 Nov 2026
Published
25 Nov 2026
npm package Publisher: alexey_w100, diplodoc-bot, goldserg, makhnatkin, martyanov-av, reazy015, rndnm, robot-dataui-npm, separatrix
123 Stars
53 Forks
45 Versions
21.7K Downloads
TypeScript Repo language

Scan summary

@diplodoc/cli was last scanned on 27 Nov 2026 at version 5.71.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 45 versions; the latest 5 were published within 7 days (19–25 Nov 2026).
  • Findings: 1 rule fired in version 5.71.2 (2 instances: 2 medium). The score describes this version only.
  • Downloads: 21,738 downloads.

Versions

45 versions published
Versions and the rules that fired in each
VersionPublishedStatus
5.71.2 LATEST 25 Nov 2026 1 rule fired
5.71.1 24 Nov 2026 1 rule fired
5.72.0-beta.2 20 Nov 2026 1 rule fired
5.72.0-beta.1 20 Nov 2026 Not shown
5.71.0 19 Nov 2026 Not shown

Rules fired in 5.71.2: 1

Findings

2 Medium

Findings for v5.71.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Function reached through a chain of indirect calls

The code obtains a function through a computed property lookup whose key is not a plain literal, calls it, and then calls the value it returns. Obfuscated loaders use this double indirection to reach the Function constructor without its name appearing in the source. This is a code shape, not evidence of intent, and is shown to help review obfuscated code.

MEDIUM
Checking access…

🔒 Create a free account to see all 2 findings with descriptions and instance counts

The score describes 5.71.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

english | русский


NPM version

yfm-docs

Yfm-docs позволяет собрать полноценный документационный проект: с навигацией, внутренними переходами и полной поддержкой Yandex Flavored Markdown (YFM).

Документация

ydocs.tech

Требования

Node 22+

Использование

npm i @diplodoc/cli -g
npm run start -- -i ./input-folder -o ./ouput-folder -v "{\"name\":\"Alice\"}"

yfm init

Инициализация нового проекта документации Diplodoc.

Использование
yfm init [options]

Запуск без флагов в терминале запускает интерактивный визард. Передайте --skip-interactive чтобы использовать флаги и дефолтные значения.

Опции
Опция По умолчанию Описание
-o, --output <path> . Директория для создания проекта
--name <string> basename директории Название проекта
--langs <string> en Языки через запятую, например en,ru
--default-lang <string> первый из --langs Язык по умолчанию
--template <string> minimal minimal или full
--header true Навигационная шапка в toc.yaml
--force false Перезаписать существующую директорию
--dry-run false Показать что будет создано, без записи файлов
--skip-interactive false Пропустить визард
Создаваемые файлы

minimal

<output>/
├── .yfm
├── toc.yaml
└── index.md

full — дополнительно создаёт presets.yaml, pc.yaml и расширенный .yfm с конфигурацией pdf, search, vcs, authors.

Для многоязычных проектов (--langs en,ru) контент размещается в поддиректориях по языку:

<output>/
├── .yfm
├── presets.yaml
├── en/
│   ├── toc.yaml
│   └── index.md
└── ru/
    ├── toc.yaml
    └── index.md

yfm content

Обрабатывает один Markdown-файл и выводит результат в stdout (или пишет в файл). В отличие от yfm build, не обходит весь проект и не собирает целую страницу — для html отдаётся только контентный фрагмент (без toc, шапки и обвязки страницы).

Использование
# self-contained markdown в stdout
yfm content -i ./page.md -f md

# html-фрагмент в файл
yfm content -i ./page.md -f html -o ./page.html

Результат в stdout обрамляется маркерами-разделителями, чтобы его можно было отделить от сопутствующего диагностического вывода:

<<<<<< YFM CONTENT START >>>>>>
...контент...
<<<<<< YFM CONTENT END >>>>>>

Предупреждения и ошибки идут в stderr; при любой ошибке сборки процесс завершается с ненулевым кодом. При использовании -o в файл пишется «сырой» контент (без маркеров).

Флаг --raw выводит в stdout только контент — без маркеров-разделителей и без баннеров фреймворка (строка версии, таймер сборки, баннер завершения). Удобно, когда результат нужно направить напрямую в другой инструмент или файл:

yfm content -i ./page.md -f md --raw > page.md

Вместе с -o флаг --raw ничего не меняет (в файл всегда пишется «сырой» контент).

Корень проекта

Пресеты (presets.yaml), инклуды и переменные резолвятся относительно корня проекта:

  • по умолчанию корень — текущая рабочая директория;
  • передайте -c, --config <path> с путём к .yfm — его директория станет корнем.
Опции
Опция По умолчанию Описание
-i, --input <file> — Путь к Markdown-файлу (обязателен)
-o, --output <file> stdout Записать результат в файл вместо stdout
-f, --output-format <md\|html> html Формат вывода
-w, --watch false Пересборка при изменении файла, его инклудов и пресетов
--raw false Выводить в stdout только контент (без маркеров и баннеров)
-c, --config <path> .yfm Конфиг; его директория становится корнем проекта
--vars-preset <name> default Применяемый пресет переменных
-v, --vars <json> — Переменные (JSON), переопределяющие пресеты
--allow-html / --no-allow-html true Разрешить сырой HTML в Markdown
--sanitize-html / --no-sanitize-html true Санитизировать результирующий HTML
--id-generator <strategy> random Стратегия id элементов: random, deterministic и т.д.
-s, --strict false Ненулевой код выхода при наличии предупреждений

Исходники

Подготовка

Необходимо добавить .env файл в рут репозитория с данными ниже:

GITHUB_OWNER=
GITHUB_REPO= # docs
GITHUB_TOKEN= # personal access token
GITHUB_BASE_URL= # for ex: https://api.github.com
VCS_CONNECTOR_TYPE= # github

или обновить .yfm файл в docs репозитории:

connector:
    type:
    github:
        endpoint:
        token:
        owner:
        repo:
Сборка из исходников
cd cli
npm ci && npm run build

License

MIT

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @diplodoc/cli

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229