Skip to content

chore: add SECURITY.md #2690

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Apr 29, 2025
113 changes: 113 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
# Security Policy

## Supported Versions

We release security patches for the following versions:

- [1.6.7](https://www.npmjs.com/package/@tact-lang/compiler/v/1.6.7),
- [1.5.4](https://www.npmjs.com/package/@tact-lang/compiler/v/1.5.4).

Other versions are not supported.

## Reporting a Vulnerability

If you discover a security vulnerability, please **do not open an issue**.
Instead, please send us a detailed report using either email ([it+tact@tonstudio.io](mailto:it+tact@tonstudio.io)) or the GitHub Security Advisory ["Report a Vulnerability"](https://github.com/tact-lang/tact/security/advisories/new) tab.

If you use email, please encrypt your email using our [PGP key](#pgp-key-to-use-if-reporting-via-email). If you're unfamiliar with PGP encryption, please still send us an email without disclosing the vulnerability and we will coordinate a secure channel with you.

Thank you for helping us make Tact safer for everyone building on TON.

## Response Times

We will acknowledge your report within three business days and aim to provide a resolution or mitigation plan within 30 calendar days. If a resolution requires more time, we will keep you updated on the progress.

## Disclosure Policy

If we confirm the vulnerability, we will work with you to coordinate a fix before public disclosure.

- Fixes will be announced in a security advisory.
- Credit will be given to the reporter unless anonymity is requested.

## What to Include in the Security Report

- A description of the vulnerability,
- Steps to reproduce (if applicable),
- The potential impact (if known),
- Any suggestions for remediation (if known).

Please include all details necessary to reproduce the vulnerability, such as:

- the input program that triggers the bug,
- compiler version affected,
- target TVM version,
- the link to the mainnet or testnet transaction that demonstrates the bug,
- if reproducing the bug using local emulators, such as [Sandbox](https://github.com/ton-org/sandbox), please add the test script, the instructions to install its dependencies, and the command to run the script to reproduce the issue,
- the Tact language server version, and IDE or text editor, if applicable,
- any relevant details about your execution environment, like the Node.js version or your operating system.

Please include steps to reproduce the bug you have found in as much detail as possible.

Please do not make the source code needed to reproduce the vulnerability publicly available.

## Disclaimer

Please notice this is not a bug bounty policy. When a bug bounty with the Tact compiler in its scope is available, we will update this document with the link to it.

## PGP Key to Use If Reporting via Email

To encrypt your email, use the following PGP key:

```
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGf1PGkBEAC/2SWRm6LzZpVGg90r5sS09QPx3KmRj4ozol+9JF9F7oAUCOSd
305Icyhv3qc92OMbS6/VbqrLr5+/Ha/hjPJn3NshSCdbceuZBNANhdDcBpHvvtqa
lizN05KYh6BUVmST/LUht5CjnIeYHsl+TnqDIcf9UZcA9T+j2z4g/c3cJT9b8UVA
45vy+Dd7B9FXxTZy9yLySLYckAz4Mb+eHF0PUAL05QB3olZ+sIuK7ebqx5/qRX4q
y2flswXaRBBnfo1p5mmRyajOIFXbBKNQ+vu6MVNV+YZGOHm/CyAnyzPvxrWxBiGL
g/AwAMn2JjCff93EjKw7Wk8fM28i2KH+4LYCN329seJC+gkIiHfdxQdCNDkqEUCP
SLq8o1kGG3bk9OCWRXoZ1WnnOR1E7hfOzmYPM6Ugot8A0hBgiHiEG7N6ufFuxzmD
AC/zgRwLAVmtRaqzA/vt1IsmnQesX2aQj8jO+P7G+dK+d8H/0IKk0l3ikRS+ajfe
wUxGghyBdOg+7i7KYd0/X1ri/RzV7zPODj0R12d9XKSgCgMnNYCWZvTugtqWzf4V
gguYyAld4/YoFXOBh41CHR9eK0aXKeSv3toWPfDN+jRllSZ92SW8scK/yto/HYhf
L+KD2iEaUu/URXyhHel8aK+37xowAhcmukVxqovKkZT7xs72sWA6Vnqc0QARAQAB
tCFBbnRvbiBUcnVub3YgPGFudG9uQHRvbnN0dWRpby5pbz6JAlEEEwEIADsWIQSf
4ae++pxz3fWalvLGNqqGEs/OdwUCZ/U8aQIbAwULCQgHAgIiAgYVCgkICwIEFgID
AQIeBwIXgAAKCRDGNqqGEs/Od9fhEACdnpitth3iSQb0yRdcGwyHOwXgF+UW32Ih
URD9D8d2Ef5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& 1 deletion dev-docs/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- [ ] Improve the changelog for `vX.Y.Z`: grammar, wording, polishing
- [ ] Make sure there are no open issues for the [vX.Y.Z milestone](https://github.com/tact-lang/tact/issues?q=is%3Aopen+is%3Aissue+milestone%3AvX.Y.Z) (except for the current one, of course)
- [ ] Remove `(not released yet)` from docs:
- [ ] Update the latest Tact version in `SECURITY.md`
- [ ] Update test snapshots with Tact version
- [ ] Bump Tact version in [`package.json`](../package.json) file
- [ ] Bump Tact version in [CHANGELOG.md](./CHANGELOG.md): `Unreleased` -> `vX.Y.Z`
Expand All @@ -20,6 +21,7 @@
```
- [ ] Request or perform the plugins/parsers/tools updates and releases:
- [ ] <https://github.com/tact-lang/tact-template> (tracked in: )
- [ ] <https://github.com/tact-lang/create-tact> (tracked in: )
- [ ] <https://github.com/tact-lang/tree-sitter-tact> (tracked in: )
- [ ] <https://github.com/tact-lang/tact.vim> (tracked in: )
- [ ] <https://github.com/tact-lang/tact-sublime> (tracked in: )
Expand All @@ -29,6 +31,5 @@
- [ ] [Open VSX Registry](https://open-vsx.org/extension/tonstudio/vscode-tact)
- [ ] <https://github.com/tact-lang/web-ide> (tracked in: )
- [ ] <https://github.com/tact-lang/prism-ton> (tracked in: )
- [ ] <https://github.com/ton-blockchain/intellij-ton> (tracked in: )
- [ ] <https://github.com/ton-blockchain/verifier> (tracked in: )
- [ ] [TON Dev News](https://t.me/tondev_news) Telegram channel announcement
3 changes: 2 additions & 1 deletion spell/cspell-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ Lagus
Laika
langle
langtools
letrec
learnXinYminutes
letrec
Liskov
llm
llms
Expand All @@ -116,6 +116,7 @@ memecoin
Merkle
minmax
mintable
miscompilation
misparse
misparsed
mktemp
Expand Down