Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
Windows Tipps & SecurityGrafikkarte vor Überhitzung schützen: So geht’s(25.09.2026 um 08:00 Uhr)
••••••••••
Windows Tipps & SecurityGrafikkarte vor Überhitzung schützen: So geht’s(25.09.2026 um 08:00 Uhr)
••••••••••
Intelligence View
⚡ tsecurity.de Intelligence

Stop rebuilding BYOK from scratch — I extracted it into a package

Every AI SaaS project I've worked on hits the same wall. You need to let users bring their own API keys — or your infrastructure needs to route across providers with fallbacks. Either way, you end up building the same thing: key v…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

Every AI SaaS project I've worked on hits the same wall.



You need to let users bring their own API keys — or your infrastructure needs to route across providers with fallbacks. Either way, you end up building the same thing: key validation, provider selection, cost estimation, health checks.



Then you maintain it. Then you build it again in the next project.



I got tired of it, so I extracted that layer into a package.









What it is



Restormel Keys is a headless BYOK and provider routing library for AI apps.








pnpm add @restormel/keys









import { createKeys, openaiProvider, anthropicProvider } from "@restormel/keys";

const keys = createKeys(
{ routing: { defaultProvider: "openai" } },
{ providers: [openaiProvider, anthropicProvider] }
);

// Resolves which key to use: BYOK → fallback chain → platform key
const resolved = await keys.resolve("openai", "gpt-4o");

// Cost estimation before you make the call
const cost = keys.estimateCost("gpt-4o-mini");






That's the core. Everything else builds on it.









What it actually handles







  • BYOK flows — users supply their own keys; you validate and store them
    however you want (the package is headless, no storage opinion)


  • Multi-provider routing — OpenAI, Anthropic, Google, plus 8 more
    (Mistral, Groq, Together, DeepSeek, Fireworks, Cohere, Perplexity, Azure)


  • Fallback chains — if a key fails, fall through to the next configured
    provider


  • Cost estimation — before you make a request, not after


  • Key validation — per-provider, with async persistence hooks


  • Policies — allow/deny models, enforce budget caps, keep routing behaviour
    inspectable









Framework support



The headless core works anywhere. UI components (KeyManager, ModelSelector,

CostEstimator) are available for SvelteKit today.




# SvelteKit
pnpm add @restormel/keys @restormel/keys-svelte

# React / Next.js App Router
pnpm add @restormel/keys @restormel/keys-react @restormel/keys-elements







Before installing the UI packages, run npm view @restormel/keys-react version

to confirm availability. The headless core always works.










The CLI






npx keys init          # detect framework, generate config
npx keys add openai # prompt, validate, store
npx keys validate # exit 1 if invalid — good for CI
npx keys estimate gpt-4o-mini --input 10 --output 2
npx @restormel/doctor # is everything wired up correctly?












I've been dogfooding it



I've been running this in production through usesophia.app —

worth checking out to see what a real BYOK integration looks like with this stack.











Early access



It's free to start. First 50 Pro signups get 12 months free — that's the

founding cohort offer while the product is in early access.



restormel.dev/keys






Two questions I'd genuinely like your input on:




  1. Is BYOK a real constraint you're dealing with, or do you absorb AI costs yourself?

  2. Is there another part of the AI product layer you keep rebuilding that should just be a package?









1. Sofort-Triage & Abwehrmaßnahmen

SOC Incident Playbook: Remote Code Execution (RCE) Defense
Syntax validiert (0 Fehler)
title: Detect Exploitation - Stop rebuilding BYOK from scratch — I extracted it into a package
id: b7d7062c-936d-4889-95e9-3f0faa904865
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-27
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
Syntax validiert (0 Fehler)
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-27"
        description = "YARA Signature for "
    strings:
        $str = "Stop rebuilding BYOK from scra" ascii wide
    condition:
        any of them
}
Syntax validiert (0 Fehler)
index=security sourcetype IN ("cisco:asa", "pan:traffic", "zeek_conn", "suricata", "WinEventLog:Security")
("Stop rebuilding BYOK from scratch  I ext")
| stats count earliest(_time) as first_seen latest(_time) as last_seen by src_ip, dest_ip, dest_host, signature
| eval first_seen=strftime(first_seen, "%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen, "%Y-%m-%d %H:%M:%S")
| sort - count
Syntax validiert (0 Fehler)
message: "*Stop rebuilding BYOK from scratch  I ext*"
Syntax validiert (0 Fehler)
CommonSecurityLog
| where Message has "Stop rebuilding BYOK from scratch  I ext"
| summarize EventCount = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by SourceIP, DestinationIP, DestinationPort, Activity
| extend DetectionRule = "iShareStuff-CTI-Compiled"
| sort by EventCount desc

2. Cyber Threat Intelligence & Forensik

CTI Threat Relationship Graph2 Knoten / 1 Relationen
CVE / Incident Software MITRE ATT&CK CWE Weakness IoC
🎯
MITRE ATT&CK Matrix Navigator 14 Taktiken
Reconnaissance
-
Resource Development
-
Initial Access
Execution
Persistence
-
Privilege Escalation
Defense Evasion
Credential Access
-
Discovery
-
Lateral Movement
-
Collection
-
Command and Control
Exfiltration
-
Impact
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Analyse für identifizierte Bedrohung auf Basis von Live-CTI (ENISA EUVD): CVSS 0.0 · EPSS 0.0% · CISA KEV: nein. Handlungsableitung aus den verlinkten Hersteller-Quellen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

⚡ Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Stop rebuilding BYOK from scratch — I extracted it into a package

Thematisch verwandte Begriffe: Stop, rebuilding, BYOK, from · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
ZERO-DAY Kritische Sicherheitsmeldung
Advisory →
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag