papoNIC HackNews | Ciberseguridad & Red Team Intel https://cdn.tailwindcss.com window.tailwind = window.tailwind || {}; tailwind.config = { darkMode: ‘class’, theme: { extend: { colors: { ‘cyber-bg’: ‘#050505’, ‘cyber-card’: ‘#121218’, ‘cyber-card-hover’: ‘#181822’, ‘cyber-red’: ‘#ff0033’, ‘cyber-red-dark’: ‘#8b001a’, ‘cyber-red-glow’: ‘#ff3355’, ‘cyber-gray’: ‘#1a1a24’, ‘cyber-border’: ‘#2d0a14’, ‘cyber-muted’: ‘#8a8a9e’ }, fontFamily: { orbitron: [‘Orbitron’,’sans-serif’], fira: [‘Fira Code’,’monospace’] }, boxShadow: { ‘neon-red’: ‘0 0 15px rgba(255,0,51,.4), 0 0 30px rgba(255,0,51,.1)’, ‘neon-sm’: ‘0 0 8px rgba(255,0,51,.5)’, ‘neon-inset’: ‘inset 0 0 15px rgba(255,0,51,.2)’ } } } }; /* Custom Scrollbar */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: #050505; } ::-webkit-scrollbar-thumb { background: #ff0033; border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: #ff3355; } /* CRT Scanline Effect Overlay */ .scanline-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; background: linear-gradient( rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50% ), linear-gradient( 90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03) ); background-size: 100% 4px, 6px 100%; z-index: 40; opacity: 0.6; } /* Matrix Background Canvas */ #matrixCanvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0.18; } /* Glitch Animation for Main Headers */ @keyframes glitch { 0% { text-shadow: 2px 0 0 #ff0033, -2px 0 0 #8b001a; } 25% { text-shadow: -2px 0 0 #ff0033, 2px 0 0 #8b001a; } 50% { text-shadow: 1px -1px 0 #ff0033, -1px 1px 0 #8b001a; } 75% { text-shadow: -1px 1px 0 #ff0033, 1px -1px 0 #8b001a; } 100% { text-shadow: 2px 0 0 #ff0033, -2px 0 0 #8b001a; } } .glitch-title { animation: glitch 3s infinite alternate ease-in-out; } /* Cyber Button Border Effect */ .cyber-btn { position: relative; transition: all 0.2s ease-in-out; clip-path: polygon(0 0, calc(100% – 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% – 10px)); } .cyber-btn:hover { box-shadow: 0 0 15px rgba(255, 0, 51, 0.6); transform: translateY(-1px); } /* Pulse Dot */ .pulse-dot { box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.7); animation: pulse-red 1.8s infinite; } @keyframes pulse-red { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.8); } 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 0, 51, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 51, 0); } } @keyframes marquee { from { transform: translateX(100%); } to { transform: translateX(-100%); } } @keyframes fadeIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: scale(1); } } @keyframes slideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
DEFCON 2
[ALERTA URGENTE 2026] Zero-Day en Protocolo Quantum-TLS detectado activamente.    •    [INCIDENTE] Ataque a Infraestructura Crítica Satelital interceptado por papoNIC Intel.    •    [VULNERABILIDAD] CVSS 9.9 en Kernel Linux Autonomous AI Modules.    •    [CRÉDITO] Informe publicado por papoNIC Red Team Security.

papoNIC HackNews

Official

Central de Ciberseguridad & Threat Intel // Creado por papoNIC

papoNIC
SISTEMA DE MONITOREO DE AMENAZAS EN TIEMPO REAL

Inteligencia de Vulnerabilidades & Red Team Exploits

Bienvenido al portal oficial de inteligencia cibernética curado por papoNIC. Monitoreo continuo de vectores de ataque, análisis Zero-Day, Malware sofisticado y directrices defensivas de nivel militar (2026 Edition).

14
Zero-Days Activos
99.8%
Precisión Intel
papoNIC
Lead Architect
papoNIC-OS v4.20-security-kernel
CLI CONSOLE // TYPE ‘help’
papoNIC Security Kernel loaded successfully.
Escribe help para listar los comandos disponibles o papoNIC para ver créditos.
papoNIC@sec-intel:~$
papoNIC HackNews

