Популярность имеет свои минусы. Чем популярней язык программирования, тем выше его распространённость, а значит найдутся те кто поспешит воспользоваться этим.
С ростом популярности 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
One bread. 100 children. School fees. Rent. 😭🍌
Omo Episode 3 is pure Nigerian survival at this point 😂
Watch till the end to see why Banana Father finally lost his mind 👀
#100PikinNoMoney
#NigerianHumor
#AIReels
#Instablog9jaVibes
Omo… this Sophia vs Bolaji saga is slowly exposing how far some Lagos “big girls” allegedly go just to maintain the soft life image online 😭🍿
People are now dissecting Sophia’s chats after she admitted she tagged her shopper on items “she didn’t even purchase.” Social media users are alleging that some influencers and soft life babes intentionally tag shoppers on luxury items just to create the illusion that they’re constantly cashing out and buying designer nonstop 👀
The streets are also dragging luxury vendors who allegedly allow clients pose with bags, orange boxes and expensive items for content before returning them later. At this point, many are asking if social media luxury is really what it seems 😩
Lagos packaging no dey ever disappoint sha 💀
What’s your take on this whole “fake it till you make it” soft life culture? 👇🏽
PS: See previous post for context
#Instablog9jaVibes#LagosGist#SoftLife#CelebrityDrama
Sophia Egbueje calls out her luxury shopper Bolaji on Snapchat
Lagos soft life don turn episode series 😭🍿
Imagine your personal shopper knowing ALL your secrets, receipts, debt stories, returned bags, and “packaging” moves… then friendship crashes 💀
At this point, who really keeps Lagos influencer secrets? 👀👇🏽
#Instablog9jaVibes#LagosGist#SoftLife#CelebrityDrama
Frank Edoho thought Nigerians would drag Chike but the internet said “drop EP first” 😭💀
Instead of backlash, bros is getting movie bookings, love declarations and free promo. Men really move differently in this country abeg 🥴🍿
#FrankEdoho#Chike#NigerianTwitter#Instablog9jaVibes
“She cheated on me first.”
“No, HE cheated on me first.” 😭💔
At this point, who do you guys actually believe in this Frank and Sandra drama? Omo this gist is getting messier by the minute ☕️👀
#FrankEdoho#Sandra#CelebrityDrama#Instablog9jaVibes
So village people are actually holding monthly board meetings and Nigerians are STILL stressing them 😭💀
Wait till you hear why Emeka really failed JAMB 😂 Comment the funniest excuse you’ve heard before 👀
#NigerianComedy
#VillagePeople
#FunnyReels
#Instablog9jaVibes
Internet people said Carter Efe should stream with Chike and omo… his reaction did not disappoint 😭😂
At this point, Nigerian social media deserves its own reality show because what is actually going on here? 💀
#CarterEfe#Chike#NigerianTwitter#Instablog9jaVibes
Episode 1: Watermelon thought life was finally getting better 😭🍉
Next thing… pineapple wife announced baby number 73 👶🏽
Watch till the end because this house now sounds like Balogun market 😂
#NigerianHumor
#FamilyChaos
#AIReels
#LagosLife
#Instablog9javibes
Lagos traffic can humble even the strongest person 😭🍉
Watch till the end to see what happened to this watermelon after “15 minutes away” turned into almost 3 hours 👀
What’s the worst traffic you’ve ever experienced in Lagos?
#LagosTraffic
#NigerianHumor
#AIReels
#LagosLife
#Instablog9jaVibes
NEPA really said “no soft life for anybody” 😭⚡
Just when the smoothie was blending perfectly… darkness entered. Watch till the end 🍓
What’s the fastest NEPA has ever taken light after your enjoyment started? 👀
#NigerianHumor#LagosLife#AIReels#RelatableContent#Instablog9jaVibes