
Security News
npm Tooling Bug Incorrectly Marks One-Character Packages as Security Holders
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.
@lego-box/shell
Advanced tools
Piral microfrontend shell for Lego Box - provides authentication, PocketBase integration, RBAC, and shared UI components
Piral microfrontend shell providing authentication, PocketBase integration, RBAC, and shared UI components for the Lego Box ecosystem.
npm install @lego-box/shell
# or
pnpm add @lego-box/shell
pilet new @lego-box/shell --target my-pilet
cd my-pilet
pnpm install
pnpm start
import type { PiletApi } from '@lego-box/shell/pilet';
export function setup(app: PiletApi) {
// Access authentication
const user = app.auth.getUser();
// Access PocketBase
const records = await app.pocketbase.collection('items').getList();
// Register protected pages
app.registerProtectedPage('/my-route', MyPage, {
action: 'read',
subject: 'items'
});
// Register sidebar menu
app.registerSidebarMenu({
id: 'my-menu',
label: 'My Feature',
href: '/my-route',
action: 'read',
subject: 'items'
});
}
The shell provides these dependencies to all pilets:
@lego-box/ui-kit - Reusable UI componentspocketbase - Backend SDKpiral-auth - Authentication pluginreact & react-dom - UI frameworkSee full documentation for complete API reference.
MIT
FAQs
Piral microfrontend shell for Lego Box - provides authentication, PocketBase integration, RBAC, and shared UI components
The npm package @lego-box/shell receives a total of 35 weekly downloads. As such, @lego-box/shell popularity was classified as not popular.
We found that @lego-box/shell 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
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.