# Security policy ## Reporting a vulnerability Report suspected vulnerabilities privately through the [official contact page](https://xmrbazaar.com/contact/). State that the message concerns a vulnerability in published app source or release artifacts. Do not open a public issue or disclose the problem before it has been reviewed. Include: - The affected repository, version, commit or release artifact. - Reproduction steps and the expected security impact. - Relevant logs or screenshots with personal data removed. - A safe way to contact you for follow-up. Never send passwords, recovery material, private keys, seed phrases, live two-factor codes, session tokens, private messages or real payment data. ## System and scope This policy currently covers only source code and release artifacts published by the XmrBazaar organization. At present, the covered component is the mobile app UX/UI shell in `xmrbazaar-app`. Repository-specific security policies take precedence when they define a narrower system boundary. The production website, API, backend services, hosting, infrastructure, marketplace operations, accounts, listings, content, moderation, transactions and disputes are not covered by this GitHub security process. They remain out of scope unless XmrBazaar later publishes the relevant source with an applicable security policy. Important in-scope assets include the published source, signing identities, release artifacts, local preview data and any client-side session or private data handling added to this repository. ## Security invariants - Authentication and authorization must be checked before protected reads or mutations. - Store distribution policy implemented by the app must fail closed. Server-side enforcement cannot be assessed under this policy while the API and backend remain outside the published scope. - Secrets and private user data must not be committed, logged or placed in insecure local storage. - Network traffic carrying private or authenticated data must use authenticated encryption. - Logout and account deletion must remove local session material and private cached data. - Official releases must be traceable to reviewed source and the documented signing process. ## Reportable findings Examples include authentication bypass, unauthorized access or mutation, exposure of private data, practical payment or order manipulation, release or update substitution, unsafe secret storage and remotely reachable crashes with meaningful impact. Reports should explain realistic reachability and impact. A proof of concept must avoid harming users, public infrastructure or production data. Only findings attributable to the published mobile app source or its release artifacts are reportable here. Do not test the production website, API, backend or infrastructure under this policy. ## Out of scope - Purely theoretical concerns without a reachable security impact. - Social engineering, physical attacks or compromised devices outside XmrBazaar's control. - Availability testing that sends excessive traffic or disrupts a service. - Vulnerabilities confined to third-party services not operated by XmrBazaar. - Automated reports without manual validation and relevant evidence. - The production website, API, backend services, hosting and infrastructure. - Marketplace accounts, listings, content, moderation, orders, payments, shipping, transactions and disputes. These exclusions do not authorize destructive testing. Stop if testing could affect another user or a production service. Operational and marketplace issues are not repository security reports. Use the [XmrBazaar forum](https://xmrbazaar.com/forum/) or the [official contact page](https://xmrbazaar.com/contact/) for account support, content reports, scam reports, moderation, orders and disputes. ## Disclosure and rewards Allow reasonable time for investigation and remediation before disclosure. Reports are handled as availability permits. A reward or bounty exists only when agreed in writing before disclosure.