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

@trungtamcongnghedigital/vsaf

Latest version: v1.4.5-rc.4

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: trungtamcongnghedigital
85 Versions
6.6K Downloads

Scan summary

@trungtamcongnghedigital/vsaf was last scanned on 25 Nov 2026 at version 1.4.5-rc.4. Risk score 0 of 100. High-severity rules fired.

  • Releases: 85 versions; the latest 4 were published within 7 days (19–25 Nov 2026).
  • Findings: 1 rule fired in version 1.4.5-rc.4 (1 high). The score describes this version only.
  • Downloads: 6,642 downloads.

Versions

85 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.4.5-rc.4 LATEST 25 Nov 2026 1 rule fired
1.4.5-rc.3 25 Nov 2026 1 rule fired
1.4.5-rc.2 20 Nov 2026 1 rule fired
1.4.5-rc.1 19 Nov 2026 Not shown
1.4.4 17 Nov 2026 Not shown

Rules fired in 1.4.5-rc.4: 1

Findings

1 High

Findings for v1.4.5-rc.4. 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.

Several suspicious behaviors form a known attack pattern

Several behaviors that are each common on their own, such as reading registry credentials, contacting a variable host or running shell commands, appear together in this package in a combination associated with attacks. The finding message lists the behaviors that were combined.

HIGH
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 1.4.5-rc.4; other versions have their own rules, not their own score.

README

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

VSAF

DAG-based workflow engine for AI coding agents. Define multi-step workflows in YAML, execute them with AI providers, and monitor runs in realtime through a web dashboard.

What It Does

VSAF orchestrates complex AI workflows as directed acyclic graphs (DAGs). Each node in a DAG can be a prompt (sent to an AI provider), a bash command, or a reusable command template. Nodes declare dependencies, conditional execution rules, and context isolation — VSAF handles the rest.

vsaf run fix-issue --args "fix #42"
extract-issue-number ✓  1.2s
fetch-issue          ✓  0.8s
classify             ✓  2.1s
investigate          ●  running...
plan                 ⊘  skipped
bridge-artifacts     ○  pending
implement            ○  pending
validate             ○  pending

Features

  • YAML workflow definitions — declarative DAGs with prompt, bash, and command node types
  • Dependency-based execution — wave-based parallel scheduling, conditional branching, trigger rules
  • Variable resolution — reference outputs from upstream nodes ($classify.output.issue_type)
  • Workspace isolation — each run executes in an ephemeral temp directory, changes applied on success
  • Run persistence — run state saved to JSON after each node, supports resume on failure
  • Provider-agnostic — pluggable AI provider adapters (Claude Code adapter included)
  • Web dashboard — Angular SPA with workflow management and realtime SSE monitoring
  • REST API — Fastify server for programmatic access to workflows and runs
  • MCP server — Model Context Protocol integration for Claude Code
  • Skill pack system — 40 bundled skills (18 SDLC + 17 BMAD + 5 mattpocock lean)
  • AJV validation — JSON Schema validation for workflow definitions
  • Cycle detection — DAG cycle detection prevents infinite loops
  • Error recovery — configurable retry backoff strategies for failed nodes

Installation

Prerequisites
Requirement Version Check
Node.js >= 20.0.0 node -v
npm >= 9.0.0 npm -v
git any git --version
Claude Code CLI latest claude --version
GitHub CLI (optional) any gh --version

Claude Code CLI is required for prompt and command nodes. GitHub CLI is required only for workflows that interact with GitHub (e.g., fix-issue uses gh issue view).

Option 1: Global Install (Recommended)
npm install -g @trungtamcongnghedigital/vsaf
vsaf --version
Option 2: Project-Local Install
npm install -D @trungtamcongnghedigital/vsaf
npx vsaf --version
Option 3: Install from Source
git clone https://github.com/YOUR_USERNAME/vsaf.git
cd vsaf
npm install && npm run build
npm link
vsaf --version

Quick Start

# Initialize in your project (directories only — no flow yet)
cd /path/to/your/project
vsaf init

# Install a flow: its skills, workflows and slash commands
vsaf install sdlc

# Check environment
vsaf doctor

# List available workflows
vsaf list

# Run a workflow
vsaf run fix-issue --args "fix #42"

# Start the web dashboard
vsaf serve --port 3000 --open

vsaf init creates the .vsaf/ directory — and nothing else. Workflows, commands and skills arrive with vsaf install <flow>, which is the command that knows which flow you asked for:

.vsaf/
├── config.yaml          ← Project configuration
├── docs/                ← Artifact tree the phases read and write
├── workflows/           ← Empty. Filled by `vsaf install <flow>`
├── commands/            ← Empty. Filled by `vsaf install <flow>`
└── storage/             ← Run state persistence (add to .gitignore)

CLI Commands

Command Description
vsaf init Initialize the .vsaf/ directory and project config — installs no flow
vsaf run <workflow> Execute a workflow by name
vsaf run <workflow> --resume <runId> Resume an interrupted run
vsaf list List available workflows
vsaf status Show recent run statuses
vsaf doctor Check environment and dependencies
vsaf serve Start API server and web dashboard
vsaf mcp Start MCP server for Claude Code integration
vsaf install <pack> Install a skill pack globally (e.g. vsaf install sdlc)
vsaf skill Manage skills: add, list, info, remove, init
vsaf source Name a directory on this machine: path, list, add, remove
vsaf serve
vsaf serve [--port 3000] [--open]

Starts a Fastify server exposing a REST API and the Angular dashboard.

vsaf mcp

Starts a Model Context Protocol (MCP) server that exposes VSAF workflows and skills to Claude Code. Configure in .mcp.json for automatic integration.

vsaf install
vsaf install sdlc    # Deploy 39 skills to .claude/skills/
vsaf install NTAPP   # Deploy the NTAPP delivery pack (55 skills, 11 workflows)

NTAPP has its own setup guide: docs/install-NTAPP.md.

vsaf source
vsaf source add kho /home/you/Documents/kho   # Name a directory on this machine
vsaf source path kho                          # Print that directory — exactly one line on stdout
vsaf source list [--json]                     # List every declared source
vsaf source remove kho                        # Drop one

Declared in ~/.vsaf/sources.yaml, a separate file next to registry.yaml. Read-only MCP tools vsaf_source_path and vsaf_source_list expose the same lookup to an agent.

Full guide (Vietnamese): docs/huong-dan-nguon-tren-may.md.

vsaf skill
vsaf skill list              # List installed skills
vsaf skill info <name>       # Show skill details
vsaf skill add <path>        # Add a skill from file
vsaf skill remove <name>     # Remove a skill
vsaf skill init              # Scaffold a new skill template

Writing Workflows

Basic Workflow

Create .vsaf/workflows/my-workflow.yaml:

name: my-workflow
description: A custom workflow

provider: claude
model: sonnet

nodes:
  - id: step1
    prompt: |
      Analyze this request: $ARGUMENTS
      Output a summary.

  - id: step2
    bash: |
      echo "Step 1 output was: $step1.output"
    depends_on: [step1]

  - id: step3
    prompt: |
      Based on: $step2.output
      Generate a final report.
    depends_on: [step2]

Run it:

vsaf run my-workflow --args "analyze the auth module"
Node Types
Type Field Description
prompt prompt: Send text to the AI provider
bash bash: Run a shell command
command command: Execute a reusable command template from .vsaf/commands/
Node Fields
Field Required Description
id yes Unique node identifier
description no Human-readable note; documentation only
prompt / bash / command yes Node content (exactly one)
depends_on no List of node IDs that must complete first
when no Condition expression — node skipped if false
trigger_rule no all_success (default) or one_success
context no fresh (new AI session) or inherit (default)
model no Override the workflow-level model
allowed_tools no Restrict AI tool access (empty array = no tools)
output_format no JSON Schema for structured output
ledger no Path to a read-only file whose tail is prepended to the prompt
fanout no Run this node once per file matched by a one-level glob
Variables
Pattern Description Example
$ARGUMENTS Args passed to vsaf run --args "fix #42"
$node-id.output Text output of a completed node "bug"
$node-id.output.field Field from structured output "enhancement"
$ARTIFACTS_DIR Shared directory for file passing /tmp/vsaf-run-abc/artifacts
${ITEM} / ${<as>} Current item inside a fanout node units/a.md

In a bash node every variable is already shell-quoted. Writing "${UNIT}" puts a literal quote inside the value — write ${UNIT} bare. The one exception is $CONFIG.<key>, which is left unquoted because it holds a command to run, not data.

Fanout — one node, many items

fanout expands a single node into one sub-task per file matched by over. Each sub-task sees its own item as ${ITEM} and under the name chosen by as.

nodes:
  - id: build-each-unit
    fanout:
      over: "work/units/*"     # one-level glob, relative to the PROJECT directory
      as: UNIT                 # ${UNIT} inside this node
      max_concurrency: 5       # omit to run them all at once
    prompt: |
      Implement the unit described in ${UNIT}.

