Популярность имеет свои минусы. Чем популярней язык программирования, тем выше его распространённость, а значит найдутся те кто поспешит воспользоваться этим.
С ростом популярности 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
#Congratulations
🧡 Nargis Kosimova, Director of the “Ekolog” Public Association, has been awarded the “Mo‘tabar Ayol” badge
In accordance with the Decree of the President of the Republic of Uzbekistan dated February 2, 2018, No. PF-5325, “On measures to fundamentally improve activities in the field of supporting women and strengthening the family institution,” the “Mo‘tabar Ayol” badge was established.
This award is given to women who have shown activity and initiative in public and state life, contributed through their effective work to the stability and prosperity of families, the protection of motherhood and childhood, and have set an exemplary example in raising healthy and well-rounded generations in the spirit of patriotism and loyalty to the ideals of independence, promoting moral and ethical values locally, and broadly spreading national values.
The “Mo‘tabar Ayol” badge is presented by the Women’s Committee of Uzbekistan on the eve of International Women’s Day, March 8.
🌿 The team of the “Ekolog” Public Association sincerely congratulates Nargis Kosimova on receiving this prestigious award!
☘️Read the latest environmental news on the @ekologuz page. Follow us and send your suggestions and wishes via @eklguz_bot
Instagram | Facebook | Twitter | Sayt | Youtube.
#Congratulations🥳
"Nikhil" for your amazing kabaddi skills and to be the luckiest winner of our coin-toss representative.🥳
Keep going, abhi to leaderboard baki hai😜
.
.
.
Download App👇
https://vision11.in/APK/vision11.apk
Congratulations to the fourteen train driver trainees who have successfully completed their training!
January 24, 2024(EDR); During their one year training period, the trainees have successfully finished their theoretical and practical training. That provided by the Ethiopian-Djibouti Railway Capacity Building program’s fourth round.
Today, they took their Ministry of Transport and Logistics qualification exam, and now one step closer to obtaining their licenses and starting their careers as train drivers.
We are incredibly proud of their hard work and commitment, and we wish them all the best in their future endeavors!
#EthiopiaDjiboutiRailway#EthiopiajiboutiRailwayfamily#CapacityBuilding #TrainDriverTraining#Congratulations
The D-Day on #vision11 is here! 🏆
Here are our top 3 winners for #PKL2022 Leaderboard contest!🎖
#Congratulations to all of you!🎉
Aap bhi ho sakte ho agle winner, abhi #vision11 download karo aur khelo 100+ contests to win big!💯
.
.
.
Download App👇
https://vision11.in/APK/vision11.apk
PAID.
#CONGRATULATIONS🎉🎉
#INVEST AND #EARN
PAYING NOW......
(Via USDT, BYBIT)
INSHA'ALLAH 😍
Please check and reconfirm from your Crypto wallet Balance.
Don't forget to share your feedback as soon you got your profit everyone
#Invest & #Earn
Matbuot va ommaviy axborot vositalari xodimlari kuni muborak boʻlsin!
Hurmatli ommaviy axborot vositalari xodimlari, sizlarni "27-iyun – Matbuot va ommaviy axborot vositalari xodimlari kuni” munosabati bilan tabriklaymiz.
Ushbu quvonchli ayyomda barchangizga sihat-salomatlik, sharafli faoliyatingizda yangi yutuq va omadlar, xonadoningizga tinchlik va fayzu baraka tilaymiz.
Kasb bayramingiz muborak boʻlsin!
Hurmat bilan,
“Yangi Oʻzbekiston” universiteti jamoasi
🔁English
➖➖➖➖➖➖➖➖➖➖➖➖➖➖
#Press#congratulations#Tabrik
⬇️Biz ijtimoiy tarmoqlarda:
Veb-sayt | Telegram | Instagram | Facebook