
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@glorious/cookie
Advanced tools
Glorious Cookie is available via npm:
npm i @glorious/cookie --save
Once installed, you just need import it in your module:
import gcookie from '@glorious/cookie';
or you may include it on your html:
<script src="/node_modules/@glorious/cookie/dist/gcookie.min.js"></script>
Intending to be as simple as possible, Glorious Cookie has only three methods.
/*
** @key: String [required]
** @value: String [required]
** @days: Number [optional] - If not provided, cookie is removed when the user closes the browser.
** @path: String [optional] - If not provided, cookie is valid for the entire site.
*/
gcookie.set(key, value, days, path);
/*
** @key: String [optional] - If not provided, all cookies will be returned.
*/
gcookie.get(key);
/*
** @key: String [required]
** @path: String [optional] - If you have specified a path on gcookie.set(),
** it will be required here.
*/
gcookie.remove(key, path);
Note: If cookies are not available, a warning will be logged when trying to set or remove a cookie.
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
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.