Skip to content

Security: pegma-dev/support-desk

Security

SECURITY.md

Security Policy

Support Desk processes customer conversations, email addresses, staff actions, and potentially sensitive attachments. Please report suspected vulnerabilities privately.

Reporting a vulnerability

Use GitHub private vulnerability reporting. Do not open a public issue.

Include, when possible:

  • the affected package, endpoint, or commit;
  • a minimal reproduction using synthetic data;
  • the expected and observed behavior;
  • potential confidentiality, integrity, or authorization impact;
  • any suggested mitigation.

We will acknowledge a complete report as soon as practical, investigate it, and coordinate remediation and disclosure with the reporter. Do not access conversations that are not yours or disrupt production systems while researching a report.

Supported versions

Support Desk is pre-release software. Until the first stable release, only the latest commit on the default branch is supported.

Host responsibilities

Applications integrating Support Desk remain responsible for:

  • authenticating customers and staff;
  • enforcing permissions on every server-side operation;
  • validating inbound mail-provider webhook signatures;
  • verifying outbound delivery callbacks;
  • applying idempotency to inbound and outbound events;
  • sanitizing rendered message content;
  • scanning and restricting attachments;
  • protecting mail, storage, signing, and AI-provider credentials;
  • encrypting sensitive data and establishing retention policies;
  • preventing secrets and customer data from entering logs or model prompts.

An email-address match can help associate a ticket with an account, but it does not authenticate the sender or grant access to that account.

First package release checklist

Before advertising @pegma/support-desk-* 0.1.0 for host consumption:

  • public packages ship only dist/**, package.json, README.md, and LICENSE;
  • exact internal workspace pins and reviewed external 0.x pins;
  • trusted-publisher OIDC publish workflow without token fallback;
  • host composition example and public-entry-point integration tests;
  • documented error categories for host HTTP mapping;
  • documented host-owned worker and sweep schedules;
  • private vulnerability reporting path in this file;
  • packages visible on the public npm registry at exact 0.1.0;
  • trusted publishers configured for each package after first publish;
  • signed annotated v0.1.0 tag at the release commit.

Production data readiness (retention, export, redaction, threat model) remains Buildout Task 12 and is intentionally outside this first package set.

There aren't any published security advisories