[
 {
  "dataType": "post",
  "id": "1xz4v1j",
  "url": "https://www.reddit.com/r/Python/comments/1xz4v1j/microsoft_agentframework_on_pypi_was_compromised/",
  "title": "microsoft agent-framework on PyPI was compromised twice in 33 minutes last night",
  "body": "1.26.1 and 1.26.2 both ship a credential stealer. It runs from a `.pth` file, so it executes at interpreter startup. Nothing has to import the package, a `pip install` in CI is enough. 1.26.1 got pulled, then 1.26.2 went up 33 minutes later with the same payload under different f…",
  "bodyHtml": "<!-- SC_OFF --><div class=\"md\"><p>1.26.1 and 1.26.2 both ship a credential stealer. It runs from a <code>.pth</code> file, so it executes at interpreter startup. Nothing has to import the package, a <code>pip install</code> in CI is enough. 1.26.1 got pulled, then 1.26.2 went up…",
  "author": "BattleRemote3157",
  "authorId": "ewn6cu80w",
  "authorFlair": "",
  "subreddit": "Python",
  "subredditId": "2qh0y",
  "flair": "News",
  "score": 448,
  "upvoteRatio": 0.98,
  "numComments": 57,
  "numCrossposts": 0,
  "totalAwards": 0,
  "isVideo": false,
  "isSelf": true,
  "isNsfw": false,
  "isSpoiler": false,
  "isPinned": false,
  "isLocked": false,
  "domain": "self.Python",
  "linkUrl": "https://www.reddit.com/r/Python/comments/1xz4v1j/microsoft_agentframework_on_pypi_was_compromised/",
  "thumbnail": "",
  "imageUrls": [
   "https://external-preview.redd.it/VAcYVxUWGx0ZZmI018e-FOdm-vH_FBseJ_UbhKjYpKY.jpeg?auto=webp&s=3dc2d78fd792d1b5c3e77a28dce844b1c4edad2e"
  ],
  "videoUrls": [],
  "createdAt": "2026-11-18T03:28:24Z",
  "createdUtc": 1794972504,
  "commentsScraped": 0,
  "sourceInput": "https://www.reddit.com/r/Python/top/?t=week",
  "scrapedAt": "2026-11-23T17:36:29Z"
 },
 {
  "dataType": "post",
  "id": "1xzzjn8",
  "url": "https://www.reddit.com/r/Python/comments/1xzzjn8/microsofts_pypi_package_got_compromised_without_a/",
  "title": "Microsoft's PyPI package got compromised without a GitHub code change. How is this even possible?",
  "body": "I was reading about yesterday's Microsoft Agent Framework security incident, and something caught my attention.\n\nApparently, attackers published two malicious versions (1.26.1 and 1.26.2) of Microsoft's official Python package on PyPI. These versions could steal cloud credentials…",
  "bodyHtml": "<!-- SC_OFF --><div class=\"md\"><p>I was reading about yesterday&#39;s Microsoft Agent Framework security incident, and something caught my attention.</p>\n\n<p>Apparently, attackers published two malicious versions (1.26.1 and 1.26.2) of Microsoft&#39;s official Python package on P…",
  "author": "enterthearena44",
  "authorId": "7bc3925k",
  "authorFlair": "",
  "subreddit": "Python",
  "subredditId": "2qh0y",
  "flair": "Discussion",
  "score": 244,
  "upvoteRatio": 0.93,
  "numComments": 54,
  "numCrossposts": 0,
  "totalAwards": 0,
  "isVideo": false,
  "isSelf": true,
  "isNsfw": false,
  "isSpoiler": false,
  "isPinned": false,
  "isLocked": false,
  "domain": "self.Python",
  "linkUrl": "https://www.reddit.com/r/Python/comments/1xzzjn8/microsofts_pypi_package_got_compromised_without_a/",
  "thumbnail": "",
  "imageUrls": [],
  "videoUrls": [],
  "createdAt": "2026-11-19T03:43:29Z",
  "createdUtc": 1795059809,
  "commentsScraped": 0,
  "sourceInput": "https://www.reddit.com/r/Python/top/?t=week",
  "scrapedAt": "2026-11-23T17:36:29Z"
 },
 {
  "dataType": "post",
  "id": "1y0riix",
  "url": "https://www.reddit.com/r/Python/comments/1y0riix/684_pypi_packages_run_code_at_every_python_start/",
  "title": "684 PyPI packages run code at every Python start, and only 13 are ready for PEP 829",
  "body": "Python runs any line that starts with `import` in a `.pth` file in site-packages, every time it starts. You don't have to import the package. This year, the malicious releases of litellm (March and October) and agent-framework (November) all used a `.pth` file, so installing them…",
  "bodyHtml": "<!-- SC_OFF --><div class=\"md\"><p>Python runs any line that starts with <code>import</code> in a <code>.pth</code> file in site-packages, every time it starts. You don&#39;t have to import the package. This year, the malicious releases of litellm (March and October) and agent-fra…",
  "author": "Business-Feedback635",
  "authorId": "1ha07mqu4m",
  "authorFlair": "",
  "subreddit": "Python",
  "subredditId": "2qh0y",
  "flair": "Discussion",
  "score": 197,
  "upvoteRatio": 0.93,
  "numComments": 30,
  "numCrossposts": 0,
  "totalAwards": 0,
  "isVideo": false,
  "isSelf": true,
  "isNsfw": false,
  "isSpoiler": false,
  "isPinned": false,
  "isLocked": false,
  "domain": "self.Python",
  "linkUrl": "https://www.reddit.com/r/Python/comments/1y0riix/684_pypi_packages_run_code_at_every_python_start/",
  "thumbnail": "",
  "imageUrls": [
   "https://external-preview.redd.it/rU95ae69hrR2ImMW-lE4zraKQs7h6yzNLbzyYhLi73M.png?auto=webp&s=61f9191811d22eca11fa9b4784446bce7e07bd85"
  ],
  "videoUrls": [],
  "createdAt": "2026-11-20T02:08:21Z",
  "createdUtc": 1795140501,
  "commentsScraped": 0,
  "sourceInput": "https://www.reddit.com/r/Python/top/?t=week",
  "scrapedAt": "2026-11-23T17:36:29Z"
 },
 {
  "dataType": "post",
  "id": "1y2b7t5",
  "url": "https://www.reddit.com/r/Python/comments/1y2b7t5/sunday_daily_thread_whats_everyone_working_on/",
  "title": "Sunday Daily Thread: What's everyone working on this week?",
  "body": "# Weekly Thread: What's Everyone Working On This Week? 🛠️\n\nHello r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!\n\n# How it Works:\n\n1. **Show & Tell**: Share yo…",
  "bodyHtml": "<!-- SC_OFF --><div class=\"md\"><h1>Weekly Thread: What&#39;s Everyone Working On This Week? 🛠️</h1>\n\n<p>Hello <a href=\"/r/Python\">r/Python</a>! It&#39;s time to share what you&#39;ve been working on! Whether it&#39;s a work-in-progress, a completed masterpiece, or just a rough id…",
  "author": "AutoModerator",
  "authorId": "6l4z3",
  "authorFlair": "",
  "subreddit": "Python",
  "subredditId": "2qh0y",
  "flair": ":pythonLogo: Daily Thread",
  "score": 31,
  "upvoteRatio": 0.92,
  "numComments": 22,
  "numCrossposts": 0,
  "totalAwards": 0,
  "isVideo": false,
  "isSelf": true,
  "isNsfw": false,
  "isSpoiler": false,
  "isPinned": false,
  "isLocked": false,
  "domain": "self.Python",
  "linkUrl": "https://www.reddit.com/r/Python/comments/1y2b7t5/sunday_daily_thread_whats_everyone_working_on/",
  "thumbnail": "",
  "imageUrls": [],
  "videoUrls": [],
  "createdAt": "2026-11-22T00:00:07Z",
  "createdUtc": 1795305607,
  "commentsScraped": 0,
  "sourceInput": "https://www.reddit.com/r/Python/top/?t=week",
  "scrapedAt": "2026-11-23T17:36:29Z"
 },
 {
  "dataType": "post",
  "id": "1y1lfmh",
  "url": "https://www.reddit.com/r/Python/comments/1y1lfmh/pyinstall_onedir_vs_onefile/",
  "title": "pyinstall --onedir vs --onefile",
  "body": "Which one better? Currently I am using --onefile. But facing some tmpfs problem. What do you suggest?\n\nDoes --onefile actually shrinks the app size?",
  "bodyHtml": "<!-- SC_OFF --><div class=\"md\"><p>Which one better? Currently I am using --onefile. But facing some tmpfs problem. What do you suggest?</p>\n\n<p>Does --onefile actually shrinks the app size?</p>\n</div><!-- SC_ON -->",
  "author": "Extreme_Being7689",
  "authorId": "2pk6jci1cm",
  "authorFlair": "",
  "subreddit": "Python",
  "subredditId": "2qh0y",
  "flair": "Discussion",
  "score": 18,
  "upvoteRatio": 0.8,
  "numComments": 17,
  "numCrossposts": 0,
  "totalAwards": 0,
  "isVideo": false,
  "isSelf": true,
  "isNsfw": false,
  "isSpoiler": false,
  "isPinned": false,
  "isLocked": false,
  "domain": "self.Python",
  "linkUrl": "https://www.reddit.com/r/Python/comments/1y1lfmh/pyinstall_onedir_vs_onefile/",
  "thumbnail": "",
  "imageUrls": [],
  "videoUrls": [],
  "createdAt": "2026-11-21T02:11:05Z",
  "createdUtc": 1795227065,
  "commentsScraped": 0,
  "sourceInput": "https://www.reddit.com/r/Python/top/?t=week",
  "scrapedAt": "2026-11-23T17:36:29Z"
 }
]