Centro de Inteligencia de Ciberseguridad & Red Team.

Creado por papoNIC – Red Team Intel / Ciberseguridad
HASH DE SEGURIDAD: SHA256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
© 2026 papoNIC HackNews. Todos los informes de inteligencia son estrictamente para fines defensivos e investigativos.
// ========================================== // 1. DATASET: NEWS ARTICLES (2026 EDITION) // ========================================== const newsData = [ { id: “cve-2026-9041”, title: “Zero-Day Crítico CVSS 10.0 en Kernel de Inteligencia Artificial Autónoma”, category: “Vulnerabilidades”, threatLevel: “Crítica”, date: “18 Sep 2026”, readTime: “6 min”, views: 3420, summary: “papoNIC Red Team descubre un desbordamiento de búfer en los módulos de inferencia neural que permite la ejecución remota de código en supercomputadores industriales.”, author: “papoNIC”, fullContent: `

Durante una sesión de auditoría interna realizada por papoNIC Red Team Intel, se identificó un fallo devastador catalogado como desbordamiento de memoria heap en la capa de procesamiento vectorial de kernels de IA autónomos versión 5.1+.

Un atacante remoto no autenticado puede enviar un vector de entrada manipulado con tensores malformados para eludir las protecciones ASLR y depurar instrucciones arbitarias con privilegios del sistema primario (root/SYSTEM).

Este hallazgo pone en riesgo miles de clusters de automatización industrial y centros de datos dedicados a modelos generativos de respuesta crítica.

`, pocCode: `# PoC Explotación Inteligencia Neural papoNIC import socket import struct target_ip = “192.168.100.250” target_port = 9090 # Payload tensor de ataque de precisión descubierto por papoNIC tensor_header = b”NEURAL_EXEC_V5\x00\xFF\xFF” overflow_buffer = b”A” * 1024 + struct.pack(“<Q", 0x7FFFFFFF4000) # ROP Gadget sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect((target_ip, target_port)) sock.sendall(tensor_header + overflow_buffer) print("[+] Exploit enviado con éxito por papoNIC Red Team script.") sock.close()`, mitigation: "Actualizar inmediatamente al parche de emergencia v5.1.9-papoNIC-sec. Restringir puertos de inferencia vectorial únicamente a redes internas mediante VLANs segmentadas.", comments: [ { author: "CyberNinja_X", text: "Excelente análisis de papoNIC. Confirmado en nuestros entornos de prueba.", date: "Hace 2 horas" }, { author: "SecOps_Admin", text: "Parche aplicado a primera hora. Gracias al equipo de papoNIC por la divulgación responsable.", date: "Hace 45 mins" } ] }, { id: "malware-quantum-worm", title: "Nuevas Variantes de Ransomware Utilizan Cifrado Post-Cuántico NTRU", category: "Malware", threatLevel: "Alta", date: "17 Sep 2026", readTime: "4 min", views: 2890, summary: "La cepa conocida como 'KyberCrypt' ha comenzado a propagarse mediante redes Mesh satelitales, encriptando servidores sin posibilidad de descifrado tradicional.", author: "papoNIC", fullContent: `

Investigaciones recientes de papoNIC revelan la primera cepa de malware completamente funcional que implementa algoritmos de clave pública post-cuántica (Kyber-1024 y NTRUEncrypt).

El gusano se propaga automáticamente a través de vulnerabilidades de día cero en enrutadores de red mesh satelitales, anulando cualquier intento de recuperación mediante computación cuántica o descifrado por fuerza bruta.

