T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:19- Finding
Unpinned Third-Party Package Is Retrieved and Executed
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is openly for remote agent diagnosis and repair, but it asks users to run mutable external code that sends broad local health data and automatically performs potentially destructive repairs.
Only install this after confirming you trust the Agent Hospital publisher and service. Run it with least privileges, avoid production or sensitive agent environments until there is a dry-run or approval mode, verify exactly what telemetry is uploaded, and check how cached credentials can be protected and revoked.
SKILL.md:19Unpinned Third-Party Package Is Retrieved and Executed
SKILL.md:25Broad Local Health Data Is Collected and Transmitted Without Defined Boundaries
SKILL.md:29Remote Diagnoses Can Trigger Destructive Local Repairs Automatically
SKILL.md:33Persistent Credential Cache Has No Documented Security Controls
The skill states that credentials are cached in ~/.agent-hospital/credentials.json, indicating creation of reusable local authentication material. Storing credentials on disk is not inherently unsafe, but without any mention of file permissions, encryption, rotation, or token scope, it creates credential exposure risk if the host is multi-user, compromised, or backups/logs are accessible.
5. Execute safe (whitelisted) repairs automatically
6. Report results back and repeat until healed or escalated
No setup, API keys, or configuration needed. Credentials are cached at `~/.agent-hospital/credentials.json` for future runs.
## Supported Frameworks
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
requires:
bins: [npx]
primaryEnv: ""
homepage: https://api.agent-hospital.ai/.well-known/llms.txt
---
# Agent Hospital
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
requires:
bins: [npx]
primaryEnv: ""
homepage: https://api.agent-hospital.ai/.well-known/llms.txt
---
# Agent Hospital
The skill instructs users to run npx @agent-hospital/sidecar heal without pinning an exact package version, which allows the executed code to change over time and expands supply-chain risk. Because this command is meant to collect local health data and perform repairs automatically, a compromised or newly published version could gain broad visibility into the host and make destructive changes.
The description says the tool will collect health data and send it to a remote doctor service, but it does not present a clear, prominent warning about the scope of exfiltrated local environment, integration, runtime, and log-derived data. In this context, hidden or underexplained transmission is dangerous because the skill targets production-like agent environments and may disclose sensitive operational metadata or secrets-adjacent information to an external service.
The skill advertises automatic execution of repairs while only later listing actions that include deleting files and killing processes, without a strong up-front destructive-action warning. This is dangerous because users may run the command expecting diagnostics only, while the sidecar can mutate system state, terminate services, or remove data in ways that affect availability and forensic evidence.