HackerTrans
トップ新着トレンドコメント過去質問紹介求人

foray1010

no profile record

投稿

2-day-old GitHub account added AI-generated dependency to Mailgen (2.5k stars)

github.com
3 ポイント·投稿者 foray1010·3 か月前·3 コメント

コメント

foray1010
·3 か月前·議論
JavaScript ecosystems often end up with small, feature-complete dependencies where "if it ain't broke, don't fix it" is a reasonable stance, so staleness alone isn't necessarily a risk.

The link in the PR is incorrect, the referenced package by nicolo-ribaudo doesn't exist. The correct repository is https://github.com/ka-weihe/fastest-levenshtein
foray1010
·3 か月前·議論
Not blaming any maintainer here - I also received a similar PR (https://github.com/foray1010/didyoumean2/pull/1849 same author, 1 hour before mailgen) but did not merge it.

The concern isn’t obvious malicious code in the PR itself, but how cheap it has become to generate a credible replacement library. Once accepted, it becomes part of the trusted supply chain and can be evolved later. Previously this kind of attack required real engineering effort, AI reduces that cost dramatically.