Chunks

Textabschnitte mit Vektor-Embeddings. Gesamt: 369 Chunks.

ID Dokument Kategorie Tokens Status Inhalt
#512 Sicherheit Sicherheit 134 synced MaßnahmeImplementierungVerifiziert Nur SELECTQueryValidator.validate_q...
#513 Sicherheit Sicherheit 196 synced Nur SELECT auf spezifische Tabellen: -- User erstellen CREATE USER IF NOT EXISTS...
#514 Sicherheit Sicherheit 66 synced Nur INSERT auf mcp_log: -- User erstellen CREATE USER IF NOT EXISTS 'mcp_logger'...
#515 Sicherheit Sicherheit 66 synced KategorieKeywordsRisiko DMLDELETE, INSERT, UPDATEDatenmanipulation ...
#516 Sicherheit Sicherheit 70 synced LimitBeschreibungMitigation SQL-Parsing Regex-basiert,...
#517 Sicherheit Sicherheit 58 synced # Registrierung OHNE Credentials claude mcp add mcp-db \ --transport stdio \ ...
#518 Sicherheit Sicherheit 94 synced # Blockierte Queries (DENIED) "SELECT * FROM mcp_log; DROP TABLE mcp_log" "SELEC...
#519 Sicherheit Sicherheit 126 synced ProblemLegacy (mysql CLI)Lösung (MCP-DB) Credentials ...
#520 Sicherheit Sicherheit 85 synced # Suche nach mysql-Befehlen mit Passwörtern grep -r "mysql.*-p" /var/www/ --inc...
#521 Sicherheit Sicherheit 55 synced # Alt (unsicher) mysql -u claude_code -p ki_protokoll -e "SELECT * FROM tasks LI...
#522 Sicherheit Sicherheit 85 synced # Vorher (unsicher) DB_CONFIG = { 'user': 'claude_code', 'password': 'kl...
#523 Sicherheit MCP-Server 62 synced # Aus Claude Settings entfernen # settings.local.json darf KEINE Passwörter ent...
#524 Sicherheit Sicherheit 79 synced Nie Passwörter in Code: Immer Umgebungsvariablen oder MCP-DB nutzen .e...
#525 Sicherheit Sicherheit 105 synced EventIndikatorMaßnahme SQL Injection Versuch status='...
#526 Sicherheit Sicherheit 86 synced Der Hook /opt/scripts/hooks/block_direct_db.py blockiert Bash-Befehle mit mysql/...
#527 Sicherheit Sicherheit 95 synced Füge den Hook zur Claude Code Konfiguration hinzu: # Lokale Konfiguration (nur...
#528 Sicherheit Sicherheit 64 synced KomponenteBeschreibung Trigger Vor jedem Bash-Tool Auf...
#529 Sicherheit Sicherheit 99 synced # Test 1: Blockierter Befehl echo '{"tool_name": "Bash", "tool_input": {"command...
#530 Sicherheit Sicherheit 124 synced Mehrere Schutzmechanismen arbeiten zusammen: SchichtMechanismusSchutz vor ...
#531 Konfiguration Konfiguration 252 synced ``` `"""Zentrale Konfiguration""" import os from typing import List class Confi...
#532 Konfiguration Konfiguration 191 synced # Table Allowlist (29 Tabellen) ALLOWED_TABLES: List[str] = [ # ki_protokoll ...
#533 Konfiguration Konfiguration 89 synced VariableBeschreibungDefault DB_HOSTDatenbank-Host für Querieslocalhost...
#534 Konfiguration Konfiguration 57 synced # Datenbank für Queries (mcp_readonly) DB_HOST=localhost DB_USER=mcp_readonly D...
#535 Konfiguration Konfiguration 73 synced content_orders - Content-Aufträge content_versions - Content-Versionen...
#536 Konfiguration Entitäten 65 synced entities - Entitäten entity_relations - Entitäts-Relationen entit...
#537 Konfiguration Konfiguration 67 synced Diese Keywords werden in Queries blockiert (mit Word Boundaries): Kategorie...
#538 Konfiguration Konfiguration 63 synced # In config.py erweitern: ALLOWED_TABLES: List[str] = [ "mcp_log", "ki_e...
#539 Contracts Datenbank 129 synced Immutable Request-Objekt für Datenbankabfragen. from dataclasses import datacl...
#540 Contracts MCP-DB Contracts 70 synced Enum für Query-Ergebnisse. from enum import Enum class QueryStatus(Enum): ...
#541 Contracts Datenbankabfragen 121 synced Strukturierte Antwort auf Datenbankabfragen. @dataclass class QueryResponse: ...
#542 Contracts Contracts 177 synced Struktur für Protokoll-Einträge in mcp_log. from dataclasses import dataclass...
#543 Contracts Dokumentation 78 synced # Request erstellen request = QueryRequest( query="SELECT * FROM mcp_log WHE...
#544 Validators Frameworks 400 synced ``` `"""SRP: Separate Validierungslogik""" from typing import Tuple import re fr...
#545 Validators Hauptkategorie 92 synced return True, "" @staticmethod def _extract_table_names(query_upper: str) -> ...
#546 Validators Validators 70 synced #PrüfungFehler bei 1Query nicht leerLeere Query 2Query-Länge> ...
#547 Validators Validators 67 synced Keywords werden mit Word Boundaries erkannt: # Regex-Pattern für Keyword "DROP"...
#548 Validators Hauptkategorie 64 synced Tabellennamen werden aus FROM und JOIN Clauses extrahiert: # Query "SELECT * FRO...
#549 Validators MCP-DB Validators 71 synced LimitBeschreibungMitigation Regex-basiert Kein vollst�...
#550 Validators Validators 104 synced # Muss DENIED returnen: "SELECT * FROM mcp_log; DROP TABLE mcp_log" # DROP "SEL...
#551 Infrastructure Infrastructure 296 synced Singleton Connection Pool für Datenbankzugriffe. """Database Connection Pool""...
#552 Infrastructure Infrastructure 70 synced Bei jeder Verbindung wird max_statement_time gesetzt (MariaDB-spezifisch): SET S...
#553 Infrastructure Infrastructure 323 synced Logging aller Operationen nach ki_protokoll.mcp_log. """Logging in ki_protokoll...
#554 Infrastructure Infrastructure 103 synced CREATE TABLE IF NOT EXISTS mcp_log ( id INT AUTO_INCREMENT PRIMARY KEY, ...
#555 Infrastructure Infrastructure 91 synced # DatabaseConnection with DatabaseConnection.get_connection("ki_protokoll") as c...
#556 Tests Tests 75 synced Kategorie Tests Status db_select...
#557 Tests Tests 109 synced TestQueryErwartungStatus Simple SELECTSELECT 1 as testsuccessOK SEL...
#558 Tests Tests 63 synced TestQueryParamsStatus Single paramSELECT * FROM mcp_log WHERE status = ...
#559 Tests Tests 61 synced TabelleDatabaseErwartungStatus mcp_logki_protokollallowedOK protoko...
#560 Tests Tests 180 synced KategorieKeywordTest-QueryStatus DMLDROPSELECT ...; DROP TABLE xBLOCKED...
#561 Tests Tests 82 synced TestParameterErwartungStatus max_rows=1max_rows=1successOK max_rows...