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

@donotdev/crud

Latest version: v0.3.5

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: donotdev
1 Stars
0 Forks
10 Versions
1.6K Downloads
TypeScript Repo language

Scan summary

@donotdev/crud was last scanned on 24 Nov 2026 at version 0.3.5. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 10 versions; the latest 5 were published within 5 days (20–24 Nov 2026).
  • Findings: No rules fired in version 0.3.5.
  • Downloads: 1,581 downloads.

Versions

10 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.5 LATEST 24 Nov 2026 No rules fired
0.3.4 24 Nov 2026 No rules fired
0.3.3 22 Nov 2026 No rules fired
0.3.2 22 Nov 2026 Not shown
0.3.1 20 Nov 2026 Not shown

No rules fired in 0.3.5

Findings

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

README

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

DoNotDev CRUD

Complete CRUD operations and form components for DoNotDev framework.

Quick Start

import {
  useCrud,
  useCrudDoc,
  useCrudList,
  EntityFormRenderer,
} from '@donotdev/crud';

// Data operations (requires configureProviders({ crud: adapter }) at app startup)
function UserList() {
  const { items, loading } = useCrudList(UserEntity);
  return <div>{/* Render users */}</div>;
}

// One document, reactive to every edit/delete
function UserDetail({ id }: { id: string }) {
  const { data: user, loading, notFound } = useCrudDoc(UserEntity, id);
  return <div>{/* Render user */}</div>;
}

// Form rendering
function UserForm() {
  const { add } = useCrud('users', { schema: UserSchema });

  return (
    <EntityFormRenderer
      entity={UserEntity}
      onSubmit={async (data) => {
        await add(data);
      }}
    />
  );
}

Architecture

4-Layer Architecture
useCrud (React entry point)
    ↓
CrudService (Complete orchestrator)
    ↓
Backend Adapter (FunctionsAdapter | FirestoreAdapter)
    ↓
Backend SDK (Firebase Functions | Firestore SDK)
Package Structure
  • Form Components (@donotdev/components/form/fields) - Pure UI components without react-hook-form
  • Controlled Components (@donotdev/core/crud) - React Hook Form wrappers
  • Form Renderers (@donotdev/crud) - High-level form components (EntityFormRenderer, FormFieldRenderer)
  • Data Layer (@donotdev/crud) - useCrud hook, CrudService, CrudStore

Usage

useCrud Hook
const {
  data,
  loading,
  error,
  get,
  set,
  update,
  delete: deleteDoc,
  add,
  query,
} = useCrud('users', {
  schema: UserSchema,
});

// Get single document
const user = await get('user123');

// Create document
await add({ name: 'John', email: 'john@example.com' });

// Update document
await update('user123', { name: 'Jane' });

// Delete document
await deleteDoc('user123');

// Query collection
const users = await query({ limit: 10, orderBy: 'createdAt' });
EntityFormRenderer
const UserEntity = {
  name: {
    name: 'name',
    type: 'text',
    label: 'Name',
    required: true
  },
  email: {
    name: 'email',
    type: 'email',
    label: 'Email',
    required: true
  }
};

<EntityFormRenderer
  entity={UserEntity}
  onSubmit={async (data) => {
    await add(data);
  }}
/>

Dependencies

  • @donotdev/core - Core utilities and types
  • @donotdev/components - UI components
  • @donotdev/firebase - Firebase provider
  • react-hook-form - Form state management

Backend Adapters

FirestoreAdapter (@donotdev/firebase)

Direct Firestore SDK operations with real-time subscriptions.

import { FirestoreAdapter } from '@donotdev/firebase';
configureProviders({ crud: new FirestoreAdapter() });

When to use: User preferences, settings, prototyping without functions. When NOT to use: Production data requiring server-side security — use FunctionsAdapter instead.

FunctionsAdapter (@donotdev/crud)

Callable functions adapter (Firebase Cloud Functions or Supabase Edge Functions).

import { FunctionsAdapter } from '@donotdev/crud';
configureProviders({ crud: new FunctionsAdapter() });

Server generates technical fields and enforces security rules. Use for production data requiring validation, auth checks, and audit logs.

SupabaseCrudAdapter (@donotdev/supabase)

Direct PostgREST access with RLS-based security.

import { SupabaseCrudAdapter } from '@donotdev/supabase';
configureProviders({ crud: new SupabaseCrudAdapter(supabaseClient) });

DB-level security via Row Level Security and column grants. Field name mapping (camelCase ↔ snake_case) handled at adapter boundary.

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 @donotdev/crud

References

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

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

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