
Security News
Microsoft Releases Open Source Toolkit for AI Agent Runtime Security
Microsoft has released an open source toolkit for enforcing runtime security policies on AI agents as adoption accelerates faster than governance controls.
Simple utility function to get, set and remove cookies
npm install cookier
import cookier from 'cookier';
cookier('cookieOne').set('true');
cookier('cookieTwo').set(JSON.stringify({
keyOne: 'valueOne',
keyTwo: 'valueTwo'
}));
//sets a cookie with an expiry of 86400 seconds, or one day.
cookier('cookieOne').set('true', 1);
const cookieOne = cookier('cookieOne').get();
// this will equal 'true'
const cookieTwo = cookier('cookieTwo').get();
// this will equal '{"key":"value"}'
const cookieTwo = JSON.parse(cookier('cookieTwo').get());
/*
this will equal:
{
keyOne: 'valueOne',
keyTwo: 'valueTwo'
}
*/
cookier('cookieOne').remove();
FAQs
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
Microsoft has released an open source toolkit for enforcing runtime security policies on AI agents as adoption accelerates faster than governance controls.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.