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

@kivacore/rn-assistant

Latest version: v0.34.1

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: anil.beyazoglu, ardabeyazoglu
4 Versions

Scan summary

@kivacore/rn-assistant was last scanned on 28 Nov 2026 at version 0.34.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions, all published on 28 Nov 2026.
  • Findings: No rules fired in version 0.34.1.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.34.1 LATEST 28 Nov 2026 No rules fired
0.34.0 28 Nov 2026 No rules fired
0.33.0 28 Nov 2026 No rules fired
0.0.0-stage 28 Nov 2026 Not shown

No rules fired in 0.34.1

Findings

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

README

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

@kivacore/rn-assistant

@kivacore/rn-assistant is a standalone React Native AI assistant package for Docyrus-compatible backends.

It is host-app independent:

  • it does not import app-local aliases
  • it does not read .env internally
  • the core assistant UI uses plain React Native StyleSheet — no Tailwind/NativeWind/Uniwind required
  • the optional Adaptive Card tool renderer uses className and needs the host to enable Uniwind for full styling (see Adaptive Cards)
  • it supports embedded page, modal, and sheet presentations

What You Get

  • DocyrusRNAssistant as the main entry component
  • DocyrusRNAssistantEmbedded for page or tab usage
  • DocyrusRNAssistantModal for full-screen modal usage
  • DocyrusRNAssistantSheet for bottom-sheet or action-sheet usage
  • built-in chat UI
  • session and message management
  • model and reasoning selection
  • attachment picker
  • voice recording and transcription UI
  • Adaptive Card rendering for tool outputs (text, layout, inputs, actions, and charts) — see Adaptive Cards
  • internal light/dark aware theme tokens with overrides
  • read-optimized send behavior: on submit the keyboard dismisses and the just-sent user message pins to the top of the viewport (matches ChatGPT/Claude mobile), giving the generated reply the full remaining screen

Installation

Install the package:

pnpm add @kivacore/rn-assistant

Install the required peer dependencies in the host app. These are declared as peers so Expo autolinking sees a single copy of each native module in the host's node_modules:

npx expo install expo expo-clipboard expo-image react react-native react-native-keyboard-controller react-native-safe-area-context react-native-svg

If the host app enables optional features, install the corresponding peers on demand:

# enableVoice
npx expo install expo-audio expo-file-system

# enableAttachment
npx expo install expo-document-picker expo-image-picker

Current peer requirements (versions pinned to Expo SDK 55):

Always required:

  • expo 55.0.17
  • expo-clipboard 55.0.13
  • expo-image 55.0.9
  • react 19.2.0
  • react-native 0.83.6
  • react-native-keyboard-controller 1.20.7
  • react-native-safe-area-context 5.6.2
  • react-native-svg 15.15.3

Optional (only when the matching feature is enabled):

  • expo-audio 55.0.14 (voice recording)
  • expo-file-system 55.0.x (voice transcription upload; native multipart upload avoids the iOS fetch/FormData hang)
  • expo-document-picker 55.0.13 (attachments)
  • expo-image-picker 55.0.19 (attachments)
  • react-native-webview 13.16.0 (embedded web content)

Host App Responsibilities

The host app is responsible for:

  • providing backend URLs from .env or any config source
  • providing a valid user access token when authenticated requests are needed
  • providing agentId and optionally dataSourceId
  • deciding whether the assistant renders embedded, modal, or sheet
  • storing and refreshing auth or session state

The package is responsible for:

  • rendering the assistant UI
  • fetching deployments and models
  • managing sessions and messages
  • chat streaming
  • attachment and transcription flows
  • filling the full host height in embedded, modal, and sheet modes

Environment Variables

The package does not read env values directly. The host app should read env variables and map them into apiConfig and assistant props.

Suggested Docyrus host env shape:

EXPO_PUBLIC_API_BASE_URL=https://alpha-api.kiva.app/v1
EXPO_PUBLIC_ASSISTANT_AGENT_ID=your-agent-id
EXPO_PUBLIC_ASSISTANT_DATA_SOURCE_ID=your-thread-data-source-id
EXPO_PUBLIC_OAUTH2_CLIENT_ID=your-oauth-client-id
EXPO_PUBLIC_OAUTH2_SCOPES=openid profile offline_access User.Read Users.Read.All DS.Read.All DS.ReadWrite.All AI.Read.All AI.ReadWrite.All
EXPO_PUBLIC_OAUTH2_CALLBACK_URL=your-app-scheme://auth/callback

