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

@dephub/yaml-layer

Latest version: v1.0.2

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: estarlincito
0 Stars
0 Forks
4 Versions
TypeScript Repo language

Scan summary

@dephub/yaml-layer was last scanned on 25 Nov 2026 at version 1.0.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions, all published on 25 Nov 2026.
  • Findings: No rules fired in version 1.0.2.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.2 LATEST 25 Nov 2026 No rules fired
1.0.1 25 Nov 2026 No rules fired
1.0.0 25 Nov 2026 No rules fired
0.0.0-stage 25 Nov 2026 Not shown

No rules fired in 1.0.2

Findings

Findings for v1.0.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.

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

README

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

@dephub/yaml-layer 🧩

Build, validate, transform, and watch YAML content layers using @dephub/layer with a ready-to-use CLI and programmatic APIs.

NPM version ESM-only

Features ✨

  • 🏗️ YAML builder — Reads, parses (yaml), and outputs .json files from matched **/*.+(yaml|yml) sources.
  • 🛡️ Schema validation — Optional per-group validation using @dephub/schema.
  • 🔁 Transformers — Typed per-group data transformations after validation.
  • ⚡ Incremental builds — Skips unchanged files using modification time (mtime) and config caching.
  • 👀 Watch mode & CLI — Includes yaml-layer build (with -w watch mode) and composable exports.

Installation 📦

  • npm: npm install @dephub/yaml-layer
  • pnpm: pnpm add @dephub/yaml-layer
  • yarn: yarn add @dephub/yaml-layer
  • bun: bun add @dephub/yaml-layer

Usage 🎯

CLI 💻
# Build from the default config (yaml-layer.config.ts) and content directory
yaml-layer build

# Build a specific content directory
yaml-layer build ./content

# Filter by document type, custom output dir, exclude folders
yaml-layer build -d Service -o ./dist/services -e drafts temp

# Watch for changes
yaml-layer build -w

# Use a custom config file
yaml-layer build -c ./config/yaml-layer.config.ts

# Silent mode (errors still shown)
yaml-layer build -s
API 🧩

yaml-layer.config.ts:

import { defineConfig } from '@dephub/yaml-layer';

export default defineConfig({
  contentDir: './content/services',
  outDir: './dist/services',
  exclude: ['_drafts'],
});

builder.ts:

import { builder } from '@dephub/yaml-layer';
import { s } from '@dephub/schema';

await builder({
  contentDir: './content/services',
  docType: 'Service',
  exclude: ['temp'],
  outDir: './dist/services',
  schemas: {
    'tech-support': s.object({
      name: s.string(),
      pages: s.number(),
    }),
    'web-development': s.object({
      title: s.string(),
    }),
  },
  transformers: {
    'tech-support': (data) =>
      // `data` is fully typed as `{ name: string, pages: number }`
      ({ ...data, processed: true }),
    'web-development': (data) =>
      // `data` is fully typed as `{ title: string }`
      ({ ...data, processed: true }),
  },
});

watcher.ts:

import { watcher } from '@dephub/yaml-layer';
import { s } from '@dephub/schema';

await watcher({
  contentDir: './content/services',
  docType: 'Service',
  exclude: ['temp'],
  outDir: './dist/services',
  schemas: {
    'tech-support': s.object({
      name: s.string(),
      pages: s.number(),
    }),
    'web-development': s.object({
      title: s.string(),
    }),
  },
  transformers: {
    'tech-support': (data) =>
      // `data` is fully typed as `{ name: string, pages: number }`
      ({ ...data, processed: true }),
    'web-development': (data) =>
      // `data` is fully typed as `{ title: string }`
      ({ ...data, processed: true }),
  },
});
Available exports
Category Functions
Core builder, watcher
Config defineConfig
Types LayerConfig, YamlEntry

📁 Folder Structure

content/
└── services/
    ├── tech-support/
    │   └── custom-script-writing-automation.yaml
    │   └── data-encryption-privacy-solutions.yaml
    └── web-development/
        └── digital-presence.yaml
        └── online-store.yaml

📁 Output Structure

dist/
└── services/
    ├── cache/
    │   └── timestamp.json
    ├── tech-support/
    │   └── custom-script-writing-automation.json
    │   └── data-encryption-privacy-solutions.json
    └── web-development/
        └── digital-presence.json
        └── online-store.json

License 📄

MIT License – see LICENSE for details.

Author: Estarlin R (estarlincito.com)

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 @dephub/yaml-layer

References

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

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

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

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Frame 2085668439 (1)
Group 1261154229