riligar-dev-auth-react — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited riligar-dev-auth-react (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
This skill provides a complete workflow for integrating authentication and permissions using the @riligar/auth-react SDK.
Install the SDK and its core dependencies (Mantine & Tabler Icons) using bun:
bun add @riligar/auth-react @mantine/core @mantine/hooks @mantine/notifications @tabler/icons-reactSet up your Public Key in your environment files.
[!IMPORTANT] Always use the Public Key (pk_...) in the frontend. Never expose your Secret Key.# .env.development
VITE_AUTH_API_KEY=pk_test_your_public_key
# .env.production
VITE_AUTH_API_KEY=pk_live_your_public_keyWrap your application (usually in main.jsx or App.jsx) with the AuthProvider and MantineProvider.
import { AuthProvider } from '@riligar/auth-react'
import { MantineProvider } from '@mantine/core'
ReactDOM.createRoot(document.getElementById('root')).render(
<MantineProvider theme={yourTheme}>
<AuthProvider apiKey={import.meta.env.VITE_AUTH_API_KEY}>
<App />
</AuthProvider>
</MantineProvider>
)Use these assets to quickly scaffold a complete authentication flow:
useAuth, useSignIn, and pre-built Mantine components. See hooks-and-components.md.<Protect />, <SignedIn>, and active route guards. See route-protection.md.Use useAuth() to access user data and authentication status.
const { user, isAuthenticated, loading } = useAuth()The recommended pattern is to use the Protected Group pattern with React Router as shown in routes.jsx.
// Nested routes under <Protect /> guarantee that all sub-routes are guarded.
<Route element={<Protect fallback={<AuthLoader />} />}>
<Route
path="/"
element={<Layout />}
>
<Route
index
element={<Home />}
/>
</Route>
</Route>~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.