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

@cleartrip/ct-design-loyalty-pill

Latest version: v1.11.0-SNAPSHOT-test-dark-mode.0

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
npm package Publisher: aakrishtmalik, amansaxena1, ashokmpatel, ashwin-ui-ct, ashwin.ct, ct_devops, hello_world_arya, mohitjaincleartrip, nareshkapse_ct, prateek.oraon, rahulct_com, ritesh.kumarjena, saranshdawra, shashi-kumar, sidhantrajan, supragya.chauhan
182 Versions
11.8K Downloads

Scan summary

@cleartrip/ct-design-loyalty-pill was last scanned on 1 Dec 2026 at version 1.11.0-SNAPSHOT-test-dark-mode.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 182 versions; the latest 4 were published within 7 days (25 Nov – 1 Dec 2026).
  • Findings: No rules fired in version 1.11.0-SNAPSHOT-test-dark-mode.0.
  • Downloads: 11,774 downloads.

Versions

182 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.11.0-SNAPSHOT-test-dark-mode.0 LATEST 1 Dec 2026 No rules fired
1.0.12-SNAPSHOT-nudge.0 1 Dec 2026 No rules fired
1.11.0-SNAPSHOT-cpu-utilisation-1.0 26 Nov 2026 No rules fired
1.0.12-SNAPSHOT-hdp-revamp-25.0 25 Nov 2026 Not shown
1.0.12-SNAPSHOT-hdp-revamp-24.0 24 Nov 2026 Not shown

No rules fired in 1.11.0-SNAPSHOT-test-dark-mode.0

Findings

Findings for v1.11.0-SNAPSHOT-test-dark-mode.0. 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.11.0-SNAPSHOT-test-dark-mode.0; other versions have their own rules, not their own score.

README

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

EliteLoyaltyPill

Pill component for Elite and partner loyalty programs (e.g. Flipkart Black). Supports web and React Native.


Installation

npm install @cleartrip/ct-design-loyalty-pill
# or
pnpm add @cleartrip/ct-design-loyalty-pill
Peer dependencies
# Required for all targets
npm install react
npm install styled-components

# Web only
npm install react-dom

# React Native only
npm install react-native
npm install react-native-linear-gradient

Usage

Basic
import { EliteLoyaltyPill, EliteLoyaltyPillStateEnum, LoyaltyProgram } from '@cleartrip/ct-design-loyalty-pill';

function Example() {
  return <EliteLoyaltyPill state={EliteLoyaltyPillStateEnum.UNLOCKED} onClick={() => console.log('clicked')} />;
}
With states
<EliteLoyaltyPill state={EliteLoyaltyPillStateEnum.LOGGED_OUT} />
<EliteLoyaltyPill state={EliteLoyaltyPillStateEnum.LOCKED} />
<EliteLoyaltyPill state={EliteLoyaltyPillStateEnum.UNLOCKED} />
<EliteLoyaltyPill state={EliteLoyaltyPillStateEnum.EXPIRING} />
Partner program (FK Black)
<EliteLoyaltyPill loyaltyProgram={LoyaltyProgram.FK_BLACK} href='/fk-black' />
With animation
<EliteLoyaltyPill state={EliteLoyaltyPillStateEnum.UNLOCKED} isVisible={lottieComplete} animate={lottieComplete} />

Props

Prop Type Default Required Description
state EliteLoyaltyPillState — No Elite pill state
loyaltyProgram 'ELITE' \| 'FK_BLACK' 'ELITE' No Loyalty program; partner modes use image pill
loading boolean false No Shows shimmer skeleton
error Error \| null — No Error from data layer
onClick () => void — No Click / press handler
onIntersection () => void — No Fires once when pill enters viewport
onHover (isHovered: boolean) => void — No Hover callback (web)
animate boolean false No Slide-in animation
isVisible boolean true No When false, pill is not rendered
href string — No Link for partner pills
className string — No Style override (web)
ravenEventPrefix string '' No Prefix for Raven events
ravenAttributes Record<string, string \| number> — No Extra Raven payload fields
ravenPushCallback RavenPushCallback — No Raven push function

States

  • LOGGED_OUT — Elite outline pill
  • LOCKED — Unlock Elite (filled)
  • UNLOCKED — Elite (filled)
  • EXPIRING — Elite + warning badge
  • SUSPENDED — Not rendered

Loyalty programs

  • ELITE — State-based Elite pill (default)
  • FK_BLACK — Partner image pill (href supported)

Accessibility

  • Interactive Elite pill uses a button element
  • Partner pills use a link when href is provided
  • Expiring warning badge is visually indicated

Migration

- import { LoyaltyPill } from '...'
+ import { EliteLoyaltyPill, EliteLoyaltyPillStateEnum, LoyaltyProgram } from '@cleartrip/ct-design-loyalty-pill';

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 @cleartrip/ct-design-loyalty-pill

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

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

CVE

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

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?

Frame 2085668439 (1)
Group 1261154229