CDS pluginCDS plugintypeInstalls into a CAP project and extends the runtime. CAP loads it through cds.requires or the plugin hook.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →

@sap/cds-oyster

Runs tenant-specific extension code inside a WebAssembly sandbox, so a SaaS application can accept custom logic from a customer without running it unguarded.

Facts

Latestv0.5.5ReleasedLicenceSAP DEVELOPER LICENSE AGREEMENT 3.2 CAP

Where it sits

Lives in
Provides
MultitenancyCAPMultitenancycapabilityServing many tenants from one deployment — onboarding, tenant-isolated data, per-tenant schema deployment and the operational tooling around it. It is decided once, before anything is built, and narrows the artifacts in almost every capability downstream: most sharply in [caching](capability:caching) and anything else holding state in process.
Flavors
Requires
@sap/cds^9 || ^10@sap/cdsartifactThe peer range, as published.

Before choosing this

Conditions

LicenceSAP Developer License Agreement 3.2 CAP§ 1, 2, 3A cds-plugin is used with SAP CAP materials, or an artifact is explicitly identified as a CAP plugin or application.
  • § 1 License. Productive customer applications are limited to SAP BTP or another SAP-licensed platform, and mass extraction to a non-SAP product is restricted except where solely required for SAP interoperability.
  • § 2 Intellectual Property. The agreement retains SAP's rights in the covered materials and limits making APIs, tools or software available to third parties, while preserving ownership of customer applications subject to SAP's underlying rights.
  • § 3 Artificial Intelligence Training. The agreement prohibits use of the covered materials and customer applications for training artificial-intelligence models or systems.
SAP Developer License Agreement 3.2 CAP →

What it declares

Every artifact

Type
CDS plugin
Origin
By SAP

As a CDS plugin

Declared for
^9 || ^10
Distributed through
npm

Connections1

@sap/cds-oyster connections@sap/cds-oysterPROVIDES→ provides1provides authoredMultitenancy

Install

npm add @sap/cds-oyster

Derived from the package name. No recipe recorded; the README has the configuration.

Learn more2

Readings
  1. Custom Business Logic Extensibility in CAP (CDS-Oyster)Nick Josipovic, DJ Adams, YouTube — SAP Developers playlists
  2. Everything new: Try out the latest features in CAPDaniel Hutzel, Daniel Schlachter, SAP TechEd — session catalogue
What changed
  1. v0.5.1

    The runtime option is now sandbox, with wasm for oyster and mocked for debug; development defaults to mocked and production allows only wasm. extensibleAnnotation defaults to true, so @extensible.code decides which code extensions are allowed instead of the extension allow-list, and the maxResultSize option and req.user in the sandbox are removed.

    Makes stale:

    Configuration that sets runtime to oyster, or that relies on extension-allowlist to gate code extensions.

1 earlier
  1. v0.2.0

    Extension code can no longer call a bound action as this.action(), only unbound actions, and before-READ extension handlers are removed. The same release switches to Oyster v2.

    Makes stale:

    Extension examples that call this.action() or register a before-READ handler.

README

quoted from @sap/cds-oyster@0.5.5, read
@sap/cds-oyster@0.5.5/README.mdOn npm

@sap/cds-oyster - Code Sandboxing for CAP

excerpt, SAP DEVELOPER LICENSE AGREEMENT 3.2 CAP, read licencethe rest, on npm

History

Latest

v0.5.5

Features 1, Fixes 5

  1. v0.5.4

    Fixes 2

  2. v0.5.3

    Fixes 1

  3. v0.5.2

    Fixes 1

  4. v0.5.1dated in the atlas

    Removed 2, Deprecated 1, Features 5, Changed 5, Fixes 1

  5. v0.4.0

    Features 4, Changed 4, Fixes 2

  6. v0.3.1

    Changed 4, Fixes 1

  7. v0.3.0

    Features 1, Fixes 1

  8. v0.2.1

    Fixes 2

  9. v0.2.0dated in the atlas

    Removed 2, Features 2, Changed 4, Fixes 3

  10. v0.1.0

    Features 1

  11. v0.0.1

    Features 1

199downloads per week, npm
Weekly downloads for @sap/cds-oyster26 complete calendar weeks from 2026-04-20 to 2026-10-18; the latest total is 199.20 Apr – 26 Apr: 7527 Apr – 3 May: 434 May – 10 May: 18911 May – 17 May: 61318 May – 24 May: 26825 May – 31 May: 3291 Jun – 7 Jun: 908 Jun – 14 Jun: 90715 Jun – 21 Jun: 45122 Jun – 28 Jun: 63629 Jun – 5 Jul: 4866 Jul – 12 Jul: 34913 Jul – 19 Jul: 68120 Jul – 26 Jul: 13427 Jul – 2 Aug: 1173 Aug – 9 Aug: 36510 Aug – 16 Aug: 31617 Aug – 23 Aug: 9424 Aug – 30 Aug: 16631 Aug – 6 Sept: 787 Sept – 13 Sept: 11014 Sept – 20 Sept: 36621 Sept – 27 Sept: 45728 Sept – 4 Oct: 3635 Oct – 11 Oct: 60012 Oct – 18 Oct: 199
Multitenancy
  1. SAP Software-as-a-Service Provisioning serviceRegisters a multitenant application for subaccount subscriptionsfrom BTP/BAIP
  2. com.sap.cds:cds-feature-mtMultitenancy for CAP Java: tenant lifecycle and per-tenant containersfrom CAP
  3. com.sap.cds:cds-services-bomMaven bill of materials pinning CAP Java module versionsfrom CAP
  4. @cap-js-community/mtx-toolCLI for operating tenants of multitenant CAP applicationsfrom CAP
  5. @sap/cds-mtxsMultitenancy, tenant provisioning and extensibility for CAPfrom CAP
  6. @sap/cdsCAP Node.js runtimefrom CAP

Details

Sources4
npm registrydiscovered herechecked
The discovery passdiscovered herechecked
npm registry, @sap/cds-oysterversion, releases, installschecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
declared for^9 || ^10
latestv0.5.5
first release
releases and cadence11, ~22d median
discovered vianpm registry, The discovery pass
first seen in the atlas
ecosystem and domaincap, operations-and-runtime
Flavors1
Node.js
“a secure execution environment for tenant-specific code in the Node.js version of CAP” — @sap/cds-oyster — npm READMEchecked
History in the atlas3
  1. npm: https://www.npmjs.com/package/@sap/cds-oyster
  2. Runs tenant-specific extension code inside a WebAssembly sandbox, so a SaaS application can accept custom logic from a customer without running it unguarded.
  3. First seen.
For your agent
Ref
artifact:sap-cds-oyster
JSON
/artifacts/sap-cds-oyster.json
MCP
Connecting an agent