`, pocCode: `// Firma de Detección YARA creada por papoNIC rule KyberCrypt_PostQuantum_Malware { meta: author = “papoNIC Red Team Intel” description = “Detecta la variante de ransomware post-cuántico 2026” strings: $pqc_header = “KYBER1024_ENC_KEY” $sat_worm = “mesh_satellite_broadcast_exploit” condition: all of them }`, mitigation: “Aislar los nodos de enlace satelital. Mantener respaldos offline inmutables (WORM) y activar el monitoreo heurístico de la consola papoNIC.”, comments: [ { author: “GusanoHex”, text: “Cifrado Kyber-1024… el futuro del ransomware ya llegó.”, date: “Hace 5 horas” } ] }, { id: “leak-cloud-identity”, title: “Filtración Masiva de Claves de API y Tokens OAuth en Clústeres Multicloud”, category: “Filtraciones”, threatLevel: “Crítica”, date: “16 Sep 2026”, readTime: “5 min”, views: 4100, summary: “Más de 12 millones de credenciales administrativas expuestas en repositorio mal configurado. papoNIC publica herramientas de auditoría inmediata.”, author: “papoNIC”, fullContent: `

El equipo de inteligencia de papoNIC detectó una base de datos expuesta públicamente en un buckets de almacenamiento mal configurado que contenía más de 12.5 millones de llaves de API activas, secretos JWT y tokens OAuth.

Las credenciales pertenecen a empresas internacionales de telecomunicaciones, bancos y proveedores de servicios en la nube.

`, pocCode: `# Script papoNIC para auditar tu organización ante la filtración curl -s “https://api.papoNIC-news.net/v1/audit-credentials” \\ -H “X-papoNIC-Intel-Token: SECRET_AUDIT_KEY” \\ -d ‘{“domain”: “tu-empresa.com”}’ | jq .`, mitigation: “Revocar inmediatamente todos los tokens de acceso OAuth e implementar rotación automática de claves de API cada 24 horas.”, comments: [] }, { id: “def-satellite-mesh”, title: “Guía de Ciberdefensa: Endurecimiento de Mallas Satelitales LEO en 2026”, category: “Ciberdefensa”, threatLevel: “Media”, date: “15 Sep 2026”, readTime: “8 min”, views: 1950, summary: “Documento técnico y mejores prácticas desarrolladas por papoNIC para asegurar la infraestructura de comunicación orbital y nodos terrestres.”, author: “papoNIC”, fullContent: `

En este informe especial redactado por papoNIC, se detallan las configuraciones esenciales de seguridad para prevenir la interceptación y suplantación de señal en enlaces satelitales LEO (Low Earth Orbit).

Incluye plantillas de configuración de firewall y protocolos de autenticación de espectro ensanchado para terminales en tierra.

`, pocCode: `# Configuración de Firewall Satelital (papoNIC Defense Spec) iptables -A INPUT -p udp –dport 5511 -m string –algo bm –string “LEO_AUTH_VALID” -j ACCEPT iptables -A INPUT -p udp –dport 5511 -j DROP`, mitigation: “Aplicar la plantilla de hardening de papoNIC y forzar el cifrado de enlace físico en banda Ka.”, comments: [ { author: “OrbitAdmin”, text: “Excelente aporte de papoNIC para la seguridad espacial.”, date: “Ayer” } ] }, { id: “ai-sec-agentic-malware”, title: “Agentes de IA Maliciosos Capaces de Reescritura Autónoma de Exploits”, category: “IA & Seguridad”, threatLevel: “Crítica”, date: “14 Sep 2026”, readTime: “7 min”, views: 5210, summary: “papoNIC demuestra cómo un modelo LLM local optimizado puede evadir todas las firmas EDR reescribiendo su propio código en tiempo de ejecución.”, author: “papoNIC”, fullContent: `

En una investigación pionera, papoNIC Red Team analizó el comportamiento de ‘AutoMutate-AI’, un agente malicioso que utiliza micro-modelos locales para mutar su polimorfismo ejecutable cada vez que detecta un proceso de monitoreo EDR o sandbox.

