
Research
/Security News
5 Malicious Rust Crates Posed as Time Utilities to Exfiltrate .env Files
Published late February to early March 2026, these crates impersonate timeapi.io and POST .env secrets to a threat actor-controlled lookalike domain.
@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 114,103 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
/Security News
Published late February to early March 2026, these crates impersonate timeapi.io and POST .env secrets to a threat actor-controlled lookalike domain.

Security News
A recent burst of security disclosures in the OpenClaw project is drawing attention to how vulnerability information flows across advisory and CVE systems.

Research
/Security News
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.