Email hi@atharvashah.com with the details, or open a private security advisory.
Please do not open a public issue for anything that could expose someone's session.
Expect a first reply within a few days.
It stores and sends Substack session cookies, which are equivalent to passwords. Anything that could leak one is in scope. So is anything that could cause an unintended write to a live publication.
- The config file is written with
0600permissions on every OS that has file modes. - Cookies are never printed, including by
doctorand--verbose. - Cookies are sent only to your own publication domain and to
substack.com, over HTTPS. - Nothing is logged, phoned home, or written anywhere other than the config file you chose.
Sign out of all sessions from Substack's account settings. That invalidates every session
cookie immediately, including the leaked one. Then run substack init again with a fresh
value.
Out of scope: Substack's own API behavior, rate limits, and terms of service. This project drives private endpoints that Substack may change or restrict at any time.