Docs/Developer Guidelines

Developer Guidelines

The safety and security principles every developer building on CardStack is expected to follow.

Core principles

Secrets stay out of code

Never hardcode API keys, tokens, or credentials into a card, backend function, or repo. Use environment variables and rotate any key you suspect was exposed immediately from the Developer Keys page.

Scope data to the signed-in user

Row Level Security is enabled on every table by default. Every query you write should filter by the authenticated user — never rely on the client to enforce ownership.

Treat all input as untrusted

Validate and sanitize request bodies, query params, and file uploads before they touch storage, the database, or another API. Reject malformed or oversized payloads early.

Design around rate limits

Deployed cards and API keys are rate-limited to keep the platform fair for everyone. Build in retries with backoff instead of hammering an endpoint on failure.

Publish responsibly

Anything you publish from Studio becomes visible to other developers. No malicious code, scrapers, credential harvesting, or content that violates the Terms of Service.

Report issues, don’t exploit them

If you find a security gap in the platform itself, report it through Security Alerts rather than testing it against other developers’ cards or data.

Where to go next

Extensions

  • Marketplace
  • Media · Coming Soon
  • Studio · Coming Soon
  • Study · Coming Soon
  • Fund · Coming Soon
  • Agent · Coming Soon
  • Design · Coming Soon

Connect

Don't invest unless you're prepared to lose all the money you invest. This is a high-risk investment and you are unlikely to be protected if something goes wrong. Take 2 mins to learn more.

Regulatory Notice: CardStack Technologies Ltd (registered in England & Wales, Co. No. 12345678) is not authorised or regulated by the Financial Conduct Authority (FCA) or any equivalent body to provide investment advice, deal in regulated financial instruments, or provide payment services under the PSR 2017. Digital assets and BBB Cards are not protected by the Financial Services Compensation Scheme (FSCS) or the Financial Ombudsman Service (FOS). Trading digital assets involves substantial risk of loss — the value of your investments can go down as well as up and you may lose more than you invest. Past performance is not a reliable indicator of future results. Nothing on this platform constitutes financial, investment, tax, or legal advice. CardStack complies with the Money Laundering Regulations 2017 (MLR 2017) and the Sanctions and Anti-Money Laundering Act 2018 (SAMLA 2018).

© 2026 CardStack Technologies Ltd. All rights reserved.