Популярность имеет свои минусы. Чем популярней язык программирования, тем выше его распространённость, а значит найдутся те кто поспешит воспользоваться этим.
С ростом популярности 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
🚀 Unleashing the Beast! The Mercedes-AMG GLE, enhanced by Manhart, now boasts a staggering 800 horsepower and a Russian body kit. 💥
🔥 Originally, the V8 "mild-hybrid" engine produced 612 hp and 850 Nm. Manhart's custom supercharger unit and control module upgrade pushed the power output to a whopping 800 hp and 1000 Nm.
🖤 A sleek carbon body kit from the Russian tuning firm, TopCar Design, was added to complete the look.
#MercedesAMG#Manhart#TopCarDesign#TunedCars#Auto🏁
🚗💨Manhart Unleashes 200+ Extra Horses on the Toyota Supra!🏎️✨
The stock 3.0L inline-six engine of the Toyota Supra packs a punch with 340 hp. But the tuning experts at Manhart have taken it to the next level, boosting it to an impressive 550 hp and a whopping 770 Nm of torque! ⚡️🔧
But that’s not all! The stunning coupe also features:
- Eye-catching aerodynamic body kit 🛠️
- Re-tuned suspension for enhanced performance 🏁
- New wheels for that perfect look! 🖤
🛒 Individual parts available:
- Engine upgrade: €11,999
- New exhaust system: €5,050
- Body kit: €13,500
- Wheels: €3,070 per set
- Coilovers: €3,100 per set
#Manhart#ToyotaSupra#Tuning#CarEnthusiast#PerformanceUpgrade#CarLovers#Auto
🚗💨Exciting News for BMW M5 Fans!💨🚗
German tuning house Manhart is set to unleash a beastly 800 horsepower from the latest BMW M5! 🔥 With their proven track record of boosting the XM crossover to an astonishing 900 hp, we can’t wait to see what they have in store for the M5!
But that's not all! The M5 and its Touring variant will also receive:
• A more aggressive body kit 🛠️
• A revamped suspension with lowered ride height 🚧
• Stunning new wheels! 🏎️✨
#BMWM5#Manhart#Tuning#Performance#800HP#CarEnthusiasts#LuxuryCars#Auto
🚗💥 Introducing the Manhart MHXM 900! 💥🚗
Get ready to experience the ultimate BMW XM upgrade! 🌟
🔧Power Boost: From a stock 748 hp and 1000 Nm to an astonishing 900 hp and 1200 Nm! 💪🔥
⚙️Suspension Upgrade: Featuring H&R springs for enhanced handling! 🛠️
🛞Stunning Wheels: Equipped with eye-catching 24-inch Manhart wheels! 😍
🌌Carbon Fiber Body Kit: Lightweight and aggressive styling that enhances performance! 🖤
🖌️Luxurious Interior: Finished in a sleek grey-orange scheme with leather, Alcantara, and carbon accents! ✨
#Manhart#MHXM900#BMW#Performance#Tuning#CarEnthusiast#LuxuryCars#CarbonFiber#Auto
🚗💨Manhart’s BMW M3: A Powerhouse!💥
The tuning experts at Manhart have taken the iconic BMW M3 to a whole new level, surpassing the power of the new BMW M5! 🔥
🔧Engine Upgrade: Boosted by a staggering 345 hp, the total output now stands at an incredible 855 hp and 1090 Nm of torque! 💪⚙️
📈Transmission: Enhanced 8-speed automatic for smooth power delivery!
✨Other Upgrades:
• Signature carbon fiber body kit for that aggressive look 🏎️
• Adjustable dampers for a tailored ride experience 🛠️
• Carbon strut brace for increased rigidity 🔩
This specific MH3 800 Touring has already clocked 12,500 km and is up for grabs at €212,000! 💰
#Manhart#BMWM3#PowerUpgrade#CarEnthusiast#LuxuryCars#Tuning#Performance#MH3800Touring#Auto