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

@pika-lab/hooks

Latest version: v0.0.7

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: sepush
5 Versions
570 Downloads

Scan summary

@pika-lab/hooks was last scanned on 28 Nov 2026 at version 0.0.7. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 5 versions, all published within 6 days (23–28 Nov 2026).
  • Findings: No rules fired in version 0.0.7.
  • Downloads: 570 downloads.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.0.7 LATEST 28 Nov 2026 No rules fired
0.0.6 27 Nov 2026 No rules fired
0.0.5 27 Nov 2026 No rules fired
0.0.4 26 Nov 2026 Not shown
0.0.3 23 Nov 2026 Not shown

No rules fired in 0.0.7

Findings

Findings for v0.0.7. 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 0.0.7; other versions have their own rules, not their own score.

README

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

@pika-lab/hooks

Standalone, SSR-safe React 19 hooks shared across Pika (@pika-lab/react) and downstream React apps. Zero runtime dependencies, tree-shakeable ESM with TypeScript declarations.

Install

pnpm add @pika-lab/hooks react

Requires react ^19.0.0.

Usage

import { useClipboard, useHotkey, useMediaQuery, useMergedState } from "@pika-lab/hooks";

export function SearchBar({ open: openProp }: { open?: boolean }) {
  const [open, setOpen] = useMergedState(openProp, false);
  const isCompact = useMediaQuery("(max-width: 768px)");
  const { copied, copy } = useClipboard({ copiedDuration: 2000 });

  useHotkey(() => setOpen(true), "mod+k");

  return (
    <button type="button" onClick={() => void copy(window.location.href)}>
      {copied ? "Copied" : isCompact ? "Copy" : "Copy link"} ({open ? "open" : "closed"})
    </button>
  );
}

API

  • State & render lifecycle: useMergedState, usePrevious, useLatestRef, useEventCallback, useMemoWithPrevious, useLayoutEffectWithPrevious, useIsomorphicLayoutEffect, useHydrated
  • Refs: useMergedRef ([setRef, getRef], commit-phase swap), useMergedRefs (variadic ref-commit callback with React 19 cleanup)
  • Timers & CSS animation presence: useDelayedFlag, useTransientFlag, useReplay, useLeave, usePresence
  • Media, platform, breakpoints & time: useMediaQuery, usePhoneViewport, PHONE_MEDIA_QUERY, usePrefersReducedMotion, useOsTheme, useIsIos, useIsSafari, useBreakpoint, useBreakpoints, DEFAULT_BREAKPOINTS, useNow
  • DOM, clipboard, pointer, wheel, keyboard & observers: useClipboard, writeClipboard, useClickOutside, useClickPosition, useClickTracker, useClicked, getRecentClickPosition, useNonPassiveWheel, useCloseWatcher, useHotkey, matchesHotkey, formatHotkey, useFitScale, useResizeObserver, useTruncated, isTruncated, useHorizontalOverflow, useScrollToEnd

License

MIT

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 @pika-lab/hooks

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

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229