
Security News
crates.io Ships Security Tab and Tightens Publishing Controls
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.
@kilpi/core
Advanced tools
Kilpi Core · Kilpi is the authorization framework for full-stack TypeScript applications, designed for flexible, powerful, agnostic, intuitive and developer friendly authorization.
Kilpi is the open-source TypeScript authorization library designed for developers who need flexible, powerful, and intuitive authorization.
Designed and created by Jussi Nevavuori with ❤️ in Brisbane & Helsinki
...or any other framework - Kilpi is easy to integrate into any TypeScript application.
Define policies declaratively and authorize actions with one line
// Kilpi.ts
export const Kilpi = createKilpi({
// (1) Connect your authentication provider with subject adapter
async getSubject() {
return myAuthProvider.getCurrentUser();
},
// (2) Define all policies
policies: {
documents: {
update(user, doc: Document) {
if (!user) return deny({ message: "Unauthenticated" });
return user.id === doc.ownerId ? grant(user) : deny();
},
},
},
});
// (3) Protect with one-liners
// Option 1: Succeed or throw
const user = await Kilpi.authorize("documents:update", document);
// Option 2: Authorization as boolean
const isAuthorized = await Kilpi.isAuthorized("posts:comment", post);
// Option 3: Full authorization decision object with all metadata
const decision = await Kilpi.getAuthorizationDecision("comments:delete", comment);
Continue learning about
And much more.
FAQs
Kilpi Core · Kilpi is the authorization framework for full-stack TypeScript applications, designed for flexible, powerful, agnostic, intuitive and developer friendly authorization.
The npm package @kilpi/core receives a total of 22 weekly downloads. As such, @kilpi/core popularity was classified as not popular.
We found that @kilpi/core demonstrated a healthy version release cadence and project activity because the last version was released less than 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
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.

Research
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.

Security News
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.