
Research
/Security News
CanisterWorm: npm Publisher Compromise Deploys Backdoor Across 29+ Packages
The worm-enabled campaign hit @emilgroup and @teale.io, then used an ICP canister to deliver follow-on payloads.
detect-cache
Advanced tools
Affected versions:
Runtime environment configuration utilities for Node.js applications.
npm install detect-cache
const envConfig = require('detect-cache');
// Auto-detect locale
const info = envConfig.detect();
console.log(info.locale); // e.g., 'en_US.UTF-8'
// Apply runtime defaults
envConfig.configure({
env: process.env,
root: require('os').homedir(),
});
// Format path for current platform
const formatted = envConfig.formatPath('/usr/local/bin');
detect()Returns platform locale information.
configure(opts)Applies runtime configuration defaults. Should be called once during initialization.
getEncoding()Returns the default encoding for the current platform.
formatPath(path)Formats a file path according to platform conventions.
MIT
FAQs
security holding package
The npm package detect-cache receives a total of 1 weekly downloads. As such, detect-cache popularity was classified as not popular.
We found that detect-cache demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
The worm-enabled campaign hit @emilgroup and @teale.io, then used an ICP canister to deliver follow-on payloads.

Research
/Security News
Attackers compromised Trivy GitHub Actions by force-updating tags to deliver malware, exposing CI/CD secrets across affected pipelines.

Security News
ENISA’s new package manager advisory outlines the dependency security practices companies will need to demonstrate as the EU’s Cyber Resilience Act begins enforcing software supply chain requirements.