The `eval` alone should be enough of a red flag
No it’s not.
Glassworm is back: A new wave of invisible Unicode attacks hits repositories
11–20 of 201 posts
Re: Glassworm is back: A new wave of invisible Unicode attacks hits repositories
#12Re: Glassworm is back: A new wave of invisible Unicode attacks hits repositories
#13Why didn't some make av rule to find stuff like this, they are just plain text files
Yeah it would have been nice to end with "and here's a five-line shell script to check if your project is likely affected". But to their credit, they do have an open-source tool [1], I'm just not willing to install a big blob of JavaScript to look for vulns in my other big blobs of JavaScript [1] https://github.com/AikidoSec/safe-chain
grep -P '[\x{200B}\x{200C}\x{200D}\x{FEFF}]' code.ts
See https://stackoverflow.com/q/78129129/223424Re: Glassworm is back: A new wave of invisible Unicode attacks hits repositories
#14I am wondering how that they've LLM, are people using them for making new kind of malicious codes more sophisticated than before?
Re: Glassworm is back: A new wave of invisible Unicode attacks hits repositories
#15IMO while the bar is high to say "it's the responsibility of the repository operator itself to guard against a certain class of attack" - I think this qualifies. The same way GitHub provides Secret Scanning [0], it should alert upon spans of zero-width characters that are not used in a linguistically standard way (don't need an LLM for this, just n-tuples). Sure, third-party services like the OP can provide bots that…
Re: Glassworm is back: A new wave of invisible Unicode attacks hits repositories
#16The `eval` alone should be enough of a red flag
No it’s not.
Re: Glassworm is back: A new wave of invisible Unicode attacks hits repositories
#17The mere fact that a software maintainer would merge code without knowing what it does says more about the terrible state of software.
Re: Glassworm is back: A new wave of invisible Unicode attacks hits repositories
#18Back in time I was on hacking forums where lot of script kiddies used to make malicious code. I am wondering how that they've LLM, are people using them for making new kind of malicious codes more sophisticated than before?
Re: Glassworm is back: A new wave of invisible Unicode attacks hits repositories
#19Innocuous PR (but do note the line about "pedronauck pushed a commit that referenced this pull request last week"): https://github.com/pedronauck/reworm/pull/28
Original commit: https://github.com/pedronauck/reworm/commit/df8c18
Amended commit: https://github.com/pedronauck/reworm/commit/d50cd8
Either way, pretty clear sign that the owner's creds (and possibly an entire machine) are compromised.