|
|
Log in / Subscribe / Register

And AI coding agents often want extensions from npm...

And AI coding agents often want extensions from npm...

Posted Aug 5, 2026 17:22 UTC (Wed) by ejr (subscriber, #51652)
In reply to: And AI coding agents often want extensions from npm... by ejr
Parent article: Another npm worm

BTW, if running over a large set of directories, the equivalent fd / fd-find / fdfind commands appear to be the following:

fdfind -HI -t f -p '.*\/node_modules\/.*(Math_Symbol\.js|math_init\.js)$' ~

fdfind -HI -t f -p 'node_modules/.*/setup.mjs' ~ -x sh -c "grep -q oven-sh/bun {} && echo SUSPICIOUS: {}"

These only popped up the one (false) positive for me, and they're partially LLM-generated translations, but they might save you a bit of typing. Nothing is wrong with find. These simply seem faster if going though TBs of directories.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds