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

pluggy-sdk

Latest version: v0.97.0

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: cernadasjuan, fmiras, gpanga, jhonatan-pluggy
22 Stars
8 Forks
12 Versions
315.9K Downloads
TypeScript Repo language

Scan summary

pluggy-sdk was last scanned on 24 Nov 2026 at version 0.97.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 12 versions; the latest 3 were published within 5 days (20–24 Nov 2026).
  • Findings: No rules fired in version 0.97.0.
  • Downloads: 315,888 downloads.

Versions

12 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.97.0 LATEST 24 Nov 2026 No rules fired
0.96.0 24 Nov 2026 No rules fired
0.95.0 20 Nov 2026 No rules fired
0.94.3 16 Nov 2026 Not shown
0.94.2 5 Nov 2026 Not shown

No rules fired in 0.97.0

Findings

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

README

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

Pluggy Node.js SDK (pluggy-sdk)

Official Node.js/TypeScript SDK for the Pluggy API.

Installation

npm install pluggy-sdk
Requirements
  • Node.js: >=12.0.0

Quickstart

import { PluggyClient } from 'pluggy-sdk'

const client = new PluggyClient({
  clientId: process.env.PLUGGY_CLIENT_ID!,
  clientSecret: process.env.PLUGGY_CLIENT_SECRET!,
})

async function main() {
  // Example: list connectors
  const connectors = await client.fetchConnectors()
  console.log('connectors', connectors.length)
}

main().catch((err) => {
  console.error(err)
  process.exitCode = 1
})

Authentication

The SDK uses your Pluggy credentials:

  • PLUGGY_CLIENT_ID
  • PLUGGY_CLIENT_SECRET

If you don’t have credentials yet, generate them in the Pluggy dashboard and refer to the docs for environment setup.

Core API examples

Create a Connect Token
import { PluggyClient } from 'pluggy-sdk'

const client = new PluggyClient({
  clientId: process.env.PLUGGY_CLIENT_ID!,
  clientSecret: process.env.PLUGGY_CLIENT_SECRET!,
})

const connectToken = await client.createConnectToken({
  // Tip: pass the fields required by your integration
  // (e.g. options, itemId, connectorId, etc.)
})
Items
// Create an item
const item = await client.createItem({
  connectorId: 123,
  parameters: {
    // connector-specific parameters
  },
})

// Fetch an item
const fetched = await client.fetchItem(item.id)

// Update item MFA (when required)
await client.updateItemMFA(item.id, {
  // mfa payload from Pluggy
})
Listing items (opt-in, paid plans only)

⚠️ Opt-in, paid plans only. Listing items is disabled by default and is only available to paid-plan teams that have explicitly requested it from Pluggy support. Teams without it enabled get 403 LIST_ITEMS_FEATURE_NOT_ENABLED. For most integrations, store each itemId when it is created (Pluggy Connect onSuccess or the item/created webhook) and use fetchItem(id) instead.

GET /v2/items returns the team's items newest first, with cursor-based pagination. The only accepted filters are clientUserId, connectorId and after.

  • fetchItemsCursor(options) — fetch a single page ({ results, next }). next is a query string such as ?connectorId=201&after=<cursor>, or null on the last page.
  • fetchAllItems(options) — follow the cursor through every page and return the full list.
// Single page
const page = await client.fetchItemsCursor({ clientUserId: 'user-123' })

// Next page: read `after` from the `next` query string
if (page.next) {
  const after = new URLSearchParams(page.next).get('after')!
  const nextPage = await client.fetchItemsCursor({ clientUserId: 'user-123', after })
}

// Or every item at once
const items = await client.fetchAllItems({ connectorId: 201 })
Accounts and transactions (with pagination)

Transactions use cursor-based pagination against GET /v2/transactions. The SDK exposes two helpers:

  • fetchTransactionsCursor(accountId, options) — fetch a single page and the cursor to the next one.
  • fetchAllTransactions(accountId, options) — iterate through every page and return the full list.
const accounts = await client.fetchAccounts(item.id)
const account = accounts.results[0]

// Single page (returns { results, next })
const page = await client.fetchTransactionsCursor(account.id, {
  dateFrom: '2024-01-01',
})

