karakeep-bookmarks

Fail

Audited by Gen Agent Trust Hub on Nov 18, 2026

Risk Level: HIGHCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The Python implementation patterns for the Karakeep API functions are vulnerable to command injection. The query, server_url, and api_key parameters are directly interpolated into shell command strings executed via the terminal function. Evidence: In SKILL.md, the code f'-d \'{{"query": "{query}"}}\'' inside karakeep_search allows an attacker to break out of the intended curl command and execute arbitrary shell instructions if the query input contains shell metacharacters like single quotes and semicolons.
  • [INDIRECT_PROMPT_INJECTION]: The skill creates a vulnerability surface by ingesting and processing untrusted bookmark data from an external API while maintaining high-privilege tool access. Ingestion points: The karakeep_list_bookmarks and karakeep_search functions in SKILL.md fetch content (titles, summaries, tags) from a remote server. Boundary markers: There are no instructions or delimiters provided to ensure the agent ignores or sanitizes instructions that might be embedded in the retrieved bookmark content. Capability inventory: The skill utilizes the terminal tool, which provides full shell access to the host environment. Sanitization: The retrieved data is converted from JSON but not filtered or escaped, allowing malicious bookmark content to potentially influence the agent's logic or trigger the identified command injection vector.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Nov 18, 2026, 11:22 PM