nevetClaude Code is accidentally exposing secrets all over GitHub
dreamrealwhich is why you don't put them in github
bluethat's not the point. the point is cc writes into .claude, which people accidently commit
blue.claude is a wholesale bad idea
blueit's not a github issue, it's a claude issue
dreamrealyep
dreamrealagreed
bluedreamreal: idea for repopack; make changes to . files a guarded action. dot files do not often change, I think it's probably worth the extra churn
bluecan still blacklist .env and friends completely
dreamrealCan see it, although package.json is likely to mutate relatively often, for example
bluepackage.json isn't a . file
* theskillwithin joined #primate
* skillbot quit (Remote host closed the connection)
* skillnews quit (Remote host closed the connection)
* skillbot joined #primate
* skillnews joined #primate
bluemaybe .claude dir should be blacklisted too, dreamreal
dreamrealOh, you mean the dot-files, not just "the directory ."
dreamrealhah
dreamrealyes
blueyes. I mean dot files. there are false positives. we should always accept .gitignore, and things like .containerignore. but generally speaking: I would have dot file changes guarded
blueblacklist: .env and .env*, .claude
dreamrealyeah, I was thinking you meant the directory and not the class of files
bluewhitelist: .gitignore, .gitattributes, generally .git*
bluegreylist: anything else that begins with . (guarded action to create or update)
dreamrealI add .env.* as well to my git repos
blueI think that's a sensible policy
blueyes; you added .env.default; which is ok (should be greylisted)
bluebut .env should def be blacklist
blueblacklisted*
dreamrealyes
bluethis is important enough that I think maintaining whitelists and blacklists makes sense. there are is a *finite* amount of dot files
bluethere is*
bluethe rationale is: some of these files are common and safe (.gitignore); some of them are common and unsafe (.env), and some of them are just common; but almost *all* of them change rarely in the lifetime of a rare, so black/white/greylisting them isn't harmful
bluein the lifetimeof a repo*
* theskillwithin left #primate (Textual IRC Client: www.textualapp.com)
* phaleth joined #primate
bluehi phaleth
phalethhi blue
blueWhat's up?
phalethlooking at a blogpost where it says "I love that most single-page applications ship their entire JavaScript bundle even when all they need to render is a login page."
dreamrealIt all starts with allowing local-device access... as soon as your code is on someone else's machine, it's compromised
blue"In terms of what the world was like pre-AI, I cannot argue with you there. I also had a much deeper understanding of the research or engineering I was doing, and post-AI, I feel like a lot of this has been taken away from me too."
bluethis is an interesting, albeit a fully distorted take, in my eyes. Yes, you had an understanding of your code, but you quite possibly had an understanding of a faulty system. You knew the territory, but there were no guarantees that the territory wasn't compromised
blueunderstanding something or claiming to understand doesn't guarantee its wholeness; that's a logical fallacy. I can understand communism, but it's still communism
blueIOW, the message in the quotes is a non-argument. It's saying: "I had *familiarity*". Well, yes. But that isn't a value in itself
phalethyeah, well, don't expose anything to the client you don't have to expose
phaleththat's what I keep saying, cause clankers just make it easier to make sense of complex obscure systems
phalethand what is security through obscurity anymore these days
blueexactly
phalethI hope repopack will get better
blue2h 46m to next codex reset, phaleth
blueyes
bluewe're currently waiting on a few .45 gems like transactions, to make it better
phalethah, clanker is sleeping
blueyup
blue:P
phalethI mean with the exposure of the whole app bundle on auth pages
bluedon't worry about it, this is gonna get fixed soon enough
bluewe will have a minibundle for the auth pages
phalethof couse transactions are important cause then secrets can get rotated