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

Remix Vite migration pains

I've been trying to migrate our project Starchart from Classic Remix Compiler to Remix Vite. Upgrade Classic Remix Compiler to Remix Vite #843 …

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

I've been trying to migrate our project Starchart from Classic Remix Compiler to Remix Vite.







I started a few weeks ago and then gave up because it was too hard. Our custom server is written in TypeScript and I could not figure out how to get it to build and play nice with the Vite build. All of the official examples write the custom server in JavaScript.



Recently I had another go at it and thanks to mihaiandrei97's example setup, which I found the link to in a GitHub discussion, I did manage to get the server to successfully build and unit tests to pass, but the server would fail during end-to-end tests every now and then, even when changing completely unrelated things like the order of our npm scripts in package.json.



I also tried the Remix Express Vite plugin and couldn't get it to work either - the server just wouldn't start even though the background services did. I noticed the plugin docs said the createServer property accepts an async function as a callback but the types don't allow it. I filed an issue on the repo to get more info.









createExpressApp.createServer does not accept async function as argument

#44





Hello,


I want to perform some async operations before starting my server:



createServer: async (app: Application) => {
const port = process.env.PORT || 8080;

await services.init()
return app.listen(port);
},



Based on the README, createExpressApp.createServer should accept async functions as arguments



createServer?: async (app: Application) => Server



But according to the type definition it doesn't:



export type CreateServerFunction = (app: Application) => Server;



And instead when trying to pass an async function, I get the error


Type '(app: Application) => Promise<Server<typeof IncomingMessage, typeof ServerResponse>>' is not assignable to type 'CreateServerFunction'.
Type 'Promise<Server<typeof IncomingMessage, typeof ServerResponse>>' is missing the following properties from type 'Server': listen, close, address, getConnections, and 21 more.

Are async functions not supported or is the type wrong?









So with that ruled out the only solutions I could think of were to either run the server with tsx as mentioned in Remix's blog or to convert our custom server to JavaScript, like their examples.



While I wait to hear back from the others on what they think the better approach is, I'm going to switch gears and work on the other issue for this sprint, which is looking into passkey encryption for users' API keys in our other project chatcraft.org.









Encrypt users' API keys with passkeys

#872





Earlier this week @humphd suggested encrypting users' API keys with passkeys using age-encryption, which will eventually let us store them in the backend.






1. Sofort-Triage & Abwehrmaßnahmen

SOC Incident Playbook: Remote Code Execution (RCE) Defense
Syntax validiert (0 Fehler)
title: Detect Exploitation - Remix Vite migration pains
id: 37dfaf8e-2473-47e1-bc2e-f605a20fd3fc
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-26
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-26"
        description = "YARA Signature for "
    strings:
        $str = "Remix Vite migration pains" ascii wide
    condition:
        any of them
}
Syntax validiert (0 Fehler)
index=security sourcetype IN ("cisco:asa", "pan:traffic", "zeek_conn", "suricata", "WinEventLog:Security")
("Remix Vite migration pains")
| 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: "*Remix Vite migration pains*"
Syntax validiert (0 Fehler)
CommonSecurityLog
| where Message has "Remix Vite migration pains"
| 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:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich Remix Vite migration pains.... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ 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.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Remix Vite migration pains

Thematisch verwandte Begriffe: Remix, Vite, migration, pains · 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 ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-88003 | InvoicePlane is a self-hosted open source application for managing invoi…
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