Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
reddit-event-tracker
Advanced tools
Readme
Usage:
// key, secret, clientName, and endpoint can also be configured via the environment
// variables TRACKER_KEY, TRACKER_SECRET, TRACKER_CLIENT_NAME and TRACKER_ENDPOINT.
var tracker = new EventTracker({
key: 'MyApp01',
secret: 'abcdef==',
postData: jQuery.post, // function to use for ajax: `post(url, data)`
calculateHash: createHmac, // A function that takes (key, string) and returns an HMAC
endpoint: 'https://events-test.redditmedia.com/v1', // collector endpoint
clientName: 'desktopWeb', // client name, prepended to event type in payload
appendClientContext: true, // automatically adds user_agent, path, and domain to payload
bufferTimeout: 100, // flush buffer of events after 100ms
bufferLength: 40, // flush buffer events after buffer length is 40
debug: true, // log events instead of sending them.
);
tracker.track('mod_events', 'ban', {
user_name: 'allthefoxes',
user_id: 't2_8aioi',
sr_name: 'noadmins',
sr_id: 't5_2xakt',
details_text: 'reason: being an admin',
target_id: 't2_3bzrh',
target_name: 'ajacksified',
target_type: 'user',
}, defaults);
// send immediately rather than buffering. Without calling `send()`, the event
// will be sent after buffer timeout (100ms) or buffer max length (40) is
// reached. `send` flushes the current buffer of events and resets the timer.
// send optionally takes a callback.
tracker.send(callback);
npm test
FAQs
send events to the /events endpoint easily
The npm package reddit-event-tracker receives a total of 1 weekly downloads. As such, reddit-event-tracker popularity was classified as not popular.
We found that reddit-event-tracker demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.