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

@loomwork/scaffold

Latest version: v0.1.7

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: chhetrisushil
0 Stars
0 Forks
9 Versions
1.3K Downloads
TypeScript Repo language

Scan summary

@loomwork/scaffold was last scanned on 24 Nov 2026 at version 0.1.7. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 9 versions; the latest 3 were published within 2 days (23 and 24 Nov 2026).
  • Findings: No rules fired in version 0.1.7.
  • Downloads: 1,259 downloads.

Versions

9 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.7 LATEST 24 Nov 2026 No rules fired
0.1.6 23 Nov 2026 No rules fired
0.1.5 23 Nov 2026 No rules fired
0.1.4 17 Nov 2026 Not shown
0.1.3 17 Nov 2026 Not shown

No rules fired in 0.1.7

Findings

Findings for v0.1.7. 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 0.1.7; other versions have their own rules, not their own score.

README

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

@loomwork/scaffold — the templates and generators behind loom new, loom gen and create-loom-app

Pure functions that return file contents as strings: single constructs (a flow, tool, agent, skill, schedule, memory, projection or sentinel), a whole app skeleton, a plugin package for a chosen seam, and the static registration module loom.gen.ts. They write nothing to disk; the CLI and create-loom-app do that. This is tooling that other tools build on, so most apps never import it. Use it when you build your own generator and want the same output and escaping rules.

import { generateRegistration, newFiles } from "@loomwork/scaffold";

// What `loom new flow greet --template approval` would write, as { path, content } pairs:
const files = newFiles("flow", "greet", "approval");
// -> app/flows/greet/flow.ts and app/flows/greet/flow.test.ts

// What `loom gen` writes: static imports of every discovered module, for defineConfig.
const registration = generateRegistration(["./flows/greet/flow"], ["./agents/triage"]);

Surface

  • Constructs. newFile(kind, name, template?) and newFiles(...) route to the individual generators (flowFile, toolFile, agentFile, sentinelFile, flowTestFile). A flow template is one of FLOW_TEMPLATES: echo, approval, timer or saga.
  • Whole app. appFiles(appName) returns the file map create-loom-app writes.
  • Registration. generateRegistration(flowPaths, agentPaths?, toolPaths?, skillPaths?, schedulePaths?, memoryPaths?, projectionPaths?) returns the text of loom.gen.ts.
  • Plugins. pluginFiles(seamKey, name, { firstParty }), pluginNextSteps, listSeams and SEAM_KEYS back loom plugin new.
  • Names and escaping. pascal, pascalIdent, kebab, constructNameProblem, isValidPackageName, and the emit helpers tsStringLiteral, commentText, blockCommentText, templateLiteralText, markdownText and hasUnsafeChars.

Behaviour that surprises people

  • The registration is static on purpose. loom.gen.ts imports modules at build time, so the set of flows is the same on every resume and on every remote worker, rather than found at run time.
  • Names are validated before they reach generated code. pascalIdent throws for a name that does not derive a plain ASCII identifier, constructNameProblem rejects paths and .., and pluginFiles rejects a name with a slash, dot or leading hyphen.
  • Generated text is escaped at the sink. Intent text can come from a model, so the emit helpers exist to be the only way such text enters generated source. They escape or replace control, bidi and zero-width characters, and hasUnsafeChars lets a caller refuse them instead.

Status / See also

Unpublished for now: inside this repo use workspace:*; from a sibling checkout use a link: override (see AGENTS.md).

  • ADR 0011: the folder convention these follow; docs/plugins.md: plugin authoring.
  • CLI: loom new, loom gen, loom plugin new (docs/usage-cli.md).
  • API reference: section "@loomwork/scaffold — codegen & templates" in docs/api-reference.org.
  • Guides: docs/user-guide.md, docs/README.md.

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 @loomwork/scaffold

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

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

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?

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229