w3bs.AccountStart building
PACKAGES / Profullstack

orgs

Postgres library and CLI for organizations, teams, members, roles and invitations.

ThreatCrush · No malware found
INSTALLw3bs install profullstack.com/orgs

No w3bs yet? curl -fsSL https://w3bs.org/install.sh | sh

Get started

What to type once it is installed.

  1. w3bs install profullstack.com/orgsInstall orgs and track it for updates
  2. orgs migrateCreate the orgs, teams, members and invites tables in Postgres
  3. orgs create "<org name>" --user <user-uuid>Create an organization owned by a user
  4. orgs member add <org-slug> <user-uuid> --role adminAdd a user to an org with a role
  5. orgs invite <org-slug> <email> --role adminInvite someone by email; the token is printed once

Every option: orgs --help · docs ↗

Malware scan

ThreatCrush found no malware indicators in orgs 0.2.0. The other findings below are ordinary code-review notes, not malware.

Scanned
2026-11-01 22:56 UTC · threatcrush 0.13.30
Files
17 (installer + github.com/profullstack/orgs)
Findings
9 medium · 3 low
12 other findings (not malware)
  • medium
    SQL built from a template literal or f-stringsource/src/invites.js:53sql-template-interpolation · CWE-89
  • medium
    SQL built from a template literal or f-stringsource/src/members.js:75sql-template-interpolation · CWE-89
  • medium
    SQL built from a template literal or f-stringsource/src/orgs.js:16sql-template-interpolation · CWE-89
  • medium
    SQL built from a template literal or f-stringsource/src/orgs.js:34sql-template-interpolation · CWE-89
  • medium
    SQL built from a template literal or f-stringsource/src/orgs.js:39sql-template-interpolation · CWE-89
  • medium
    SQL built from a template literal or f-stringsource/src/orgs.js:66sql-template-interpolation · CWE-89
  • medium
    SQL built from a template literal or f-stringsource/src/teams.js:30sql-template-interpolation · CWE-89
  • medium
    SQL built from a template literal or f-stringsource/src/teams.js:35sql-template-interpolation · CWE-89
  • medium
    SQL built from a template literal or f-stringsource/src/teams.js:60sql-template-interpolation · CWE-89
  • low
    SQL built from a template literal or f-stringsource/README.md:100sql-template-interpolation · CWE-89
  • low
    Database URL with credentialssource/test/orgs.test.js:14secret-database-url · CWE-798
  • low
    SQL built from a template literal or f-stringsource/test/orgs.test.js:143sql-template-interpolation · CWE-89

Badge for your README

ThreatCrush: No malware found

[![ThreatCrush scan](https://w3bs.org/api/packages/profullstack.com/orgs/badge.svg)](https://w3bs.org/packages/profullstack.com/orgs)