Deprecate confusing APIs like “os.path.commonprefix()”. After fixing a vulnerability in #pip, I started digging into the confusing API and found more than I expected. 👉 https://lnkd.in/g5phKjam #python #oss #opensource #security
Deprecate os.path.commonprefix() API Vulnerability
More Relevant Posts
-
Graylog, Inc. + MCP + Gemini python = pretty cool integration. (My home lab) I was able to create python script to present syslog data, but also report on it via Gemini prompt providing more (technical details) then some raw syslog form. You can build a python web integration or send the data back into Graylog for some cool dashboard uses! #security #vibecoding #python #syslog #networking
To view or add a comment, sign in
-
I built a command-line password manager in Python from scratch. It generates a unique encryption key, stores it locally, and uses Fernet symmetric encryption to lock every password before saving it to a file. When you want to view your passwords, it decrypts them on the fly using the same key. No plain text stored anywhere, just encrypted data that's completely unreadable without the key. What made this interesting for me although technical wasn't just the code , it was understanding the full data flow. How a string becomes bytes, gets encrypted, gets saved, then reverses the entire journey on the way back out. #python #AiProductEngineering
To view or add a comment, sign in
-
Day 6/50 – Send Multiple Emails using Python 📧 Today I built a Python script that can send emails to multiple recipients using the SMTP protocol. Key concepts: SMTP server connection Secure login with TLS Sending automated messages Automation like this can be useful for notifications, alerts, and newsletters. #Python #Automation #SMTP #50DaysOfCode #PythonProjects
To view or add a comment, sign in
-
-
Every Python developer has faced this at least once. You clone a repository. Follow the README step by step. And then… ModuleNotFoundError After dealing with this problem one too many times, I built SafeENV - a simple CLI tool that fixes Python environments automatically. What it does: • Creates virtual environments • Detects dependencies from your code • Installs missing packages • Repairs broken setups All with a few simple commands like: safeenv setup safeenv doctor safeenv fix The goal is simple: Spend less time fixing environments and more time writing code. 🔗 GitHub: https://lnkd.in/g6SwBYBR 🌐 Website: https://lnkd.in/gGZ-VxdH 📦 PyPI: https://lnkd.in/gq5Y5E6z Would love feedback . #Python #OpenSource #DeveloperTools #CLI
To view or add a comment, sign in
-
-
Spent some time digging into pydicom and ended up finding something interesting. What initially looked like a typical path validation issue turned out to be a TOCTOU case that allows arbitrary file deletion in version 3.0.1. By abusing junctions, it’s possible to bypass the original trust boundary and make the library operate on files outside the intended root. The issue is already fixed in 3.0.2, but the impact is a bit deeper than it might seem at first glance. Wrote a short technical write-up with a working PoC explaining the behavior and the root cause. Always fascinating how small assumptions about the filesystem can turn into real security issues. #vulnerability #nodejs #hackerone #bugcrowd #crodstrike #fikresekhel #owasp #python #VulnerabilityApplication
To view or add a comment, sign in
-
𝗕𝗮𝘀𝗶𝗰 𝗣𝘆𝗍𝗵𝗼𝗻 𝗦𝗰𝗿𝗶𝗽𝘁𝘀 You want to automate tasks with Python. Here are 5 scripts to start with: - Automate file management - Send emails automatically - Create backups - Automate social media posts - Monitor system performance These scripts help you learn Python and automation. Source: https://lnkd.in/gcSuZG54
To view or add a comment, sign in
-
Tackling Python string immutability! 🐍 I just finished the 'Mutations' challenge on HackerRank. This is a great exercise for understanding how Python handles data types in memory. How it works: In Python, strings are immutable, meaning you cannot change a character at a specific index directly. To solve this, I converted the string into a list, updated the character at the desired position, and then used .join() to merge it back into a single string. This concept of "convert-modify-rejoin" is a standard practice for efficient string manipulation in both Data Science and DevOps automation scripts. Check out the code in my Gravitycodes repo: 🔗 https://lnkd.in/gdb_-RSD #Python #Coding #Gravitycodes #HackerRank #ProblemSolving #SoftwareEngineering
To view or add a comment, sign in
-
-
With Python FFI, Lumina can now connect directly to real-world systems. External data can go through your logic, and your logic can trigger real actions outside the runtime. This changes what Lumina can be used for. You can pull live data from APIs, monitor infrastructure, interact with services, and still model everything using relationships instead of step-by-step instructions. The logic stays clean. The system becomes real. Instead of wiring events, handling callbacks, and managing state manually, you describe what is true and let Lumina react as the system evolves. Python becomes the bridge.
To view or add a comment, sign in
-
-
Hello, LinkedIn! This is a test post from my Python application using the LinkedIn API v2. Posted at 2026-03-25 18:53:12 #1774446792 #LinkedInAPI
To view or add a comment, sign in
-
LiteLLLM [compromised] - Python library and proxy server that makes applications Llm-agnostic - Was a catchy phrase that I thought was going to help with model switching efficiently instead of custom code... until... it was found out that, it contains litellm_init.pth with base64 encoded instructions to send all the credentials it can find to remote server + self-replicate!! Another reason why you don't want to just blindly follow the "Agent" hype with a a flashy site, PiP install and use it in prod. . https://lnkd.in/g5NDyj8C
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development