
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
@hexlet/analytics-plugin-dittofeed
Advanced tools
Analytics plugin for analytics, powered by @dittofeed/sdk-web.
Supports identify, track, and page methods.
npm i @hexlet/analytics-plugin-dittofeed
import Analytics from 'analytics';
import dittofeed from '@hexlet/analytics-plugin-dittofeed';
const analytics = Analytics({
app: 'test-app',
plugins: [
dittofeed({
sdkInit: {
writeKey: 'Basic abcdefg...', // Public write key from Dittofeed dashboard
// apiHost: 'https://app.dittofeed.com' // Can be overridden for self-host
},
enable: process.env.NODE_ENV === 'production', // Enable only in production
}),
],
});
// page
analytics.page(); // page event (defaults with document.title)
// identify
analytics.identify('user_123', {
email: 'user@example.com',
firstName: 'John',
});
// track
analytics.track('Made Purchase', {
itemId: 'abc123',
price: 49.9,
});
Releases are managed through release-it (see make release). The flow now publishes the package to both npm and GitHub Packages:
npm run build).export NPM_TOKEN=xxxx # Token for registry.npmjs.org
export NODE_AUTH_TOKEN=yyyy # PAT for npm.pkg.github.com
Optionally wire them in .npmrc:
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
make release (or npx release-it). This will build, publish to npm, then automatically run npm run publish:github which publishes the same tarball to https://npm.pkg.github.com.FAQs
Dittofeed plugin for DavidWells Analytics
The npm package @hexlet/analytics-plugin-dittofeed receives a total of 5 weekly downloads. As such, @hexlet/analytics-plugin-dittofeed popularity was classified as not popular.
We found that @hexlet/analytics-plugin-dittofeed demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.