---
title: Community registry
description: The plugins.json entry schema, status labels, and the validation that gates every registry change in CI.
sidebar:
  icon: "shield-check"
---

The community registry is one static JSON file — `apps/fumadocs/content/community/plugins.json` in the [SDK repository](https://github.com/opencoredev/email-sdk) — listing third-party adapters, plugins, and hybrid packages. The docs site renders it on the [community page](/v0.6.4/docs/plugins/community); changes land by pull request and are validated by a script in CI.

To list a package, build it first: [Publish a community adapter](/v0.6.4/docs/guides/authoring/publish-community-adapter) or [Publish a community plugin](/v0.6.4/docs/guides/authoring/publish-community-plugin).

## Entry schema

```json title="apps/fumadocs/content/community/plugins.json"
[
  {
    "name": "SMTP2GO",
    "package": "email-sdk-smtp2go",
    "kind": "adapter",
    "status": "community",
    "description": "Adds an SMTP2GO provider adapter for Email SDK.",
    "href": "https://www.npmjs.com/package/email-sdk-smtp2go",
    "repo": "https://github.com/stefandevo/email-sdk-smtp2go",
    "maintainer": "stefandevo",
    "pluginId": "smtp2go",
    "adapter": "smtp2go",
    "importName": "smtp2goPlugin"
  }
]
```

| Prop | Type | Default | Description |
| - | - | - | - |
| `name` | `string` | - | Display name. Must be unique across the registry. |
| `package` | `string` | - | npm package name (valid lowercase name, scoped or not). Unique. |
| `kind` | `"adapter" \| "plugin" \| "hybrid"` | - | What the package adds. |
| `status` | `"community" \| "verified" \| "official"` | - | Trust label. Anything beyond community requires verification metadata. |
| `description` | `string` | - | One-line summary shown in the registry. |
| `href` | `string` | - | Package or docs link. Must be https. |
| `repo` | `string` | - | Public source repository. Must be https and match the package metadata for verified entries. |
| `maintainer` | `string` | - | Maintainer handle. |
| `pluginId?` | `string` | - | The plugin's id, when the package exports a plugin factory. Unique. |
| `adapter?` | `string` | - | Adapter routing name. Required for adapter and hybrid entries. |
| `importName?` | `string` | - | The export users import, e.g. the plugin factory. |
| `verifiedVersion?` | `string` | - | Exact package version the verification applies to. Required for verified and official entries. |
| `verification?` | `object` | - | Review metadata. Required for verified and official entries. |

`verification` itself requires `reviewedAt` (ISO date), `reviewedBy`, `provenance: true`, `noInstallScripts: true`, and `runtimeDependencies` (a non-negative integer); `notes` is optional.

## Status labels

| Status      | Meaning                                                               |
| ----------- | --------------------------------------------------------------------- |
| `community` | Listed by pull request. Not endorsed or audited.                      |
| `verified`  | Passed the static checks and npm audit for exactly `verifiedVersion`. |
| `official`  | Maintained by OpenCore or in the Email SDK repository.                |

Verification is per version: a new release is unverified until the entry's `verifiedVersion` is updated and the checks pass again.

## Validation

Run the check locally before opening a pull request:

```bash
bun run community:check
```

That runs `scripts/validate-community-registry.ts`, which enforces the schema above: required fields, valid npm package names, https-only links, the enum values, no duplicate `name`/`package`/`pluginId`, `adapter` on non-plugin entries, and complete `verification` blocks on verified and official entries.

### The npm audit in CI

With `--network` (or automatically when `CI=true` — the same script runs in CI via `bun run release:ci`), verified and official entries get a deeper audit. The script downloads the published npm tarball for `verifiedVersion` and fails the build if the package:

1. Has a `repository` that does not match the entry's `repo`.
2. Defines `preinstall`, `install`, or `postinstall` scripts.
3. Has a runtime dependency count that differs from `verification.runtimeDependencies`.
4. Does not declare `@opencoredev/email-sdk` as a peer dependency.
5. Exposes a `bin` entry.
6. Contains suspicious tokens in shipped JavaScript (`child_process`, `eval(`, `Function(`, token-stealing env reads, `curl `/`wget `).

:::info[Static checks, not a security guarantee]
The audit lowers obvious supply-chain risk; it does not prove third-party code is safe. Read the
source, pin versions, and apply your normal dependency review before installing any listed
package.
:::
