Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@rrstudioapps/ngx-command-palette

Latest version: v1.2.1

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: rrstudioapps
3 Stars
0 Forks
20 Versions
3.1K Downloads
TypeScript Repo language

Scan summary

@rrstudioapps/ngx-command-palette was last scanned on 30 Nov 2026 at version 1.2.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 20 versions; the latest 5 were published within 6 days (25–30 Nov 2026).
  • Findings: No rules fired in version 1.2.1.
  • Downloads: 3,053 downloads.

Versions

20 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.2.1 LATEST 30 Nov 2026 No rules fired
1.2.0 30 Nov 2026 No rules fired
1.1.5 30 Nov 2026 No rules fired
1.1.4 26 Nov 2026 Not shown
1.1.3 25 Nov 2026 Not shown

No rules fired in 1.2.1

Findings

Findings for v1.2.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.2.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

ngx-command-palette

An accessible ⌘K / Ctrl+K command palette for Angular, built the Angular way: standalone components, signals, zoneless-ready and no dependencies besides Angular (and tslib, see below).

CI npm license: MIT

Live demo →

Unlike headless kits such as @ngxpert/cmdk / @ngneat/cmdk, it is a complete palette: register commands as plain objects and drop one <rr-command-palette /> in your app; the dialog, the shortcut, fuzzy search, async results and accessibility are built in. Coming from cmdk? See the migration guide.

Using an AI coding assistant? Point it to llms.txt: the whole API and setup in one compact file (also shipped in the npm package).

ngx-command-palette demo: fuzzy search, sub-palettes, theme switch and async customer search

Features

  • Opens with ⌘K / Ctrl+K (configurable, multiple shortcuts allowed), closes with Esc or a click outside
  • Fuzzy search with highlighted matches, case and accent insensitive, smart ranking (word starts, consecutive letters)
  • Commands grouped in sections, with optional icon, description, shortcut hint and extra keywords
  • Each command either navigates to a route or runs a function; optionally built from your router configuration
  • Optional Recent section, stored in localStorage
  • Async providers (e.g. customer search on your API) with debounce, loading state and request cancellation
  • Register commands from any component with signals; they are removed automatically when the component is destroyed
  • Full keyboard navigation: ↑ ↓, Home / End, Enter, Ctrl+N / Ctrl+P
  • Accessible: dialog + combobox/listbox pattern, aria-activedescendant, focus trap, focus restore, live region, prefers-reduced-motion
  • Themeable with CSS variables (--rr-cp-*), light and dark themes, no Tailwind required
  • Custom templates for items and the empty state
  • No browser globals at import time (SSR friendly), works with or without zone.js
Light Dark
Light theme Dark theme

Installation

ng add @rrstudioapps/ngx-command-palette

The schematic installs the package, adds provideCommandPalette() to your application config and <rr-command-palette /> (with CommandPaletteComponent in imports) to the root component. It asks two questions, and the defaults keep the library's own behavior:

Option Default Effect
routes false true writes provideCommandPalette({ routes: true }) (a command per route).
shortcut 'mod+k' Written to the provider only when you choose a different one.
project default The application to set up in a workspace with several (--project <name>).

It is safe to run again: nothing that is already there is added twice. For an NgModule-based app, or a root component it cannot edit safely, it changes nothing and prints the two manual steps below.

Manual installation. Without the schematic:

npm install @rrstudioapps/ngx-command-palette

then follow the Quick start.

Requires Angular 21 or 22 (@angular/core, @angular/common, @angular/router).

Dependencies. The library has no runtime dependency besides Angular, with one exception: tslib, the small helper library that the Angular package format (ng-packagr) requires for every Angular library. Angular itself depends on it, so it is already in your node_modules and adds nothing to your install. No rxjs, no polyfills, nothing else.

Quick start (5 minutes)

ng add does steps 1 and 2 (without the example commands). 1. Configure it (optional: without this call the defaults are used).

// app.config.ts
import { provideCommandPalette } from '@rrstudioapps/ngx-command-palette';

export const appConfig: ApplicationConfig = {
  providers: [provideRouter(routes), provideCommandPalette({ shortcut: 'mod+k' })],
};

2. Place the palette once and register some commands.

// app.ts
import { Component, inject } from '@angular/core';
import { CommandPaletteComponent, injectCommands } from '@rrstudioapps/ngx-command-palette';

@Component({
  selector: 'app-root',
  imports: [CommandPaletteComponent, RouterOutlet],
  template: `
    <router-outlet />
    <rr-command-palette />
  `,
})
export class App {
  private auth = inject(AuthService);

  constructor() {
    injectCommands([
      { id: 'home', label: 'Home', group: 'Navigation', route: '/' },
      {
        id: 'settings',
        label: 'Settings',
        group: 'Navigation',
        route: '/settings',
        keywords: ['preferences'],
      },
      { id: 'logout', label: 'Log out', icon: '🚪', run: () => this.auth.logout() },
    ]);
  }
}

3. Press ⌘K / Ctrl+K. That's it.

4. Add page commands from any component. They exist only while the component is alive. Pass a signal to keep them in sync with your state:

@Component({/* … */})
export class ProjectsPage {
  projects = signal<Project[]>([]);

  constructor() {
    injectCommands(
      computed(() => [
        { id: 'project-new', label: 'New project', group: 'Projects', run: () => this.create() },
        ...this.projects().map((p) => ({
          id: `project-${p.id}`,
          label: `Open ${p.name}`,
          group: 'Projects',
          route: ['/projects', p.id],
        })),
      ]),
    );
  }
}

5. Search your API with an async provider:

injectCommandProvider({
  id: 'customers',
  group: 'Customers',
  minQueryLength: 2,
  search: async (query, signal) => {
    const res = await fetch(`/api/customers?q=${encodeURIComponent(query)}`, { signal });
    const customers: Customer[] = await res.json();
    return customers.map((c) => ({
      id: `customer-${c.id}`,
      label: c.name,
      description: c.email,
      route: ['/customers', c.id],
    }));
  },
});

search can also return an Observable (e.g. from HttpClient): anything with a subscribe method works.

API

provideCommandPalette(options?)

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @rrstudioapps/ngx-command-palette

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229