Scan your whole stack
From OX Research Newsroom
Are you using pluggy-sdk?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.97.0
pluggy-sdk was last scanned on 24 Nov 2026 at version 0.97.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
pluggy-sdk)Official Node.js/TypeScript SDK for the Pluggy API.
npm install pluggy-sdk
>=12.0.0import { 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
})
The SDK uses your Pluggy credentials:
PLUGGY_CLIENT_IDPLUGGY_CLIENT_SECRETIf you don’t have credentials yet, generate them in the Pluggy dashboard and refer to the docs for environment setup.
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.)
})
// 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
})
⚠️ 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 eachitemIdwhen it is created (Pluggy ConnectonSuccessor theitem/createdwebhook) and usefetchItem(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 })
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@deprecatedand will be removed in a future major release. Migrate tofetchTransactionsCursor/fetchAllTransactions— the cursor endpoint is more stable for long lists and supports the full filter set (dateTo,ids, etc.).
⚠️ 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/fetchWebhookskeep working, but header values come back masked as****(deliveries still send the real values). PassingwebhookUrlwhen 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)
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.
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!,
})
const recipient = await payments.createPaymentRecipient({
// recipient payload (PIX / bank account details, etc.)
})
const fetched = await payments.fetchPaymentRecipient(recipient.id)
const request = await payments.createPaymentRequest({
// payment request payload
})
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)
}
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'
MIT
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.