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

@formepdf/sdk

Latest version: v0.33.0

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: danmolitor
238 Stars
14 Forks
22 Versions
745 Downloads
Rust Repo language

Scan summary

@formepdf/sdk was last scanned on 23 Nov 2026 at version 0.33.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 22 versions; the latest was published on 23 Nov 2026.
  • Findings: No rules fired in version 0.33.0.
  • Downloads: 745 downloads.

Versions

22 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.33.0 LATEST 23 Nov 2026 No rules fired
0.31.0 5 Nov 2026 No rules fired
0.30.0 4 Nov 2026 No rules fired
0.29.0 22 Oct 2026 Not shown
0.28.0 6 Oct 2026 Not shown

No rules fired in 0.33.0

Findings

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

README

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

@formepdf/sdk

TypeScript client for the Forme hosted PDF API.

Installation

npm install @formepdf/sdk

Quick start

import { Forme } from '@formepdf/sdk';

const forme = new Forme('your-api-key');

// Render a template to PDF
const pdf = await forme.render('invoice', {
  customerName: 'Acme Corp',
  items: [{ name: 'Widget', price: 9.99 }],
});

// pdf is a Uint8Array — write to file, return as response, etc.
await fs.writeFile('invoice.pdf', pdf);

// Extract embedded data from a PDF
const data = await forme.extract(pdf);
// data === { customerName: 'Acme Corp', items: [...] }

Constructor

new Forme(apiKey: string, options?: { baseUrl?: string })
Option Default Description
baseUrl https://api.formepdf.com API base URL

Methods

render(slug, data?, options?)

Render a template to PDF bytes.

  • slug — Template identifier
  • data — Template data (sent as JSON body, defaults to {})
  • options.s3 — Optional S3 upload config ({ bucket, key, accessKeyId, secretAccessKey, region?, endpoint? })
  • Returns Promise<Uint8Array> (or Promise<{ url: string }> when s3 is provided)
renderAsync(slug, data?, options?)

Start an async render job.

  • options.webhookUrl — URL to receive a POST when the job completes
  • Returns Promise<{ jobId: string; status: string }>
getJob(jobId)

Poll an async job's status.

  • Returns Promise<JobResult> — includes pdfBase64 when complete
merge(pdfs)

Merge multiple PDFs into one.

  • pdfs — Array of Uint8Array (2–20 PDFs)
  • Returns Promise<Uint8Array>
certify(pdf, options)

Certify a PDF with an X.509 digital certificate.

  • pdf — PDF file bytes
  • options.certificate — PEM-encoded certificate string
  • options.privateKey — PEM-encoded private key string
  • options.certificateId — Or use a saved certificate ID (instead of raw PEM)
  • options.reason / options.location / options.contact — Optional metadata
  • Returns Promise<Uint8Array>
redact(pdf, options)

Redact sensitive content from a PDF.

  • pdf — PDF file bytes
  • options.patterns — Array of { pattern, pattern_type: 'Literal' | 'Regex' }
  • options.presets — Built-in presets like ['ssn', 'email', 'phone']
  • options.template — Saved redaction template slug
  • options.redactions — Explicit regions { page, x, y, width, height }[]
  • Returns Promise<Uint8Array>
extract(pdf)

Extract embedded data from a PDF generated by Forme.

  • pdf — PDF file bytes
  • Returns Promise<unknown | null> — null if the PDF has no embedded data

Error handling

import { Forme, FormeError } from '@formepdf/sdk';

try {
  const pdf = await forme.render('invoice', data);
} catch (err) {
  if (err instanceof FormeError) {
    console.error(`API error ${err.status}: ${err.message}`);
  }
}

Requirements

Node.js 18+ (uses global fetch).

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 @formepdf/sdk

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

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

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

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

Frame 2085668439 (1)
Group 1261154229