jarvis-doctor

Pass

Audited by Gen Agent Trust Hub on Oct 23, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests data from local files that may contain untrusted input from previous agent operations or external sources.
  • Ingestion points: Reads content from logs/audit.jsonl, TASKS.md, memory/corrections.jsonl, LESSONS.md, and logs/jobs.log to generate status reports.
  • Boundary markers: Instructions explicitly direct the agent to summarize errors (≤3 lines) and count specific occurrences rather than echoing raw content, though no formal delimiters are used for the file contents themselves.
  • Capability inventory: The skill has access to shell commands (grep, awk, jq), Python execution, and local script execution across the Jarvis directory.
  • Sanitization: Uses structured parsing with jq and json.loads in Python, alongside targeted filtering with grep and awk to extract specific fields rather than interpolating full text.
  • [COMMAND_EXECUTION]: The skill executes various diagnostic shell commands to verify process status and file integrity.
  • Commands executed include git ls-files for secret detection, shasum for model validation, and runtime-specific commands like claude doctor or ollama list.
  • Executes a local shell script bin/promote-skill.sh to lint discovered skills.
  • [DYNAMIC_EXECUTION]: The skill utilizes inline Python code to perform date calculations and process JSON logs at runtime.
  • Evidence: Uses python3 -I -c '...' to parse memory/corrections.jsonl and calculate the number of pending corrections older than 7 days.
  • [EXTERNAL_DOWNLOADS]: The skill connects to a well-known service to check for software updates.
  • Evidence: Fetches the latest release tag from GitHub's official API (gh api repos/yt-dlp/yt-dlp/releases/latest) to compare with the local version of yt-dlp.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 23, 2026, 02:16 AM