Security

Effective & Last Updated: November 19, 2026

How Postkub protects OAuth credentials, scoped API keys, media uploads, and publishing integrity.

01Encryption in transit and at rest

All web, API, and webhook traffic travels over HTTPS (TLS). Social media OAuth access/refresh tokens, 2FA backup codes, and webhook signing secrets are encrypted before being stored in PostgreSQL.

Account passwords and scoped API keys are never stored in plain text — only strong cryptographic hashes.

02Least privilege and media upload isolation

Scoped API keys restrict access to specific Brands, social accounts, and actions and are blocked from accessing the binary upload gateway (KEY_LANE_FORBIDDEN). External AI tools must pass public direct-download HTTPS URLs validated with SSRF protections against private networks, loopback/metadata IPs, and viewer links.

The system never writes access tokens, API keys, passwords, or full webhook secrets to logs.

03Traceable audit trail

Every significant action — publishing, scheduling, replying to comments, API key management, and deletion requests — is recorded in a tenant-scoped audit log.

Logs show which human user or scoped API key performed an action, when, and through which channel.

04Intent integrity and key revocation

Every published or scheduled post binds to immutable content, hosted media URLs or sealed asset IDs, targets, and schedule revisions, guarded by Idempotency-Key protections to prevent duplicates.

Revoking a scoped API key stops new external requests immediately while preserving accepted schedules, which owners can edit or cancel directly in the dashboard or owner API.

05Backups and deletion-safe recovery

PostgreSQL is the source of truth and is protected by continuous write-ahead-log archiving plus encrypted daily physical base backups copied to separate, restricted recovery storage (Cloudflare R2) outside the application server, with a 30-day retention window; pending job queues can always be rebuilt from it. Media files live in private Cloudflare R2 object storage with their own verified recovery copies; the application runs on virtual servers in Singapore behind Cloudflare's edge CDN and WAF.

Deletion manifests are maintained separately so that restored backups re-apply completed user erasures before re-enabling access or publishing.

06Reporting vulnerabilities

Found a security issue? Please report it responsibly to support@postkub.com — we review and respond promptly.

Please avoid accessing or modifying other users' data during testing and allow reasonable time to investigate and remediate before public disclosure.