// Manual pagination: follow the cursor until `next` is null
let cursor = page.next
while (cursor) {
  const url = new URL(cursor)
  const after = url.searchParams.get('after')!
  const next = await client.fetchTransactionsCursor(account.id, {
    dateFrom: '2024-01-01',
    after,
  })
  // ...do something with next.results
  cursor = next.next
}

// Or fetch all transactions in one call
const all = await client.fetchAllTransactions(account.id, {
  dateFrom: '2024-01-01',
})

Deprecation note: the legacy page-based fetchTransactions(accountId, options) method (GET /transactions) is @deprecated and will be removed in a future major release. Migrate to fetchTransactionsCursor / fetchAllTransactions — the cursor endpoint is more stable for long lists and supports the full filter set (dateTo, ids, etc.).

Webhooks

⚠️ Opt-in. Creating, updating or deleting webhooks with an API key is disabled by default, so a leaked client secret cannot redirect or delete your webhooks. Teams without it enabled get 403 WEBHOOKS_API_FEATURE_NOT_ENABLED: configure webhooks in the Pluggy Dashboard (Applications → Configure → Webhooks), or contact Pluggy support to enable API management. fetchWebhook / fetchWebhooks keep working, but header values come back masked as **** (deliveries still send the real values). Passing webhookUrl when creating an item, connect token or payment request is not affected.

const webhook = await client.createWebhook('item/created', 'https://example.com/webhooks/pluggy')

const webhooks = await client.fetchWebhooks()

await client.deleteWebhook(webhook.id)
Verifying webhook signatures

When webhook signing is enabled for your application, every notification carries an X-Pluggy-Signature header (t=<timestamp>,v1=<signature>). Verify it against the raw request body (before any JSON parsing) with the signing secret shown in the Dashboard. Pass a list of secrets to keep accepting the old one while you rotate it.

import express from 'express'
import { verifyWebhookSignature, WEBHOOK_SIGNATURE_HEADER } from 'pluggy-sdk'

const app = express()

app.post('/webhooks/pluggy', express.raw({ type: 'application/json' }), (req, res) => {
  const valid = verifyWebhookSignature({
    payload: req.body, // Buffer with the raw body
    header: req.get(WEBHOOK_SIGNATURE_HEADER),
    // unset entries are skipped, so the old secret can simply be removed after the rotation
    secrets: [process.env.PLUGGY_WEBHOOK_SECRET, process.env.PLUGGY_WEBHOOK_SECRET_OLD],
    // toleranceInSeconds: 300 (default)
  })
  if (!valid) {
    return res.sendStatus(401)
  }

  const event = JSON.parse(req.body.toString('utf8'))
  // handle the event...
  res.sendStatus(200)
})

verifyWebhookSignature returns true only when the header parses, its timestamp is within the tolerance (5 minutes by default, in either direction) and the signature matches one of the secrets; it never throws. Use validateWebhookSignature instead to get the reason of a failure (missing_header, malformed_header, timestamp_out_of_tolerance, signature_mismatch, no_secret, invalid_payload) for your logs.

See the webhook security guide for details.

Payments API examples

Use PluggyPaymentsClient for payment initiation features.

import { PluggyPaymentsClient } from 'pluggy-sdk'

const payments = new PluggyPaymentsClient({
  clientId: process.env.PLUGGY_CLIENT_ID!,
  clientSecret: process.env.PLUGGY_CLIENT_SECRET!,
})
Create and fetch a payment recipient
const recipient = await payments.createPaymentRecipient({
  // recipient payload (PIX / bank account details, etc.)
})

const fetched = await payments.fetchPaymentRecipient(recipient.id)
Create a payment request
const request = await payments.createPaymentRequest({
  // payment request payload
})

Error handling

The SDK throws on non-2xx responses. Recommended pattern:

try {
  const item = await client.fetchItem('item_id')
  console.log(item)
} catch (err) {
  // Surface the error message and/or response details in your app logs
  console.error(err)
}

TypeScript

This package is written in TypeScript and ships with types. You can import types from the package directly:

import type { Item, Transaction } from 'pluggy-sdk'

Support

License

MIT

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 pluggy-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

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

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

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

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