
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
@agoric/zone
Advanced tools
Allocation zone abstraction for objects on the heap, persistent stores, etc.
Each Zone provides an API that allows the allocation of Exo objects and Stores (object collections) which use the same underlying persistence mechanism. This allows library code to be agnostic to whether its objects are backed purely by the JS heap (ephemeral), pageable out to disk (virtual) or can be revived after a vat upgrade (durable).
See SwingSet vat upgrade documentation for more example use of the zone API.
An example of making a Zone-aware vat might look something like this:
import { makeDurableZone } from '@agoric/zone/durable.js';
import { prepareFrobulator } from 'frob-package';
import { prepareWidget } from 'widget-package';
export const buildRootObject = (vatPowers, _args, baggage) => {
const zone = makeDurableZone(baggage);
// Ensure that Widgets cannot interfere with Frobs.
const makeWidget = prepareWidget(zone.subZone('Widgets'));
// Create a collection of frobulators.
const frobZone = zone.subZone('Frobs');
const makeFrobulator = prepareFrobulator(frobZone);
const widgetToFrob = frobZone.mapStore('widgetToFrob');
return Far('WidgetFrobulator', {
makeWidget,
registerWidget(w) {
const frobulator = makeFrobulator();
widgetToFrob.init(w, frobulator);
},
frobWidget(w) {
const frobulator = widgetToFrob.get(w);
return frobulator.frob(w);
},
});
}
FAQs
Allocation zone abstraction for objects on the heap, persistent stores, etc.
The npm package @agoric/zone receives a total of 8,206 weekly downloads. As such, @agoric/zone popularity was classified as popular.
We found that @agoric/zone demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 open source maintainers 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
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.