
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.
@tapjs/chdir
Advanced tools
@tapjs/chdirA default tap plugin for changing the working directory for the context of a single test, and then returning to the original working directory when the test is over.
import t from 'tap'
t.test('using t.chdir() example', t => {
const dir = t.testdir({
'some-file.txt': 'hello',
})
t.chdir(dir)
t.equal(readFileSync('./some-file.txt', 'utf8'), 'hello')
t.equal(process.cwd(), t.testdirName)
// when the test ends, the original working dir is restored
t.end()
})
// without this plugin, you'd have to do it this way:
t.test('without t.chdir() example', t => {
const dir = t.testdir({
'some-file.txt': 'hello',
})
const cwd = process.cwd()
t.teardown(() => process.chdir(cwd))
process.chdir(dir)
// run tests...
t.end()
})
t.chdir(dir: string) Change the process working directory to
the supplied path. When the test ends, the original dir is
restored.FAQs
a built-in tap extension for t.chdir()
The npm package @tapjs/chdir receives a total of 118,270 weekly downloads. As such, @tapjs/chdir popularity was classified as popular.
We found that @tapjs/chdir demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.