ZaStoGram_desktop/Telegram/SourceFiles/tests/release_guards.txt
loop-uh d845296c67
All checks were successful
Desktop source guards / guards (push) Successful in 7s
Защита от кражи аккаунта через ботов: код входа нельзя переслать, отправить и ввести в мини-приложении
Схема: бот в мини-приложении просит номер, запускает вход, Telegram шлёт код
в служебный чат 777000, жертва пересылает его, пишет текстом или вводит на
поддельной клавиатуре. Всё в одном модуле core/zsg_login_guard:

- сообщения служебного чата 777000 нельзя пересылать;
- текст со свежим кодом входа (час) не отправляется никуда, показывается
  предупреждение;
- код, пришедший при открытом мини-приложении, закрывает все мини-приложения,
  оставляет предупреждение в чате с ботом и предлагает заблокировать бота и
  пожаловаться на спам.

Гард test_zastogram_login_guard.py следит, чтобы хуки не пропали при слиянии.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 06:09:51 -05:00

31 lines
1.7 KiB
Text

Telegram/SourceFiles/tests/test_account_archive.py
Telegram/SourceFiles/tests/test_e2e_cloud_desktop_integration.py
Telegram/SourceFiles/tests/test_mtproto_relay_silence.py
Telegram/SourceFiles/tests/test_mtproxy_client_hello_profiles.py
Telegram/SourceFiles/tests/test_mtproxy_endpoint_identity.py
Telegram/SourceFiles/tests/test_mtproxy_faketls_hardening.py
Telegram/SourceFiles/tests/test_mtproxy_minimal_hotfix.py
Telegram/SourceFiles/tests/test_mtproxy_phase_cooldown.py
Telegram/SourceFiles/tests/test_mtproxy_policy.py
Telegram/SourceFiles/tests/test_mtproxy_target_flow.py
Telegram/SourceFiles/tests/test_mtproxy_tls_psk.py
Telegram/SourceFiles/tests/test_proxy_atomic_switch.py
Telegram/SourceFiles/tests/test_proxy_capability_cache.py
Telegram/SourceFiles/tests/test_proxy_capability_key_contract.py
Telegram/SourceFiles/tests/test_proxy_connection_status.py
Telegram/SourceFiles/tests/test_proxy_control_plane.py
Telegram/SourceFiles/tests/test_proxy_control_plane_truth_table.py
Telegram/SourceFiles/tests/test_proxy_diagnostics.py
Telegram/SourceFiles/tests/test_proxy_list_checks.py
Telegram/SourceFiles/tests/test_proxy_logging_events.py
Telegram/SourceFiles/tests/test_proxy_shield_probe.py
Telegram/SourceFiles/tests/test_proxy_wss_default.py
Telegram/SourceFiles/tests/test_release_guards_run_their_tests.py
Telegram/SourceFiles/tests/test_session_endpoint_cooldown.py
Telegram/SourceFiles/tests/test_update_mirrors.py
Telegram/SourceFiles/tests/test_own_api_id.py
Telegram/SourceFiles/tests/test_zastogram_branding.py
Telegram/SourceFiles/tests/test_zastogram_ghost_mode.py
Telegram/SourceFiles/tests/test_web_proxy_carrier_flow.py
Telegram/SourceFiles/tests/test_zastogram_libs_keep.py
Telegram/SourceFiles/tests/test_zastogram_login_guard.py