Inside ojo: How ColibriSec’s Scanner Finds Vulnerabilities, Secrets, and Misconfigurations

Under the hood of ojo's zero-dependency engine: manifest parsing, Tree-sitter SAST queries, OS package diffing, and offline vulnerability databases.

Inside ojo: How ColibriSec’s Scanner Finds Vulnerabilities, Secrets, and Misconfigurations
Photo by Krzysztof Kowalik / Unsplash

A deep dive into the engineering architecture behind ojo: how our zero-dependency engine parses manifests across 10 package ecosystems, executes Tree-sitter AST queries, and performs offline vulnerability matching from a single static Go binary.

🛠️
Architecture Principles: Native Implementations: Hand-crafted manifest parsers and secret engines rather than wrapping third-party CLI wrappers. Embedded Tree-sitter & go/ast: High-speed semantic AST traversal across Go, Python, JavaScript, TypeScript, PHP, Ruby, and Java. Offline-First Database: Embedded vulnerability advisory snapshots with optional air-gapped updates.

Core Architecture

ojo is built as a single, self-contained Go binary with no runtime dependencies. Rather than invoking external daemons or wrapping Node/Python runtimes, it owns its entire scanning pipeline:

┌───────────────────────────────────────────────────────────┐
│                     ojo CLI Runner                        │
│            ojo fs <path>    │    ojo image <ref>          │
└─────────────┬───────────────────────────────┬─────────────┘
              ▼                               ▼
┌─────────────────────────────┐ ┌───────────────────────────┐
│   Source & Manifest Engine   │ │     OCI Registry Client   │
│ • 10 Ecosystem Parsers      │ │ • Direct Layer Streaming  │
│ • Tree-sitter SAST Rules    │ │ • apk / dpkg DB Extractor │
│ • Secret Entropy Heuristics │ └─────────────┬─────────────┘
│ • IaC Policy Engine         │               │
└─────────────┬───────────────┘               │
              ▼                               ▼
┌───────────────────────────────────────────────────────────┐
│                 Vulnerability Matching Core               │
│         Advisory Graph + Semantic Version Resolution      │
└───────────────────────────────────────────────────────────┘

AST-Based SAST Engine

Unlike simple regex linters that generate massive false positives, ojo compiles syntax trees directly:

  • For Go: Uses Go's native standard library go/ast and go/parser for zero-overhead structural code inspection.
  • For Python, JS/TS, Java, PHP, Ruby: Embeds Tree-sitter C grammar bindings to construct concrete syntax trees and evaluate security query patterns.

Get Started with ojo

ojo is open source and available under the Apache 2.0 license. Visit colibrisec.dev for documentation, installation guides, and CI/CD GitHub Action integration examples.

Read more

Guía de Defensa para CISOs 6 de Noviembre de 2026 Xen XSA-523 Alpine OpenSSH sshhole LXD mTLS cPGuard y Cadena de Frío OT

Guía de Defensa para CISOs del 6 de Noviembre de 2026: Blindaje de Xen Dom0, OpenSSH musl en Alpine, LXD mTLS, Paneles cPGuard/CWP, Controladores OT de Cadena de Frío y AD CS

📌Security Roundup Series: Semana del 6 de Noviembre de 2026 • 9 min de lectura deep dive🚨Vulnerability Intelligence: CVE ID: CVE-2026-119977, CVE-2026-107441, XSA-523, CVE-2026-112816, CVE-2026-123158 y CVE-2026-58868 (Grant Copy en Hipervisor, Validación mTLS, Retorno de Error en musl crypt(a.plerdy.com), TOCTOU y Control de Acceso OT) Severity: MANUAL

By James Luther
Campaña Poisoned Source de APT29 en Plerdy, Kali365 y VoidProxy PhaaS, Teams AD CS y Brechas en Queens Library Myriad y mSecure

Campaña "Poisoned Source" de APT29 (Plerdy), PhaaS con Señuelos de IA (Kali365 y VoidProxy), Toma de Control AD CS vía Teams y Brechas Globales (Queens Library, Myriad Genetics, mSecure y Japón)

📌Security Roundup Series: Semana del 6 de Noviembre de 2026 • 9 min de lectura deep dive🏛️Incident Overview: Target / Organization: Sitios con Plerdy SEO (APT29), Empresas M365/Google (Kali365/VoidProxy), Queens Public Library, Myriad Genetics y mSecure Threat Actor / Attribution: APT29 (Midnight Blizzard), Operadores PhaaS Kali365 / VoidProxy, Brain Cipher Ransomware

By James Luther