github Python analyzed 3c56582

welshDog/3D-Print-Genie

github

Self-hosted AI print guardian for the Anycubic Kobra X — PrintGuard camera detection + Discord alerts + Supabase log + MCP + closed-loop pause spike.

maintainer
welshDog
license
MIT
first seen
2026-06-27
last seen
2026-07-22
releases · 30d
0
short id

Drift inferred · capture-to-capture

  1. HIGH code analysis flagged hidden prompt content in welshDog/3D-Print-Genie
capabilities 3 tools
transport counts 3 tools · 0 res · 0 prompts permission surface via code analysis

tools

  • job_stats
  • print_status
  • recent_jobs
skills & danger signals github-tarball
prompt-surface shipped agent-instruction files + hidden-content / dangerous-code findings — quoted from the analyzed source

analyzed commit 3c56582 · analyzer v28 · 1d ago

skills & prompt files 1

code evidence vHEAD · github-tarball
evidence-backed findings quoted directly from the published source artifact — not inferred

code files: 22

filesystem 2

  • fs welshDog-3D-Print-Genie-3c56582/service/app/pause.py :25 from pathlib import Path
  • fs welshDog-3D-Print-Genie-3c56582/spikes/probe_anycubic.py :28 from pathlib import Path

network 8

  • net welshDog-3D-Print-Genie-3c56582/mcp/server.py :12 Depends on the `mcp` package (pip install "mcp[cli]") and httpx.
  • net welshDog-3D-Print-Genie-3c56582/service/app/discord.py :4 import httpx
  • net welshDog-3D-Print-Genie-3c56582/service/app/economy.py :8 import httpx
  • net welshDog-3D-Print-Genie-3c56582/service/app/meshy.py :17 import httpx
  • net welshDog-3D-Print-Genie-3c56582/service/app/pause.py :61 import aiohttp
  • net welshDog-3D-Print-Genie-3c56582/service/app/supabase_client.py :11 import httpx
  • net welshDog-3D-Print-Genie-3c56582/spikes/probe_anycubic.py :47 import aiohttp # noqa: WPS433 (deferred so --help works without it)
  • net welshDog-3D-Print-Genie-3c56582/tools/simulate_printguard.py :29 import httpx

secrets 4

  • secrets welshDog-3D-Print-Genie-3c56582/service/app/config.py :19 self.supabase_service_role_key: str = os.getenv("SUPABASE_SERVICE_ROLE_KEY", "")
  • secrets welshDog-3D-Print-Genie-3c56582/service/app/pause.py :49 access_token = os.getenv("ANYCUBIC_ACCESS_TOKEN", "")
  • secrets welshDog-3D-Print-Genie-3c56582/spikes/probe_anycubic.py :31 ACCESS_TOKEN = os.getenv("ANYCUBIC_ACCESS_TOKEN", "")
  • secrets welshDog-3D-Print-Genie-3c56582/tools/simulate_printguard.py :107 default=os.getenv("PRINTGENIE_WEBHOOK_SECRET", "change-me"))

tool registrations 3

  • print_status welshDog-3D-Print-Genie-3c56582/mcp/server.py :34
  • recent_jobs welshDog-3D-Print-Genie-3c56582/mcp/server.py :40
  • job_stats welshDog-3D-Print-Genie-3c56582/mcp/server.py :46

declared dependencies 2

  • mcp@[cli]>=1.0.0
  • httpx@>=0.28.1