
Research
6 Malicious Packagist Themes Ship Trojanized jQuery and FUNNULL Redirect Payloads
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.
Increment string or generate sequential string ids
Install:
npm install incstr
Default alphabet is '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', it can be changed by changingincstr.alphabet.
Pass a string to increment using default alphabet:
let i = incstr() //"0"
i = incstr(i) //"1"
//...
i = incstr(i) //"Z"
i = incstr(i) //"00", note not "10"
i = incstr(i) //"01"
Pass a string and alphabet to use:
incstr("a", "ab") //"b"
incstr("b", "ab") //"aa"
incstr("ccc", "abc") //"aaaa"
incstr("cc", "ab") //throws ('c' is not in alphabet 'ab')
Generate ids:
let nextId = incstr.idGenerator({alphabet:'abc'})
nextId() //'a'
nextId() //'b'
nextId() //'c'
nextId() //'aa'
let nextId = incstr.idGenerator({alphabet:'ab', prefix:'id_', suffix:''})
nextId() //'id_a'
nextId() //'id_b'
nextId() //'id_aa'
let nextId = incstr.idGenerator({lastId:'cc', alphabet:'abc'})
nextId() //'aaa'
FAQs
Increment string or generate sequential string ids
The npm package incstr receives a total of 16,818 weekly downloads. As such, incstr popularity was classified as popular.
We found that incstr demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.

Security News
The GCVE initiative operated by CIRCL has officially opened its publishing ecosystem, letting organizations issue and share vulnerability identifiers without routing through a central authority.

Security News
The project is retiring its odd/even release model in favor of a simpler annual cadence where every major version becomes LTS.