Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
YouTube Security VideosGolemDE: Leben als IT-Freiberufler – zwei Perspektiven(24.09.2026 um 07:03 Uhr)
Sichere ProgrammierungOpenChamber 2.0: Skills ändern, Agent läuft weiter(24.09.2026 um 09:04 Uhr)
Sichere ProgrammierungBuilding Enterprise dApps with Smart Contracts and REST APIs(21.09.2026 um 11:34 Uhr)
Sichere ProgrammierungJavaScript Array Methods: 7 Essential Methods Every Developer Needs(24.09.2026 um 08:51 Uhr)
Sichere ProgrammierungCross-Chain Bridge Risk Assessment: Gauntlet(24.09.2026 um 08:53 Uhr)
Sichere ProgrammierungWe spent thirteen weeks about to buy a bigger database(24.09.2026 um 08:54 Uhr)
Sichere ProgrammierungHow to Choose a CDN for Asia in 2026: 7 Providers Compared(24.09.2026 um 08:54 Uhr)
Sichere ProgrammierungMy deploy said Success. It went to a URL nobody visits.(24.09.2026 um 09:00 Uhr)
YouTube Security VideosGolemDE: Leben als IT-Freiberufler – zwei Perspektiven(24.09.2026 um 07:03 Uhr)
Sichere ProgrammierungOpenChamber 2.0: Skills ändern, Agent läuft weiter(24.09.2026 um 09:04 Uhr)
Sichere ProgrammierungBuilding Enterprise dApps with Smart Contracts and REST APIs(21.09.2026 um 11:34 Uhr)
Sichere ProgrammierungJavaScript Array Methods: 7 Essential Methods Every Developer Needs(24.09.2026 um 08:51 Uhr)
Sichere ProgrammierungCross-Chain Bridge Risk Assessment: Gauntlet(24.09.2026 um 08:53 Uhr)
Sichere ProgrammierungWe spent thirteen weeks about to buy a bigger database(24.09.2026 um 08:54 Uhr)
Sichere ProgrammierungHow to Choose a CDN for Asia in 2026: 7 Providers Compared(24.09.2026 um 08:54 Uhr)
Sichere ProgrammierungMy deploy said Success. It went to a URL nobody visits.(24.09.2026 um 09:00 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Meet BlokJS - 9 KB, No Build Step, Standalone, Full FE Framework

BlokJS - Zero-Build, Zero-Dependency, Standalone, Reactive, Lightweight UI Framework New project, new frontend. Install Node. Pick a bundler. Configure TypeScript. Install a router package. Install a state management package. Set up hot…

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




BlokJS - Zero-Build, Zero-Dependency, Standalone, Reactive, Lightweight UI Framework



New project, new frontend. Install Node. Pick a bundler. Configure TypeScript. Install a router package. Install a state management package. Set up hot reload. Debug the config. Twenty minutes later you still haven't written a single line of UI code.



BlokJS is a reactive UI framework that skips all of that.



One <script> tag. 9 KB gzipped. Zero dependencies. No virtual DOM, no JSX, no template compiler. Your views are plain JavaScript objects - the browser runs them directly.




<script src="https://cdn.jsdelivr.net/npm/@maleta/blokjs/dist/blokjs.min.js"></script>






That's your entire setup.









Philosophy



BlokJS is built around a few ideas:



No build step required. A framework that needs a compiler before it can run has already added complexity. BlokJS app is plain JavaScript object - it run directly in the browser. You can still use a bundler if you want to have code well organized in files , but it's never a requirement.



Batteries-included, not batteries-heavy. Reactive state, components, routing, stores, and async tracking are all built in. One 9 KB package instead of assembling five separate libraries. But "included" doesn't mean "bloated" - the goal is to cover common needs without unnecessary weight.



Simplicity over cleverness. The API surface is small on purpose. There are no special directives, no lifecycle alphabet soup, no framework-specific syntax to learn. If you know JavaScript objects and functions, you already know most of the BlokJS.



Direct DOM updates, no virtual DOM. Instead of diffing a virtual tree and patching the real DOM, BlokJS tracks exactly which state each binding depends on and updates only that binding when the state changes. This avoids the overhead of a full diff/patch cycle, making targeted updates fast and predictable.









Counter in 15 Lines



Let's start with the most basic example - a counter. No install, no config, no build:




<script src="https://cdn.jsdelivr.net/npm/@maleta/blokjs/dist/blokjs.min.js"></script>
<div id="app"></div>
<script>
blok.mount('#app', {
state: { count: 0 },
methods: {
inc() { this.count++ },
dec() { this.count-- },
},
view: ($) => ({
div: { children: [
{ h1: { text: $.count } },
{ button: { click: 'dec', text: '-' } },
{ button: { click: 'inc', text: '+' } },
] }
})
})
</script>






That's it. state is reactive. When count changes, the h1 updates automatically. The $ proxy creates reactive references that the framework resolves at render time. No useState, no useEffect, no ref(). Just state and a view.









Why Objects Instead of JSX or Templates?



Instead of <div class="card"> or React.createElement('div'), BlokJS uses plain objects:




// This...
{ div: { class: 'card', children: [
{ h1: { text: $.title } },
{ p: { text: $.description } }
] } }

// ...renders this:
// <div class="card">
// <h1>My Title</h1>
// <p>Some description</p>
// </div>






Why? Because it's just JavaScript. No parser. No compiler. No template language to learn. You can refactor with standard tools, and there's nothing between your code and the browser.



The key elements of the view DSL:





  • text - text content, static or reactive ({ text: $.name })


  • children - array of child elements


  • class - string, object, or array ({ class: { active: $.isActive } })


  • model - two-way binding for inputs ({ input: { model: $.search } })


  • when - conditional rendering ({ when: $.isVisible, children: [...] })


  • each - list rendering ({ each: $.items, as: 'item', children: [...] })


  • Events - just the event name as key ({ button: { click: 'save' } }) with optional arguments ({ click: 'remove(item)' })



Negation works too. $.not.isLoggedIn evaluates to true when isLoggedIn is falsy. No ternaries, no ! operators in templates.









Components - Not a Toy



BlokJS has a component system with props, events, slots, and lifecycle hooks:




blok.component('TodoItem', {
props: ['todo'],

methods: {
remove() { this.emit('remove', this.todo) }
},

view: ($) => ({
li: { children: [
{ input: { type: 'checkbox', model: $.todo.done } },
{ span: { text: $.todo.text } },
{ button: { click: 'remove', text: 'x' } },
] }
})
})






Use it in a parent by name. Pass props, listen to events with the on_ prefix:




{ each: $.todos, as: 'todo', key: 'id', children: [
{ TodoItem: { todo: $.todo, on_remove: 'handleRemove' } }
] }






Components also support slots for content projection, computed properties, watchers, and mount/unmount lifecycle hooks.









Stores - Global State with Automatic Async Tracking



Most frameworks require you to manually wire up loading spinners and error messages for every async operation. BlokJS handles this automatically.



Define a store:




blok.store('auth', {
state: { user: null },

computed: {
isLoggedIn() { return this.user !== null }
},

methods: {
async login(email, password) {
const res = await fetch('/api/login', {
method: 'POST',
body: JSON.stringify({ email, password }),
})
this.user = await res.json()
},
logout() { this.user = null }
}
})






Now in your template, you get loading and error on the spot:




// Loading spinner - appears automatically while login() runs
{ when: $.store.auth.loading.login, children: [
{ p: 'Signing in...' }
] }

// Error message - appears automatically if login() throws
{ when: $.store.auth.error.login, children: [
{ p: { class: 'error', text: $.store.auth.error.login } }
] }

// Logged in state
{ when: $.store.auth.isLoggedIn, children: [
{ p: { text: $.store.auth.user.name } }
] }






Any method that returns a Promise is tracked. The framework wraps it, sets loading.methodName = true, and if it throws, captures the error into error.methodName. You just bind it. This works for both store methods and component methods.









Routing - Built In



No separate router package. Routes, dynamic params, guards, hash and history modes are all included:




blok.mount('#app', {
routes: [
{ path: '/', component: 'Home' },
{ path: '/product/:id', component: 'ProductDetail' },
{ path: '/admin', component: 'Admin', guard: 'requireAuth' },
{ path: '*', component: 'NotFound' },
],

guards: {
requireAuth(to, from) {
if (!this.store.auth.isLoggedIn) return '/login'
return true
}
},

view: ($) => ({
div: { children: [
{ a: { href: '/', link: true, text: 'Home' } },
{ a: { href: '/admin', link: true, text: 'Admin' } },
{ div: { route: true } },
] }
})
})






Inside components, access route data via this.route.params, this.route.query, and navigate programmatically with this.navigate('/path'). Guards can return true (allow), false (block), or a redirect path string.









Security



I wrote about CORS, XSS and CSRF before, and web security was on my mind when building BlokJS.



The text binding is always safe - it uses textContent, so HTML in user input is rendered as literal text, not parsed. The html binding sets innerHTML directly without sanitization, same as Vue's v-html. If you need to render HTML, make sure you trust the source - never pass unsanitized user input to html.



URL attributes (href, src, action) are validated - javascript: and data: URIs are blocked.









What BlokJS is Not



BlokJS is not trying to replace React, Angular or Vue for enterprise dashboards with hundreds of components. It doesn't have SSR yet - though since views are plain objects rather than DOM-dependent templates, server-side rendering is a natural future addition. It doesn't have a virtual DOM (by design - fine-grained reactivity means direct DOM updates, which works well for most use cases).



Where it fits:





  • Prototypes and MVPs where you want something running quick


  • Internal tools and admin panels


  • Small to medium apps - todo lists, dashboards, forms


  • Learning - the entire API fits in your head in an afternoon


  • Embedding - drop reactive UI into any existing page









LLM-Friendly by Design



BlokJS ships with a dedicated LLM reference document - a condensed version of the entire API optimized for LLM consumption.



The document is ~2,900 tokens (measured using Anthropic's official token counting API). That's small enough to paste into any LLM's context window - less than 1.5% of a 200K context window.



The idea: include it in your prompt, and an LLM can write working BlokJS code with accurate API usage. The reference is part of the npm package (llm-reference.md), so it's always available alongside the framework itself.









Getting Started



CDN (zero setup):




<script src="https://cdn.jsdelivr.net/npm/@maleta/blokjs/dist/blokjs.min.js"></script>






Without a bundler, you have full control over what loads and when. Split components into separate files, load them conditionally, defer what isn't needed on first render - the browser handles it natively.



npm:




npm install @maleta/blokjs






With Vite:




npm create blokjs my-app
cd my-app
npm install
npx vite






The Vite plugin adds automatic component and store registration from file directories, bundled output, and hot module replacement during development.






Links:








BlokJS is MIT licensed. If you try it, I'd love to hear what you build.

CTI Threat Relationship Graph2 Knoten / 1 Relationen
CVE / Incident Software MITRE ATT&CK CWE Weakness IoC
SOC Incident Playbook: Remote Code Execution (RCE) Defense
title: Detect Exploitation - Meet BlokJS - 9 KB, No Build Step, Standalone, Full FE Framework
id: c953bfbf-4853-4a31-8d2e-db9b1ac86ee5
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-24
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
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-24"
        description = "YARA Signature for "
    strings:
        $str = "Meet BlokJS - 9 KB, No Build S" ascii wide
    condition:
        any of them
}
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich Meet BlokJS - 9 KB, No Build Step, Stand.... 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 Meet BlokJS - 9 KB, No Build Step, Standalone, Full FE Framework

Thematisch verwandte Begriffe: Meet, BlokJS, Build, Step · 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-96772 | A security flaw has been discovered in Intelliants Subrion CMS up to 4.2…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
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
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick