skills/xsavikx/okf-skills/okf-mongodb/Gen Agent Trust Hub

okf-mongodb

Pass

Audited by Gen Agent Trust Hub on Oct 6, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill samples documents from a MongoDB database and incorporates field names and types into the generated OKF bundle (Markdown files). This creates an attack surface where malicious data in the database could influence the agent's interpretation of the catalog.\n
  • Ingestion points: sampleCollection function in main.go reads documents from a MongoDB collection.\n
  • Boundary markers: The inferred schema is placed in a Markdown table section labeled "# Columns".\n
  • Capability inventory: The skill can write files to the local system (okf.WriteConceptDoc) and create collections in the database (db.CreateCollection when using --sync).\n
  • Sanitization: The renderColumns function in mongodb.go uses okf.SanitizeCell to escape field names and types before inclusion in the Markdown table.\n- [COMMAND_EXECUTION]: The skill instructions involve building and running a Go binary that interacts with a database and the file system.\n
  • The skill uses go install to fetch the connector from the author's repository.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 6, 2026, 02:02 PM