TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Investigating a backdoored PyPI package targeting FastAPI applications

141 pointsby ecaresover 2 years ago

7 comments

nisegamiover 2 years ago
Some thoughts:<p>1. The blast radius appears to be very minimal, the affected github package has 0 stars, 2 contributers, 1 watcher and 4 issues total.<p>2. The issue was caught and resolved quickly (within a day?).<p>3. I haven&#x27;t seen any explanation by the developer on whether there account was compromised?
评论 #33730519 未加载
IAmGraydonover 2 years ago
The author worked in Belarus for Wargaming.net until just before making this commit. Wargaming recently withdrew their operations from Belarus and Russia for obvious reasons, and the author appears to have lost his job with them as a result. Combined with the way he nonchalantly reversed the commit and I’m thinking the theory on r&#x2F;netsec may not be so far fetched.
评论 #33731780 未加载
oefrhaover 2 years ago
According to <a href="https:&#x2F;&#x2F;pypistats.org&#x2F;packages&#x2F;fastapi-toolkit" rel="nofollow">https:&#x2F;&#x2F;pypistats.org&#x2F;packages&#x2F;fastapi-toolkit</a>, this package had 158 downloads in total in the past month. This would include automated tools (e.g. this GuardDog mentioned in TFA) grabbing every single package version published.<p>But of course they have to hype it up with &quot;50k stars&quot;, &quot;used by Microsoft, Uber, and Netflix&quot; blah blah, otherwise it&#x27;s a complete non-story.
评论 #33730884 未加载
d1lover 2 years ago
More FUD from attention seeking, for-profit organizations. Even a tiny bit of digging shows this is virtually a non-issue. Look at the gh repo, the pypi stats
denton-scratchover 2 years ago
&gt; a package whose maintainer&#x27;s account was likely compromised by a malicious actor<p>They don&#x27;t say why they think it was an account compromise, rather than a malicious maintainer.
评论 #33730866 未加载
kjokover 2 years ago
Again some esoteric package that likely nobody uses. If you’re worried about such attacks, private registry mirrors can go a long way.
dlorover 2 years ago
The issue from the researchers appears to be here: <a href="https:&#x2F;&#x2F;github.com&#x2F;timaakulich&#x2F;fastapi_toolkit&#x2F;issues&#x2F;4" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;timaakulich&#x2F;fastapi_toolkit&#x2F;issues&#x2F;4</a><p>This is definitely pretty strange. Account takeovers happen, but just reverting the commit and closing the issue after one gets discovered is not the best way to handle these.<p>This is the reality of our modern software development process though. Your threat model now must include the GitHub account of every maintainer of every open source project you use.
评论 #33732303 未加载
评论 #33730717 未加载
评论 #33731751 未加载
评论 #33732070 未加载
评论 #33733040 未加载