
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.
Email verification for login
npm install email-auth --save
const emailAuth = require('email-auth');
// this should be a database really
let nextID = 0;
const tokens = {};
const client = createClient({
saveToken({email, token, expiry}) {
// save the token and return the id of the saved token, this can return a Promise
const id = nextID++;
tokens[id] = {email, token, expiry};
return id;
},
getTokenByID(id) {
// get the token at that id, can return a Promise
return tokens[id];
},
sendEmail({toAddress, url}) {
// send the message using to the to email asking the user to click on the url
},
});
// to send verification e-mail
client.sendMessage('forbes@lindesay.co.uk', 'https://example.com').done();
// to verify/complete a login
app.get('/', (req, res, next) => {
if (req.query.token_id && req.query.token) {
client.verifyToken(req.query.token_id, req.query.token).done(email => {
// log the user in
}, next);
}
// show the user a login page
})
MIT
FAQs
Email verification for login
The npm package email-auth receives a total of 5 weekly downloads. As such, email-auth popularity was classified as not popular.
We found that email-auth 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.