Recommended Docyrus scopes:

  • User.Read
  • Users.Read.All
  • DS.Read.All
  • DS.ReadWrite.All
  • AI.Read.All
  • AI.ReadWrite.All

Minimum deployment-read requirement:

  • AI.Read.All or AI.ReadWrite.All

If OAuth scopes change, the user should sign out and sign in again so the host app receives a fresh token.

Native Permissions

If the host app enables voice recording or media attachments, the host app must define the required native permission strings.

For Expo apps, add these keys in app.config.ts or app.json under ios.infoPlist:

ios: {
  infoPlist: {
    NSMicrophoneUsageDescription: 'Docyrus Assistant uses the microphone for voice prompts and transcription.',
    NSCameraUsageDescription: 'Docyrus Assistant uses the camera so you can attach photos to prompts.',
    NSPhotoLibraryUsageDescription: 'Docyrus Assistant uses your photo library so you can attach images to prompts.',
    NSPhotoLibraryAddUsageDescription: 'Docyrus Assistant saves exported images and files to your photo library when requested.'
  }
}

Notes:

  • these keys belong to the host app, not the package
  • after changing native permission keys, rebuild the iOS app with a fresh native build such as run:ios
  • microphone permission is requested only when the user starts recording

Quick Start

import {
  DocyrusRNAssistant,
  createDocyrusRNAssistantConfig
} from '@kivacore/rn-assistant';

const assistantConfig = createDocyrusRNAssistantConfig({
  baseUrl: process.env.EXPO_PUBLIC_API_BASE_URL || ''
});

export function AssistantScreen() {
  return (
    <DocyrusRNAssistant
      apiConfig={assistantConfig}
      agentId={process.env.EXPO_PUBLIC_ASSISTANT_AGENT_ID || ''}
      dataSourceId={process.env.EXPO_PUBLIC_ASSISTANT_DATA_SOURCE_ID}
      credentials={{
        token: session.accessToken,
        userId: session.userId
      }}
      userId={session.userId}
      showHeader
    />
  );
}

Embedded Usage

Use this when the assistant lives inside a screen, tab, or routed page.

import {
  DocyrusRNAssistantEmbedded,
  createDocyrusRNAssistantConfig
} from '@kivacore/rn-assistant';

const assistantConfig = createDocyrusRNAssistantConfig({
  baseUrl: process.env.EXPO_PUBLIC_API_BASE_URL || ''
});

export function AssistantTab() {
  return (
    <DocyrusRNAssistantEmbedded
      apiConfig={assistantConfig}
      agentId={process.env.EXPO_PUBLIC_ASSISTANT_AGENT_ID || ''}
      dataSourceId={process.env.EXPO_PUBLIC_ASSISTANT_DATA_SOURCE_ID}
      credentials={{
        token: session.accessToken,
        userId: session.userId
      }}
      userId={session.userId}
      showHeader
    />
  );
}

Modal Usage

Use this when the assistant opens from a dedicated trigger or overlay flow.

import { useState } from 'react';

import {
  DocyrusRNAssistantModal,
  createDocyrusRNAssistantConfig
} from '@kivacore/rn-assistant';

const assistantConfig = createDocyrusRNAssistantConfig({
  baseUrl: process.env.EXPO_PUBLIC_API_BASE_URL || ''
});

export function AssistantLauncher() {
  const [open, setOpen] = useState(false);

  return (
    <>
      <Button title="Open Assistant" onPress={() => setOpen(true)} />

      <DocyrusRNAssistantModal
        visible={open}
        onClose={() => setOpen(false)}
        apiConfig={assistantConfig}
        agentId={process.env.EXPO_PUBLIC_ASSISTANT_AGENT_ID || ''}
        dataSourceId={process.env.EXPO_PUBLIC_ASSISTANT_DATA_SOURCE_ID}
        credentials={{
          token: session.accessToken,
          userId: session.userId
        }}
        userId={session.userId}
        showHeader
        modalAnimationType="slide"
      />
    </>
  );
}

Bottom Sheet Usage

Use this when the assistant should open from a bottom menu or action-sheet style trigger.

import { useState } from 'react';

import {
  DocyrusRNAssistantSheet,
  createDocyrusRNAssistantConfig
} from '@kivacore/rn-assistant';

