
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@kilpi/client
Advanced tools
Kilpi client-side API · 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
// Kilpi.ts
export const Kilpi = createKilpi({
getSubject,
policies: {
documents: {
update(user, doc: Document) {
if (!user) return deny("Unauthenticated");
return user.id === doc.ownerId ? grant(user) : deny();
}
}
}
})
Authorize actions with one line
const user = await Kilpi.authorize("documents:update", document);
Protect your data right at the source
const getDocument = Kilpi.query(
async (id: string) => await db.documents.get(id),
{
async protector({ output: doc }) {
if (doc) await Kilpi.authorize("documents:read", doc);
return doc;
}
}
);
await getDocument.protect("1");
And much more.
FAQs
Kilpi client-side API · Kilpi is the authorization framework for full-stack TypeScript applications, designed for flexible, powerful, agnostic, intuitive and developer friendly authorization.
The npm package @kilpi/client receives a total of 24 weekly downloads. As such, @kilpi/client popularity was classified as not popular.
We found that @kilpi/client 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.