Pooya Parsa 🦋

6.8K posts

Pooya Parsa 🦋 banner
Pooya Parsa 🦋

Pooya Parsa 🦋

@_pi0_

🌱 Creator of @unjsio, @nitrojsdev, https://t.co/dSTUaDaX1f • OSS ▲ @vercel

Haarlem, The Netherlands Katılım Temmuz 2013
2.2K Takip Edilen13.5K Takipçiler
Pooya Parsa 🦋
As part of locking things down, I’ve made a 3rd GitHub account: pi0x. It’s me.
Pooya Parsa 🦋 tweet media
English
11
0
97
47.5K
Björn Jonsson
Björn Jonsson@BjornJonsson·
@_pi0_ Doesn't this break github t&c? Are you allowed to have multiple accounts?
English
1
0
0
112
Max
Max@designmaxxing·
@_pi0_ Then I’m going to snitch on my friend who has drugs at his place and it’s going to be on you. I’m gonna give him your Twitter @
English
1
0
0
63
Max
Max@designmaxxing·
@_pi0_ I’m going to snitch
English
1
0
2
626
Alexander Lichter
Alexander Lichter@TheAlexLichter·
@_pi0_ But do you run it on a different device? If you device is pwnd it shouldn't matter right?
English
1
0
1
258
Pooya Parsa 🦋
@YouPulseX @shadcn All 3 are in place, actually. But considering GitHub tokens can be exposed with the current security situation, it is a matter of “when”. The blast radius would be way smaller. Protected branch rules and env approvals cannot be skipped with the secondary account.
English
1
0
2
1.6K
Paul Sant · Telecodex
@_pi0_ @shadcn What actually stops the second account from touching the main workspace: token scope, filesystem permissions, or app logic?
English
1
0
1
1.5K
Pooya Parsa 🦋
@shadcn Second account has limited access in an isolated workspace for daily tasks (built it with shadcn ui and nitro btw 🥹❤️)
English
1
0
28
5.7K
shadcn
shadcn@shadcn·
@_pi0_ How does this work?
English
2
0
37
37.5K
Pooya Parsa 🦋
@igalklebanov Mainly limiting access whenever possible. I cannot even trust any of my devices anymore. Github 0 factor approvals are completely nonsense.
English
0
0
6
844
Igal Klebanov
Igal Klebanov@igalklebanov·
@_pi0_ im guessing this is for gh environments approvals? 🤔
English
1
0
2
929
Pooya Parsa 🦋
@WebReflection Last time checked it was a pretty minimal runtime not even enough to run most minimal server. Recently they introduced opt-in quickjs runtime might worth to try with that!
English
1
0
1
486
Pooya Parsa 🦋
Pooya Parsa 🦋@_pi0_·
🚧 I am a little bit slower than usual at triaging issues and PRs in unjs, h3, and Nitro. Making my maintenance workflows more automated and secure. Please privately ping me if anything is real blocker.
English
3
2
59
3.4K
Pooya Parsa 🦋
Pooya Parsa 🦋@_pi0_·
- You made a wise tech choice. - Someone switched. - Your choice is still wise.
English
0
1
21
1.6K
Neciu Dan
Neciu Dan@neciudan·
🧨 Still throwing errors the old way? JS has 3 modern primitives: 1. Custom Error classes with structured fields like statusCode 2. Error.cause to wrap errors and keep the chain 3. AggregateError when many things fail at once Snippet below 👇
Neciu Dan tweet media
English
4
7
81
6.6K
Pooya Parsa 🦋
Pooya Parsa 🦋@_pi0_·
@zkochan @pnpmjs For sure! My guess is, 99.99% of us are lazy to cherry pick cache dirs, caching the whole thing is usually easier!
English
0
0
0
75
Zoltan Kochan
Zoltan Kochan@zkochan·
@_pi0_ @pnpmjs that can be cached individually though. No need to cache the whole node_modules directory.
English
1
0
3
137
pnpm
pnpm@pnpmjs·
Is there anything else we can/should do on the client side to mitigate supply chain attacks?
English
93
31
881
195K
Pooya Parsa 🦋
Pooya Parsa 🦋@_pi0_·
@zkochan @pnpmjs > I don't understand why people like to cache node_modules. Just a guess some caches like node_modules/.vite ?
English
1
0
0
122
Zoltan Kochan
Zoltan Kochan@zkochan·
@pnpmjs If I understand correctly from the postmortem, the malware was shipped via a cached node_modules that was installed by pnpm. I am not sure how we could have prevented this but overall I don't understand why people like to cache node_modules.
English
3
0
7
738