const assistantConfig = createDocyrusRNAssistantConfig({
  baseUrl: process.env.EXPO_PUBLIC_API_BASE_URL || ''
});

export function AssistantBottomSheet() {
  const [open, setOpen] = useState(false);

  return (
    <>
      <Button title="Open Assistant Sheet" onPress={() => setOpen(true)} />

      <DocyrusRNAssistantSheet
        visible={open}
        onClose={() => setOpen(false)}
        sheetDetent="large"
        apiConfig={assistantConfig}
        agentId={process.env.EXPO_PUBLIC_ASSISTANT_AGENT_ID || ''}
        dataSourceId={process.env.EXPO_PUBLIC_ASSISTANT_DATA_SOURCE_ID}
        credentials={{
          token: session.accessToken,
          userId: session.userId
        }}
        userId={session.userId}
        showHeader
      />
    </>
  );
}

One Component, Multiple Presentation Modes

If you want to switch presentation with a prop:

import { DocyrusRNAssistant } from '@kivacore/rn-assistant';

<DocyrusRNAssistant
  presentation="embedded"
  apiConfig={assistantConfig}
  agentId={agentId}
  dataSourceId={dataSourceId}
  credentials={{ token, userId }}
/>;
import { DocyrusRNAssistant } from '@kivacore/rn-assistant';

<DocyrusRNAssistant
  presentation="modal"
  visible={isOpen}
  onClose={() => setIsOpen(false)}
  modalAnimationType="slide"
  apiConfig={assistantConfig}
  agentId={agentId}
  dataSourceId={dataSourceId}
  credentials={{ token, userId }}
/>;
import { DocyrusRNAssistant } from '@kivacore/rn-assistant';

<DocyrusRNAssistant
  presentation="sheet"
  visible={isOpen}
  onClose={() => setIsOpen(false)}
  sheetDetent="large"
  apiConfig={assistantConfig}
  agentId={agentId}
  dataSourceId={dataSourceId}
  credentials={{ token, userId }}
/>;

Authentication Model

The assistant package does not implement the host app login screen. Recommended flow:

  1. Host app signs the user in.
  2. Host app receives accessToken and userId.
  3. Host app passes them to the assistant through credentials and userId.

Example:

<DocyrusRNAssistantEmbedded
  apiConfig={assistantConfig}
  agentId={agentId}
  dataSourceId={dataSourceId}
  credentials={{
    token: session.accessToken,
    userId: session.userId
  }}
  userId={session.userId}
/>

If you do not pass a valid token:

  • UI may still render
  • authenticated chat and session requests may fail
  • deployment loading may fail if the token does not include required AI scopes

API Config Helper

The default helper is for the Docyrus backend contract:

import { createDocyrusRNAssistantConfig } from '@kivacore/rn-assistant';

const assistantConfig = createDocyrusRNAssistantConfig({
  baseUrl: 'https://alpha-api.kiva.app/v1',
  token: accessToken
});

It prepares:

  • Docyrus endpoint paths
  • Docyrus response unwrapping with transformResponse
  • optional Authorization header if token is provided

Default endpoints included by the helper:

  • deployment: /ai/agent-deployments/base/:agentId
  • chat: /ai/agents/:agentId/chat
  • sessions: /apps/base/data-sources/thread/items
  • messages: /apps/base/data-sources/message/items
  • create thread: /apps/base/data-sources/thread/items
  • delete session: /apps/base/data-sources/thread/items/:sessionId
  • transcribe: /ai/transcribe

Custom Backend Config

If another app uses the same UI package with different endpoints, pass a custom apiConfig object:

import { type AIAPIConfig } from '@kivacore/rn-assistant';

const assistantConfig: AIAPIConfig = {
  baseUrl: 'https://my-api.example.com',
  transformResponse: (response) => response.result,
  endpoints: {
    deployment: '/assistant/deployments/:agentId',
    chat: '/assistant/chat/:agentId',
    sessions: '/assistant/sessions',
    messages: '/assistant/messages',
    createThread: '/assistant/sessions',
    deleteSession: '/assistant/sessions/:sessionId',
    transcribe: '/assistant/transcribe'
  },
  headers: {
    Authorization: `Bearer ${accessToken}`,
    'x-app-name': 'my-rn-app'
  }
};

Main Props

Required:

  • apiConfig
  • agentId

Usually required in real usage:

  • dataSourceId
  • credentials.token
  • credentials.userId
  • userId

