T09 · Insecure Skill Coding Practices
- Location
bambu.py:31- Finding
MQTT TLS Certificate Verification Is Disabled
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This appears to be a real local Bambu printer-control skill, but it exposes high-impact printer commands with weak safeguards.
Review before installing. Use this only with a trusted local network and a printer you intend the agent to control. Treat raw G-code, stop, speed, and temperature commands as potentially disruptive physical actions, and prefer adding confirmations, G-code restrictions, and certificate pinning before routine use.
bambu.py:31MQTT TLS Certificate Verification Is Disabled
SKILL.md:17Third-Party MQTT Dependency Is Installed Without Version or Integrity Pinning
Arbitrary G-code is sent to the printer with no warning, validation, or restriction, despite direct physical effects on heaters, motors, fans, and motion systems. Because this is a hardware-control skill, unrestricted command injection is more dangerous than in a text-only tool: a single command can overheat components, move axes unexpectedly, or damage an in-progress job.
The documentation exposes commands that can directly alter printer state, including pausing, stopping, changing temperatures, changing speed, toggling hardware, and sending arbitrary G-code, without any warning about safety, material waste, interrupted jobs, or hardware risk. In a skill specifically designed for physical device control, omitting cautions and confirmation guidance increases the chance that users or downstream agents invoke disruptive or irreversible actions inappropriately.
The print_control path issues pause, resume, and especially stop commands immediately with no confirmation, dry-run, or warning. In an agentic or automated environment, this can cause unexpected interruption of prints, wasted material, and possible unsafe state transitions if commands are triggered accidentally or by prompt manipulation.
The skill exposes a raw gcode subcommand that forwards arbitrary user-supplied G-code directly to the printer. In the context of a printer-control skill, this expands the capability from bounded device management to unrestricted hardware control, enabling dangerous movements, heating, motor commands, or safety bypasses if invoked by a user, another tool, or an LLM agent without sufficient validation.
The module description and subsequent user-facing strings are written in French, and the script does not provide any locale or language selection. This can violate language-choice policy when a skill forces a specific language without user opt-in or documented justification.
No suspicious patterns detected.