Matt Cowley

9.4K posts

Matt Cowley banner
Matt Cowley

Matt Cowley

@MattIPv4

Open-source Software Engineer by night @AlveusSanctuary 🌎 + @nodejs 💚 + @cdnjs 🛠️ | 25 | he/him | Tweets my own 💙

Hiding Backstage near London Katılım Nisan 2012
543 Takip Edilen2K Takipçiler
Sabitlenmiş Tweet
Matt Cowley
Matt Cowley@MattIPv4·
The temptation to leave tech and run away to some charity in the countryside doing good for the world increases evermore each day.
English
4
2
53
0
Matt Cowley
Matt Cowley@MattIPv4·
@ryanmr @HenkPoley Matthew is one of Astro's founders, I believe? But either way, at least it is in an org now where multiple folks have control instead of a single person. And yeh, agree, don't understand why this needs to be installed every time rather than being optional for just that feature.
English
0
0
1
14
Ryan Rampersad
Ryan Rampersad@ryanmr·
@MattIPv4 @HenkPoley I appreciate it's in an good org now. Supply chains slightly more resilient now. Is that Matthew part of Astro's team? Still not sure why wrangler needs to manage skills.
English
1
0
0
20
Matt Cowley
Matt Cowley@MattIPv4·
👀 Cloudflare's wrangler CLI (~20m installs/week) has a new dependency... a ~600kb WASM binary used by no other package on npm: `rosie-skills`. I've been told that it is a legitimate package published by an employee, but it really looks like the start of a supply chain attack...
English
30
21
865
137.1K
Matt Cowley
Matt Cowley@MattIPv4·
@sdrth @Cloudflare Or pin the version they install (which I’ve been told they’re now going to do), or make the dependency entirely optional because does everyone really need a large binary to manage agent skills when they’re using wrangler to deploy stuff?
English
0
0
0
512
Matt Cowley
Matt Cowley@MattIPv4·
@tomaszs2 Not great. We were ignored on Discord the day before when raising concerns. So, filed the issue and tweeted the next day. Was surprised to see them dismiss the concerns in the issue and immediately lock it. Had to reach out on Discord again where they finally realised the risk.
English
1
0
2
165
Matt Cowley
Matt Cowley@MattIPv4·
@leilavclark Good news is that Cloudflare confirmed it is github.com/withastro/rosie, and the binary is legit. Haven’t yet got clarification on why a large binary to manage agent skills is required for every install of wrangler though.
English
0
0
2
412
Matt Cowley
Matt Cowley@MattIPv4·
@martindonadieu @paxaral Who the author is doesn’t really change the risk, any employee with sole access to a package that ships a compiled binary could go rogue if they wanted to ship an update with malicious code hidden in it. Luckily, they’ve now moved the package into the Astro org to prevent that.
English
2
0
1
71
Matt Cowley
Matt Cowley@MattIPv4·
@HenkPoley @ryanmr Yeh, they’ve moved it into the Astro org as a follow up to this, so it is no longer controlled by a single employee.
English
1
0
2
28
Matt Cowley
Matt Cowley@MattIPv4·
@aethernet_port @BenjaminEHowe > they unlocked it when I replied The issue has been locked since I posted it, and they initially replied. They haven't unlocked it (hence I had to contact them via Discord for further discussion).
English
1
1
2
124
æthernet port
æthernet port@aethernet_port·
@BenjaminEHowe @MattIPv4 I think there were more clarifying responses + they unlocked it when I replied vs when you did :-) I understand your reaction
English
1
0
2
111
Matt Cowley
Matt Cowley@MattIPv4·
@alkimiadev @ryanmr Agree with your thinking on this. I have asked if this dependency actually needs to be a required dependency -- I can't see why everyone using wrangler to deploy their stuff needs to manage agent skills -- or whether this can be an optional dependency for just that feature.
English
0
0
4
659
alkimiadev
alkimiadev@alkimiadev·
@MattIPv4 @ryanmr I'm kind of a hard core minimalist when it comes to code. Throwing more code at a problem usually just makes things worse on several levels. Each line of code should explicitly justify its existence and if it can't then it should be removed since it is clearly unnecessary.
English
1
0
2
770
Matt Cowley
Matt Cowley@MattIPv4·
@aethernet_port @BenjaminEHowe I wouldn't say they were unfriendly, but they were rather dismissive and immediately locked the issue. I had to then reach out to them via Discord to explain the issue further before they understood and acknowledged how this could become a supply chain attack.
English
2
1
6
358
Matt Cowley
Matt Cowley@MattIPv4·
@dok2001 @loadingalias @danielhayesmith Thank you! Hopefully it can be made an optional dependency as well, I can’t imagine most folks using wrangler to deploy things need a tool for managing agent skills.
English
1
1
13
1.3K
Matt Cowley
Matt Cowley@MattIPv4·
@bygregorr That’s all the justification they’ve given so far, and linked to the source repo in the GitHub repo.
English
1
0
18
7.6K
Gregor
Gregor@bygregorr·
@MattIPv4 wait, has anyone actually decompiled the 600kb binary yet, or is 'employee published it' where the audit stopped
English
1
0
27
8.3K
Matt Cowley
Matt Cowley@MattIPv4·
@loadingalias @danielhayesmith @dok2001 The update I got on Discord is that they’re planning to pin it, but I haven’t heard concrete plans beyond that yet, though from the GitHub issue it sounds like they’re exploring reducing the size by replacing the WASM binary with a JS implementation, so we’ll see.
English
0
0
4
695
Matt Cowley
Matt Cowley@MattIPv4·
@danielhayesmith @dok2001 Cloudflare have confirmed in the GitHub issue that it is a legitimate dependency. However, not sure they’ve fully understood the risk is still there as this employee could later use this as a backdrop by publishing a new version, say if they were to be laid off…
English
1
1
31
8.9K
Matt Cowley
Matt Cowley@MattIPv4·
@ryanmr Yeh, it is indeed a WASM version of that embedded into wrangler. Even knowing the author, still seems like such a risk to rely on a large binary shipped by a single employee. If they get laid-off and aren’t happy, they have a direct backdoor into every wrangler install…
English
2
2
45
8.9K
Matt Cowley
Matt Cowley@MattIPv4·
@paxaral Or at the very least, pin the version so a disgruntled laid-off employee can't suddenly ship a malicious version of the binary. I followed up with the team via Discord as they locked the GitHub issue 🙄, and it sounds like they've realised this risk now and are going to pin it.
English
1
1
10
608
Paxaral
Paxaral@paxaral·
@MattIPv4 Yeah even if it is real, I don’t want my wrangler CLI depending on random employee packages anyways. Fold it in and duplicate the code, to minimize any supply chain exposure
English
2
0
127
13.5K
AWS Developers
AWS Developers@awsdevelopers·
what do these two colors remind you of?
AWS Developers tweet mediaAWS Developers tweet media
English
12
0
35
5.9K