`, pocCode: `// Pseudo-Código del bucle de mutación por papoNIC void polymorphic_loop() { char* new_shellcode = ai_engine_rewrite(current_shellcode); execute_in_memory(new_shellcode); free(current_shellcode); }`, mitigation: “Migrar hacia análisis de comportamiento contextual basado en hardware e hipervisor en lugar de firmas estáticas.”, comments: [] } ]; const categories = [“Todas”, “Vulnerabilidades”, “Malware”, “Ciberdefensa”, “IA & Seguridad”, “Filtraciones”]; let currentCategory = “Todas”; let currentSearchQuery = “”; let activeModalArticle = null; // ========================================== // 2. INITIALIZATION ON LOAD // ========================================== window.addEventListener(‘DOMContentLoaded’, () => { initMatrixCanvas(); renderCategoryTabs(); renderNewsFeed(); renderTrendingList(); startLiveClock(); startAttackCounterAnimation(); initTerminalEvents(); }); // ========================================== // 3. MATRIX RAIN CANVAS ANIMATION // ========================================== function initMatrixCanvas() { const canvas = document.getElementById(‘matrixCanvas’); if (!canvas) return; const ctx = canvas.getContext(‘2d’); function resizeCanvas() { canvas.width = window.innerWidth; canvas.height = window.innerHeight; } resizeCanvas(); window.addEventListener(‘resize’, resizeCanvas); const katakana = ‘アァカサタナハマヤャラワガザダバパイィキシチニヒミリヰギジヂビピウゥクスツヌフムユュルグズブヅプエェケセテネヘメレヱゲゼデベペオォコソトノホモヨョロヲゴゾドボポヴッン’; const latin = ‘ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789papoNIC_RED_TEAM_HACK_NEWS’; const alphabet = katakana + latin; const fontSize = 14; let columns = Math.floor(canvas.width / fontSize) + 1; let rainDrops = Array(columns).fill(1); function draw() { ctx.fillStyle = ‘rgba(5, 5, 5, 0.08)’; ctx.fillRect(0, 0, canvas.width, canvas.height); ctx.font = fontSize + ‘px Fira Code, monospace’; for (let i = 0; i 0.9 ? ‘#ffffff’ : (Math.random() > 0.5 ? ‘#ff0033’ : ‘#8b001a’); ctx.fillText(text, x, y); if (y > canvas.height && Math.random() > 0.975) rainDrops[i] = 0; rainDrops[i]++; } } window.addEventListener(‘resize’, () => { columns = Math.floor(canvas.width / fontSize) + 1; rainDrops = Array(columns).fill(1); }); setInterval(draw, 35); } // ========================================== // 4. CLOCK & LIVE ATTACK COUNTER // ========================================== function startLiveClock() { const clockEl = document.getElementById(‘liveClock’); setInterval(() => { const now = new Date(); const utcStr = now.toUTCString().split(‘ ‘)[4]; clockEl.innerHTML = ` ${utcStr} UTC`; }, 1000); } function startAttackCounterAnimation() { let count = 1842910; const counterEl = document.getElementById(‘attackCounter’); const logFeedEl = document.getElementById(‘liveLogFeed’); const vectors = [“UDP Flood”, “DNS Amplification”, “Quantum Exploit”, “BGP Hijack”, “OAuth Spoof”]; const origins = [“APT-2026-X”, “ShadowCluster-9”, “RedChina-Node”, “CyberViper”, “papoNIC-Lab-Test”]; setInterval(() => { const increment = Math.floor(Math.random() * 15) + 3; count += increment; counterEl.innerText = count.toLocaleString(‘es-ES’); // Randomly add log line if (Math.random() > 0.4) { const randomVector = vectors[Math.floor(Math.random() * vectors.length)]; const randomOrigin = origins[Math.floor(Math.random() * origins.length)]; document.getElementById(‘liveOrigin’).innerText = randomOrigin; document.getElementById(‘liveVector’).innerText = randomVector; const timeStamp = new Date().toLocaleTimeString(); const logItem = document.createElement(‘div’); logItem.className = ‘text-[10px] border-b border-cyber-border/40 pb-0.5’; logItem.innerHTML = `[${timeStamp}] ${randomOrigin} -> ${randomVector}`; logFeedEl.prepend(logItem); if (logFeedEl.children.length > 8) { logFeedEl.removeChild(logFeedEl.lastChild); } } }, 1600); } // ========================================== // 5. RENDER CATEGORIES & NEWS FEED // ========================================== function renderCategoryTabs() { const container = document.getElementById(‘categoryContainer’); container.innerHTML = categories.map(cat => { const isActive = cat === currentCategory; return ` `; }).join(”); } function setCategory(cat) { currentCategory = cat; renderCategoryTabs(); renderNewsFeed(); } function handleSearch() { const query = document.getElementById(‘searchInput’).value.trim(); currentSearchQuery = query; const clearBtn = document.getElementById(‘clearSearchBtn’); if (query.length > 0) { clearBtn.classList.remove(‘hidden’); } else { clearBtn.classList.add(‘hidden’); } renderNewsFeed(); } function clearSearch() { document.getElementById(‘searchInput’).value = ”; currentSearchQuery = ”; document.getElementById(‘clearSearchBtn’).classList.add(‘hidden’); renderNewsFeed(); } function resetFilters() { currentCategory = ‘Todas’; clearSearch(); renderCategoryTabs(); } function renderNewsFeed() { const grid = document.getElementById(‘newsGrid’); const noResults = document.getElementById(‘noResults’); const filtered = newsData.filter(item => { const matchesCategory = (currentCategory === “Todas”) || (item.category === currentCategory); const q = currentSearchQuery.toLowerCase(); const matchesSearch = !q || item.title.toLowerCase().includes(q) || item.summary.toLowerCase().includes(q) || item.category.toLowerCase().includes(q) || item.author.toLowerCase().includes(q); return matchesCategory && matchesSearch; }); if (filtered.length === 0) { grid.innerHTML = ”; noResults.classList.remove(‘hidden’); return; } noResults.classList.add(‘hidden’); grid.innerHTML = filtered.map(item => { let badgeStyle = ‘bg-yellow-500/20 text-yellow-400 border-yellow-500/40’; if (item.threatLevel === ‘Crítica’) { badgeStyle = ‘bg-cyber-red/20 text-cyber-red border-cyber-red/50 animate-pulse’; } else if (item.threatLevel === ‘Alta’) { badgeStyle = ‘bg-orange-500/20 text-orange-400 border-orange-500/40’; } return `
${item.threatLevel} ${item.category}
${item.date}