The parent node completes once every sub-task has finished, and fails if any of them did.

over is matched one level deep, and the engine refuses anything else out loud. Only dir/* and dir/*.ext are understood (* on its own means the directory the run starts in). **, {a,b}, ? and [...] raise an error naming the pattern, rather than quietly matching nothing. The engine does its own matching so that Node 20 behaves exactly like Node 22 and 24 — fs.globSync only exists from Node 22, and on Node 20 it used to make every fanout silently empty.

over is listed against the project directory, not against the node's own cwd. A node running in a worktree cannot see files git does not track, so a gitignored directory used to produce an empty fanout. Note the limit of that: the item list comes from the project, but a sub-task that opens its item still needs that file inside its own workspace.

A glob matching nothing is not an error — the node completes with no work, and its result carries a warnings entry saying which pattern matched nothing and where.

Ledger — carrying lessons between iterations

ledger points at a file the engine reads before each run of the node, prepending its last 16 KB to the prompt. It is how a later iteration learns what an earlier one found.

  - id: implement
    ledger: out/ledgers/slice-ledger.md
    prompt: Implement the next slice.

The engine never writes this file — another node in the workflow appends to it. A missing or empty file is fine and adds nothing to the prompt.

Conditional Branching
nodes:
  - id: classify
    prompt: |
      Classify this as 'bug' or 'feature': $ARGUMENTS
    output_format:
      type: object
      properties:
        type:
          type: string
          enum: [bug, feature]
      required: [type]

  - id: fix-bug
    prompt: Fix this bug: $ARGUMENTS
    depends_on: [classify]
    when: "$classify.output.type == 'bug'"

  - id: build-feature
    prompt: Implement this feature: $ARGUMENTS
    depends_on: [classify]
    when: "$classify.output.type == 'feature'"

  - id: finalize
    prompt: Wrap up the work.
    depends_on: [fix-bug, build-feature]
    trigger_rule: one_success  # Only need one branch to succeed
Using Commands (Reusable Prompts)

Create .vsaf/commands/my-command.md:

---
description: A reusable prompt template
argument-hint: The task description
---

You are an expert engineer. Your task:

$ARGUMENTS

Previous analysis: $classify.output

Write your implementation to the codebase. Save notes to $ARTIFACTS_DIR/notes.md.

Reference it in a workflow:

  - id: implement
    command: my-command
    depends_on: [classify]
    context: fresh    # Start a new AI session
    model: opus       # Use a stronger model
Structured Output

Force JSON output from AI nodes:

  - id: analyze
    prompt: Analyze this code and rate its quality.
    output_format:
      type: object
      properties:
        score:
          type: string
          enum: ["A", "B", "C", "D", "F"]
        issues:
          type: string
      required: [score, issues]

  - id: report
    prompt: |
      The code scored: $analyze.output.score
      Issues: $analyze.output.issues
    depends_on: [analyze]
Passing Files Between Nodes

Nodes can share files via $ARTIFACTS_DIR:

nodes:
  - id: investigate
    prompt: |
      Investigate the issue. Write findings to $ARTIFACTS_DIR/investigation.md

  - id: plan
    bash: cat $ARTIFACTS_DIR/investigation.md
    depends_on: [investigate]

  - id: implement
    prompt: |
      Here is the investigation: $plan.output
      Now implement the fix.
    depends_on: [plan]
Resume Failed Runs

If a workflow fails mid-execution, resume from where it left off:

vsaf status                                     # Find the run ID
vsaf run fix-issue --resume run-a1b2c3d4e5f6    # Skip completed nodes

MCP mode: run state lives in the engine process, so an engine restart (machine reboot, resumed Claude Code session via claude -r) loses in-flight runs. vsaf_next rehydrates them: pass projectPath along with the usual runId/results and the engine rebuilds the run from .vsaf/storage/<runId>/state.json — completed nodes are never re-executed, the reattached workspace keeps its changes, and telemetry starts a fresh trace marked vsaf.run.resumed: true, linked to the pre-restart trace by vsaf.run.id.


SDLC Skill Pack

VSAF ships with a complete SDLC skill pack — 40 skills organized into workflows for building features and fixing bugs with TDD discipline.

Upgrading from an older version? The sdlc pack's E2E track was slimmed down to 9 core skills (mobile/CI/test-planning moved to the standalone autotest-skill pack). See MIGRATION.md for what changed and how to clean up orphaned skills left behind by vsaf init --force.

Setup

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 @trungtamcongnghedigital/vsaf

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 (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & 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?

Frame 2085668439 (1)
Group 1261154229