
Security News
AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.
bloody-events
Advanced tools
$ npm install bloody-events
var events = require("bloody-events")
.create() -> eventsCreates an event object
.extend(object) -> events subclassCreates an event-object subclass
.on(type, listener[, once])Listens to the type event with listener as callback.
once defines whether or not the listener should remove itself afterwards.
listenerA listener can either be a function or an object containing a handleEvent interface.
events.on("user:log", function(username){
model.set({
username : username
})
})
// or
var model = model
.extend({
getDefaults : function(){
return {
username : ""
}
},
handleEvent : function(username){
this.set({
username : username
})
}
})
.create()
events.on("user:log", model)
// or
var model = model
.extend({
getDefaults : function(){
return {
username : "",
isThere : true
}
},
handleEvent : {
"user:log" : function(username){
this.set({
username : username
})
},
"user:leave" : function(){
this.set({
isThere : false
})
}
}
})
.create()
events.on("user:log", model)
chainable, returns this
.once(type, listener)Shortcut for .listen(type, listener, true)
chainable, returns this
.off([type [,listener]])If type and listener are passed, removes the given listener.
If only type is passed, removes all this type's listeners.
Otherwise, removes all the events listeners.
chainable, returns this
.emit(type[, args …])Triggers synchronously the type events, and passes args… as arguments for the listeners.
returns true if any callback has been executed
returns false otherwise
events.constructor.call(this) in your constructorevents.destructor.call(this) in your destructorFAQs
events in node and the browser
We found that bloody-events demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.