Common optional props:

  • deploymentId
  • headers
  • initialMode
  • onError
  • showHeader
  • onClose
  • enableVoice
  • enableAttachment
  • allowedAttachmentTypes
  • maxAttachmentSize
  • maxAttachments
  • showModelSelectorInInput
  • theme
  • presentation
  • visible
  • modalAnimationType
  • sheetDetent
  • containerStyle

Adaptive Cards (tool rendering)

The assistant renders tool outputs as Microsoft Adaptive Cards when:

  • a tool's deployment metadata sets outputRenderType: "adaptive_card" — its outputRenderTemplate is the card payload and the tool output (or, for client-side tools, the input) is the data binding; or
  • a tool output is itself an AdaptiveCard payload.

Supported elements include TextBlock, Image, Container/ColumnSet/Table/FactSet, the Input.* family with Action.Submit/Execute/OpenUrl, Badge/Icon/ProgressBar/Rating, and the charts Chart.VerticalBar | HorizontalBar | Pie | Donut | Line | Gauge.

Uniwind setup (required for styled cards)

The card components are styled with Uniwind (className). Unlike the rest of the package, they need the host app to enable Uniwind so styles resolve at runtime — without it the card still renders but appears unstyled.

  1. Install deps in the host app:

    npx expo install uniwind tailwindcss react-native-reanimated react-native-worklets react-native-gesture-handler
  2. Wrap the host's metro.config.js:

    const { withUniwindConfig } = require('uniwind/metro');
    // ...build your config...
    module.exports = withUniwindConfig(config, { cssEntryFile: './assets/styles/global.css' });
  3. Create assets/styles/global.css with the Docyrus design tokens and a @source that also scans this package, then import it from the app entry (the metro cssEntryFile alone does not inject the stylesheet):

    @import "tailwindcss";
    @import "uniwind";
    /* scan the installed package so its className utilities are generated */
    @source '../../node_modules/@kivacore/rn-assistant/**/*.{js,jsx,ts,tsx}';
    
    @layer theme {
      :root {
        @variant light { --color-background: hsl(0,0%,100%); --color-foreground: hsl(228.6,84%,4.9%); --color-card: hsl(0,0%,100%); --color-muted: hsl(210,40%,96.1%); --color-muted-foreground: hsl(215.4,16.3%,46.9%); --color-primary: hsl(222.2,47.4%,11.2%); --color-border: hsl(214.3,31.8%,91.4%); /* ...accent/destructive/emerald/amber... */ }
        @variant dark  { --color-background: hsl(228.6,84%,4.9%); --color-foreground: hsl(210,40%,98%); --color-card: hsl(222.2,47.4%,11.2%); --color-muted: hsl(217.2,32.6%,17.5%); --color-muted-foreground: hsl(215,20.2%,65.1%); --color-primary: hsl(210,40%,98%); --color-border: hsl(217.2,32.6%,17.5%); }
      }
    }
    // app entry (e.g. index.ts / app/_layout.tsx) — MUST import so styles load
    import './assets/styles/global.css';
Template authoring notes
  • Enum values are case-sensitive lowercase (large, bolder, medium, small, extraLarge, …). PascalCase like "Large" is ignored.
  • A whole-string expression returns the raw value, so "value": "${humidity}" (number) and "data": "${forecast}" (array of { x, y }) bind directly. Expressions include if, equals, not, empty, coalesce, concat, formatNumber, formatDateTime; $when/$data are supported.
  • Store the template as plain text — ideally minified single-line JSON. Rich-text config editors that convert newlines to <br> (or HTML-encode) produce invalid JSON. The renderer tolerates <br>/entities and raw control characters as a fallback, and shows an inline error with the reason when a template can't be parsed.

Theming

The package includes its own theme layer. Override only the values you need:

<DocyrusRNAssistant
  apiConfig={assistantConfig}
  agentId={agentId}
  credentials={{ token, userId }}
  theme={{
    colors: {
      primary: '#0f766e',
      primaryForeground: '#ffffff',
      background: '#f8fafc'
    }
  }}
/>

The default theme follows device light and dark appearance automatically.

Public Exports

Components:

  • DocyrusRNAssistant
  • DocyrusRNAssistantEmbedded
  • DocyrusRNAssistantModal
  • DocyrusRNAssistantSheet
  • DocyrusRNAssistantProvider

Config and types:

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 @kivacore/rn-assistant

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

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

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?

Frame 2085668439 (1)
Group 1261154229