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

@archdraw/core

Latest version: v0.16.0

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: rottensweetpotato
0 Stars
0 Forks
27 Versions
740 Downloads
TypeScript Repo language

Scan summary

@archdraw/core was last scanned on 25 Nov 2026 at version 0.16.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 27 versions; the latest was published on 25 Nov 2026.
  • Findings: No rules fired in version 0.16.0.
  • Downloads: 740 downloads.

Versions

27 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.16.0 LATEST 25 Nov 2026 No rules fired
0.15.0 12 Nov 2026 No rules fired
0.14.0 12 Nov 2026 No rules fired
0.13.1 23 Oct 2026 Not shown
0.13.0 23 Oct 2026 Not shown

No rules fired in 0.16.0

Findings

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

README

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

@archdraw/core

English · 한국어

The whole archdraw pipeline — parse, validate (zod), flat IR, ELK layout, SVG.

It carries no icon assets. It exposes only the IconResolver interface, so icons come separately as packs. It never touches the DOM, so a browser and Node run the same code and get the same SVG.

npm i @archdraw/core @archdraw/icons-aws
import { renderToSvg } from '@archdraw/core'
import { awsIcons } from '@archdraw/icons-aws'

const svg = await renderToSvg(
  `
nodes:
  - { id: alb, type: alb, label: public alb }
  - { id: api, type: ecs, label: api }
edges:
  - { from: alb, to: api, label: https }
`,
  { icons: awsIcons },
)

API

renderToSvg(source, options?) A YAML/JSON string or a parsed document → an SVG string
renderToSvgFrames(source, options?) One flow cycle as an async iterable of 24 { svg, delay } frames; shares one layout
parse(source) YAML/JSON → an unvalidated document
normalize(doc) Validate and flatten to the IR. Throws DiagramError on failure
selectView(ir, options?) Select scenario/focus/collapsed groups before layout
diagnose(ir, root) Versioned quality report for the same layout result
layout(ir) Run the ELK layout, returning an ElkNode tree
Diagram(props) The React element that draws a layout result
createResolver(...packs) Fold icon packs into one IconResolver
toJsonSchema(form?) The input contract as JSON Schema
defaultTheme Colours and font stacks. Replace via options.theme

RenderOptions.icons accepts a single pack, an array of packs, or a resolver you built yourself.

Input

Two shapes are accepted — nested (children) and flat (parent) — and normalize() turns both into the same flat IR. The flat shape has no recursion, so a generator can emit it in one pass.

groups:
  - id: vpc
    label: Production VPC
    kind: vpc
    children:
      - { id: api, type: ecs, label: API }
nodes:
  - { id: vpc, kind: vpc, label: Production VPC }
  - { id: api, type: ecs, label: API, parent: vpc }

Every field is in docs/schema.md.

Errors

A validation failure throws DiagramError, and the message carries what is wrong, why, and the clue to fix it — an unknown slug, a dangling edge, a duplicate id.

DiagramError.issue exposes a DiagramIssue with code, severity, message, input path, element ids, and optional hint/icon suggestions. Syntax failures from parse() also throw DiagramError with code: 'parse-error' and line/column when known. Existing message/hint properties remain available. The CLI exposes this as --check --json; see the validation report contract.

Unknown type 'lambdaa'.
  Did you mean: lambda?

An icon that does not resolve is never silently substituted. Failing beats drawing the wrong icon.

Icon packs

To use it as a CLI instead, archdraw bundles every pack.

Licence

MIT

import { diagnose, renderToSvg } from '@archdraw/core'

const svg = await renderToSvg(diagram, {
  icons,
  scenario: 'normal',
  focus: true,
  collapsed: ['project'],
  onLayout: (ir, root) => console.log(diagnose(ir, root)),
})

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 @archdraw/core

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

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

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

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

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