${item.title}

${item.summary}

${item.author} ${item.readTime}
`; }).join(”); } function renderTrendingList() { const container = document.getElementById(‘trendingList’); const sorted = […newsData].sort((a, b) => b.views – a.views).slice(0, 4); container.innerHTML = sorted.map((item, index) => `
  • #${index + 1}
    ${item.title}
    ${item.views.toLocaleString()} lecturas por papoNIC Intel
  • `).join(”); } // ========================================== // 6. MODAL INTERACTIVE LOGIC // ========================================== function openModal(articleId) { const article = newsData.find(a => a.id === articleId); if (!article) return; activeModalArticle = article; article.views += 1; // Increment view count document.getElementById(‘modalTitle’).innerText = article.title; document.getElementById(‘modalAuthor’).innerText = article.author; document.getElementById(‘modalDate’).innerText = article.date; document.getElementById(‘modalReadTime’).innerText = article.readTime; document.getElementById(‘modalViews’).innerText = article.views.toLocaleString(); document.getElementById(‘modalCategory’).innerText = article.category; document.getElementById(‘modalBody’).innerHTML = article.fullContent; document.getElementById(‘modalPocCode’).innerText = article.pocCode; document.getElementById(‘modalMitigation’).innerText = article.mitigation; const badgeEl = document.getElementById(‘modalThreatBadge’); badgeEl.innerText = article.threatLevel; if (article.threatLevel === ‘Crítica’) { badgeEl.className = ‘text-xs font-orbitron font-bold px-2.5 py-1 rounded uppercase bg-cyber-red text-white shadow-neon-sm’; } else { badgeEl.className = ‘text-xs font-orbitron font-bold px-2.5 py-1 rounded uppercase bg-yellow-500 text-black’; } renderModalComments(); document.getElementById(‘newsModal’).classList.remove(‘hidden’); document.body.style.overflow = ‘hidden’; } function closeModal() { document.getElementById(‘newsModal’).classList.add(‘hidden’); document.body.style.overflow = ‘auto’; activeModalArticle = null; } function copyPocCode() { const code = document.getElementById(‘modalPocCode’).innerText; const tempTextArea = document.createElement(‘textarea’); tempTextArea.value = code; document.body.appendChild(tempTextArea); tempTextArea.select(); document.execCommand(‘copy’); document.body.removeChild(tempTextArea); showToast(‘¡Código PoC copiado al portapapeles!’); } function renderModalComments() { if (!activeModalArticle) return; const container = document.getElementById(‘modalCommentsList’); const countBadge = document.getElementById(‘commentCountBadge’); const comments = activeModalArticle.comments || []; countBadge.innerText = `${comments.length} Comentario${comments.length === 1 ? ” : ‘s’}`; if (comments.length === 0) { container.innerHTML = `

    No hay comentarios aún. Sé el primero en opinar.

    `; return; } container.innerHTML = comments.map(c => `
    ${escapeHtml(c.author)} ${escapeHtml(c.date)}

    ${escapeHtml(c.text)}

    `).join(”); } function submitComment() { const authorInput = document.getElementById(‘commentAuthorInput’); const textInput = document.getElementById(‘commentTextInput’); const author = authorInput.value.trim() || ‘Hacker_Anonimo’; const text = textInput.value.trim(); if (!text) { showToast(‘Por favor escribe un comentario antes de publicar.’); return; } if (!activeModalArticle.comments) { activeModalArticle.comments = []; } activeModalArticle.comments.unshift({ author: author, text: text, date: ‘Justo ahora’ }); textInput.value = ”; renderModalComments(); showToast(‘Comentario publicado con éxito en el servidor papoNIC’); } // Helper string escape function escapeHtml(str) { return String(str).replace(/&/g, ‘&’).replace(//g, ‘>’).replace(/”/g, ‘"’).replace(/’/g, ‘'’); } // ========================================== // 7. INTERACTIVE CLI TERMINAL ENGINE // ========================================== function initTerminalEvents() { const input = document.getElementById(‘terminalInput’); input.addEventListener(‘keydown’, (e) => { if (e.key === ‘Enter’) { executeCommand(); } }); } function executeCommand() { const inputEl = document.getElementById(‘terminalInput’); const cmdRaw = inputEl.value.trim(); if (!cmdRaw) return; const outputEl = document.getElementById(‘terminalOutput’); // Print user command line const userLine = document.createElement(‘div’); userLine.className = ‘text-gray-300 font-bold’; userLine.innerHTML = `papoNIC@sec-intel:~$ ${escapeHtml(cmdRaw)}`; outputEl.appendChild(userLine); inputEl.value = ”; const cmd = cmdRaw.toLowerCase(); const responseLine = document.createElement(‘div’); responseLine.className = ‘text-gray-300 pl-2 border-l-2 border-cyber-red my-1’; switch (cmd) { case ‘help’: responseLine.innerHTML = `
    Comandos disponibles en papoNIC-OS:
    papoNIC – Información del autor
    about – Resumen del portal
    news – Listar titulares recientes
    status – Estado de nodos defensivos
    defcon – Nivel de alerta global
    clear – Limpiar la consola
    matrix – Efecto de Matrix rápido
    `; break; case ‘papoNIC’: case ‘paponic’: case ‘credits’: case ‘author’: responseLine.innerHTML = `
    === CRÉDITOS OFICIALES ===
    Creado y Desarrollado por: papoNIC
    Especialidad: Red Team Intel / Ciberseguridad Ofensiva
    Versión Sistema: 4.8.2-SEC (2026 Release)
    “La mejor defensa es entender a profundidad el vector de ataque.”
    `; break; case ‘about’: responseLine.innerHTML = `papoNIC HackNews es una plataforma interactiva de inteligencia de ciberseguridad, análisis Zero-Day y monitoreo de amenazas globales en tiempo real.`; break; case ‘news’: const newsList = newsData.map((n, idx) => `${idx + 1}. [${n.threatLevel}] ${n.title}`).join(‘
    ‘); responseLine.innerHTML = `
    Últimos informes papoNIC:
    ${newsList}`; break; case ‘status’: responseLine.innerHTML = `
    Status Node: papoNIC-PRIMARY-ONLINE
    Cifrado: AES-256-GCM / Post-Quantum (Active)
    Amenazas Monitoreadas: 14 Zero-Days
    `; break; case ‘defcon’: responseLine.innerHTML = `[DEFCON 2] Estado de alerta elevado por exploits de IA y mallas satelitales en 2026.`; break; case ‘clear’: outputEl.innerHTML = ”; return; case ‘matrix’: showToast(‘¡Efecto Matrix reactivado con brillo alto por papoNIC!’); responseLine.innerHTML = `01001000 01000001 01000011 01001011 01000101 01000100`; break; default: responseLine.innerHTML = `Comando no reconocido: ‘${escapeHtml(cmdRaw)}’. Escribe ‘help’ para guía.`; break; } outputEl.appendChild(responseLine); outputEl.scrollTop = outputEl.scrollHeight; } function clearTerminal() { document.getElementById(‘terminalOutput’).innerHTML = ‘
    Consola reiniciada por papoNIC.
    ‘; } // ========================================== // 8. TOAST SYSTEM // ========================================== function showToast(message) { const container = document.getElementById(‘toastContainer’); const toast = document.createElement(‘div’); toast.className = ‘bg-black/90 border-l-4 border-cyber-red text-white text-xs font-fira p-3 rounded shadow-neon-sm flex items-center space-x-2 animate-[slideIn_0.2s_ease-out] pointer-events-auto min-w-[250px]’; toast.innerHTML = ` ${escapeHtml(message)} `; container.appendChild(toast); setTimeout(() => { toast.classList.add(‘opacity-0’, ‘transition-opacity’, ‘duration-300’); setTimeout(() => { if (toast.parentNode) { container.removeChild(toast); } }, 300); }, 3000); } // ========================================== // 9. EVENT BINDINGS // ========================================== document.addEventListener(‘DOMContentLoaded’, () => { const search = document.getElementById(‘searchInput’); const clear = document.getElementById(‘clearSearchBtn’); const reset = document.getElementById(‘resetFiltersBtn’); const closeModalBtn = document.getElementById(‘closeModalBtn’); const copyBtn = document.getElementById(‘copyPocBtn’); const submitCommentBtn = document.getElementById(‘submitCommentBtn’); const executeBtn = document.getElementById(‘executeTerminalBtn’); const categoryContainer = document.getElementById(‘categoryContainer’); const newsGrid = document.getElementById(‘newsGrid’); const trendingList = document.getElementById(‘trendingList’); if (search) search.addEventListener(‘input’, handleSearch); if (clear) clear.addEventListener(‘click’, clearSearch); if (reset) reset.addEventListener(‘click’, resetFilters); if (closeModalBtn) closeModalBtn.addEventListener(‘click’, closeModal); if (copyBtn) copyBtn.addEventListener(‘click’, copyPocCode); if (submitCommentBtn) submitCommentBtn.addEventListener(‘click’, submitComment); if (executeBtn) executeBtn.addEventListener(‘click’, executeCommand); if (categoryContainer) categoryContainer.addEventListener(‘click’, (e) => { const btn = e.target.closest(‘button’); if (btn && btn.dataset.category) setCategory(btn.dataset.category); }); if (newsGrid) newsGrid.addEventListener(‘click’, (e) => { const btn = e.target.closest(‘.read-news-btn’); if (btn) openModal(btn.dataset.newsId); }); if (trendingList) trendingList.addEventListener(‘click’, (e) => { const item = e.target.closest(‘[data-news-id]’); if (item) openModal(item.dataset.newsId); }); document.addEventListener(‘keydown’, (e) => { if (e.key === ‘Escape’) closeModal(); }); const modal = document.getElementById(‘newsModal’); if (modal) modal.addEventListener(‘click’, (e) => { if (e.target === modal) closeModal(); }); });