Популярность имеет свои минусы. Чем популярней язык программирования, тем выше его распространённость, а значит найдутся те кто поспешит воспользоваться этим.
С ростом популярности Python всё больше на PyPi появляется вредоносных пакетов. Трояны, стиллеры и доставщики более опасных вредоносов.
Команда PyPi постоянно мониторит подобные случаи но и их возможности достигли предела. В результате сервис временно закрывает возможность заливки новых пакетов и регистрации юзеров.
PyPI new user and new project registrations temporarily suspended
Возможно одной из причин большого наплыва вредоносов является резко возросшая доступность их создания. Сегодня любой, даже не программист, может попросить у ChatGPT написать необходимый код и все инструкции для атаки.
Основной тип атаки - рассчёт на опечатку в названии пакета. Если невнимательный программист случайно установит pilow или djangoo, считай что вредонос уже в системе.
Чтобы избежать подобных факапов я рекомендую:
▫️ Всегда работайте в виртуальном окружении, неизвестные проекты устанавливайте внутри контейнеров.
▫️ Используйте файл requirements.txt вместо ручной установки пакетов
▫️ Очень внимательно пишите названия пакетов, а после написания проверьте еще раз. Сверьте с названием из документации.
▫️ После успешных тестов всегда фиксируйте версию пакета. Бывали случаи когда опасный код добавляли в новые версии. К тому же и без этой опасности не рекомендуется ставить по умолчанию последнюю версию.
▫️ Используйте вспомогательные инструменты для проверки безопасности, например https://pyup.io/safety или https://github.com/PyCQA/bandit. Они помогут не только найти опасный код в чужих пакетах, но и ваш код проверит на уязвимости.
Будем надеяться что PyPi переосмыслит методы борьбы с вредоносами, например внедрит ИИ для проверки как симметричный шаг.
#offtop
Binance Labs Invests in Pluto Studio!
#BinanceLabs has led an investment round for Pluto Studio, the #GameFi publishing platform that launched Web3 Game Catizen😼
Catizen is a groundbreaking gaming bot on Telegram that seamlessly integrates Telegram with the #TON blockchain.
Today Catizen announced the news about airdrop:
Decrypt reports that Pluto Studio has secured funding from The Open Platform (TOP) as they prepare for a TON token airdrop. Catizen has now reached 25 million players and will airdrop 43% of its total token supply on the TON blockchain.
Also today Pavel Durov announced the greeting post:
🐱 Catizen is a mini game on Telegram with over 26 million players. The game has already earned $16 million (!) from in-app purchases and donated 1% of it to rescue stray cats
😱
😄 Catizen introduced millions of people to blockchain, because it uses TON-based smart contracts for its in-game rewards. Their team also built tools for other developers to easily launch their games on Telegram and TON 🤑
says Pavel Durov
So many good news for one day! 😻
❤️
Let's keep playing for the airdrop🪂,
Heal the world! 🌍
🎉Catizen x Zircuit Launchpool is Live
We're excited to announced launch Zircuit (ZRC) as the inaugural project on the Catizen Launchpool!🎆🪙
How to Earn ZRC?
💰 Stake CATI and Cats to Earn ZRC: Zircuit is an AI-secured, Zero-Knowledge Layer 2 solution, fully #EVM-compatible, and supported by #BinanceLabs, #Pantera, #DragonflyCapital, among others. With $1.8B in TVL and a new liquidity hub, early adopters are in for a rewarding journey!
Launchpool Details:
• Period: 2024-10-28 00:00 (UTC) to 2024-11-04 00:00 (UTC)
• Token Name: $ZRC
• Total Supply: 10,000,000,000 ZRC
• Token Rewards: ≈$1,500,000 in ZRC
• Launchpool Allocation: 8,333,333 ZRC
Pool Information
🪙CATI Pool:
• Reward Proportion: 85%
• Reward Amount: $1,275,000 in ZRC
• Stake Range: 1 to 2000 CATI
• Settlement: Every hour based on staked CATI share
😺Cat Pool:
• Reward Proportion: 15%
• Reward Amount: $225,000 in ZRC
• Eligibility: Cats above level 300 only
• Settlement: Hourly, with levels converted to USD for calculations
🐾Don’t miss out on this incredible chance to grow your rewards with Zircuit! This is just the beginning of their ambitious plan to enhance CATI token value✨
#TON#CATI#Pool#Zircuit