
Security News
Google’s OSV Fix Just Added 500+ New Advisories — All Thanks to One Small Policy Change
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
@yaacl/core
Advanced tools
YAACL is a quiet simple and easy to learn ACL interface for node. With the possibility for custom adapters and an abstract but yet simple API it can be integrated in any service that needs a little more than just roles to manage access.
YAACL is written in TypeScript and therefore it makes heavy use of its advantages. All examples and documentation are also written in TypeScript.
yarn install @yaacl/core @yaacl/memory-adapter
import { Yaacl, Privileges, SecurityIdentity, ObjectIdentity } from '@yaacl/core';
import { MemoryAdapter } from '@yaacl/memory-adapter';
const yaacl = new Yaacl(new MemoryAdapter());
// a security identity could be a user, a role...
const securityIdentity: SecurityIdentity = {
getSecurityId: () => 'user-242',
};
// an object identity could be anything, like a blog post, a page...
const objectIdentity: ObjectIdentity = {
getObjectId: () => 'object-4664';
};
const example = async () => {
await yaacl.grant(securityIdentity, objectIdentity, Privileges.READ);
await yaacl.granted(securityIdentity, objectIdentity, Privileges.READ); // true
await yaacl.granted(securityIdentity, objectIdentity, Privileges.WRITE) // false
}
example();
For a full documentation of YAACL, please visit our Wiki
FAQs
Yet another ACL
The npm package @yaacl/core receives a total of 0 weekly downloads. As such, @yaacl/core popularity was classified as not popular.
We found that @yaacl/core 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
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
Research
/Security News
175 malicious npm packages (26k+ downloads) used unpkg CDN to host redirect scripts for a credential-phishing campaign targeting 135+ organizations worldwide.
Security News
Python 3.14 adds template strings, deferred annotations, and subinterpreters, plus free-threaded mode, an experimental JIT, and Sigstore verification.