
Security News
PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency Patches
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.
@nacre.work/core
Advanced tools
The data model, the permission resolver and the shared types behind Nacre — a self-hosted knowledge index with fine-grained access control.
Most people do not install this. Applications install
@nacre.work/sdk, people run
@nacre.work/cli, and
operators run the container. This package is here because the API, the MCP
server and the worker all depend on it — and because a commercial module has to
resolve the host's copy of it, which needs it on the registry.
The permission resolver and its reference implementation, the schema and its forward-only migrations, the Qdrant filter builder, the BM25 producer both sides of search share, configuration loading, the extension registry, and the types everything else is written against.
Six invariants hold across every consumer, and breaking one is a security incident rather than a bug:
top_k returns k permitted results.404, never
403, including the wording.write does not imply read. admin implies both. This is the opposite
of most permission systems and is not a thing to fix.A commercial module registers into these from its module body while
loadModules is running:
registerAuthProvider(provider)
registerAuthzResolver(resolver)
registerAuditSink(sink)
registerIngestGate(gate)
mountAdminRoutes(...routes)
The registry is module-level state, so it belongs to whichever copy of this package was loaded. A module that resolves a second copy registers into a registry the host never reads — which is why every module declares this as a peer dependency rather than an ordinary one.
0.x, and the packages ship together referencing each other by exact version.
A minor bump can move an interface; the
extension contract
says which parts are load-bearing for a module author.
Apache 2.0. The permission model in full: github.com/nacre-work/nacre.
FAQs
Nacre core: data model, permission resolver, and shared types
The npm package @nacre.work/core receives a total of 0 weekly downloads. As such, @nacre.work/core popularity was classified as not popular.
We found that @nacre.work/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.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.