
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.
@eggjs/tegg-background-task
Advanced tools
@eggjs/tegg-background-tasknpm i --save @eggjs/tegg-background-task
import { BackgroundTaskHelper } from '@eggjs/tegg-background-task';
@ContextProto()
export default class BackgroundService {
@Inject()
private readonly backgroundTaskHelper:BackgroundTaskHelper
async backgroundAdd() {
this.backgroundTaskHelper.run(async () => {
// do the background task
});
}
}
tegg release the request context after request is done. So use the process.nextTick, setTimeout, setInterval in request is not safe.
Please use the backgroundTaskHelper, the release process will wait all the background tasks are done.
The release process will wait tasks done, but not forever. The default timeout is 5s, if task will cost more than 5s, two ways to resolve
SingletonProto to do the work, SingletonProto never releasebackgroundTaskHelper.timeoutFAQs
background util for tegg
The npm package @eggjs/tegg-background-task receives a total of 399 weekly downloads. As such, @eggjs/tegg-background-task popularity was classified as not popular.
We found that @eggjs/tegg-background-task demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 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.