T08 · Insecure Dependencies
- Location
SKILL.md:10- Finding
Unpinned Third-Party Installation and Execution of Unaudited Dependency Scripts
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 10–20
Vulnerability Type:T08: Insecure Dependencies
Risk Level: MediumVulnerable Code
markdown > **Requires `caremax-auth` as a sibling directory** (`../caremax-auth/`). If missing, tell the user to install caremax-auth first (e.g. `npx skills add KittenYang/caremax-skills`). List and work with family member profiles. CareMax supports tracking health data for multiple family members. ## Prerequisites — Auto-Auth (MANDATORY) ```bash APICALL="bash ../caremax-auth/scripts/api-call.sh"If
api-call.shreturns{"error":"no_credentials",...}→ immediately runbash ../caremax-auth/scripts/auth-flow.sh [base_url]in background (from this skill’s root). If the user specified a custom URL, pass it as the argument.text ### Technical Analysis The Skill recommends installing `KittenYang/caremax-skills` through `npx` without specifying an immutable package version, commit hash, checksum, or other integrity control. It subsequently mandates execution of `api-call.sh` and `auth-flow.sh` from the separately installed `../caremax-auth/` directory. Because the referenced scripts are not included in the audited project, their implementation, credential handling, command construction, network destinations, and update behavior cannot be verified. The effective behavior of this Skill therefore depends on mutable external supply-chain content. A compromised package source, repository, release, or dependency could cause attacker-controlled code to be installed and executed with the permissions of the Agent process. The authentication flow also accepts a user-specified `base_url`. Validation of that value cannot be confirmed because the receiving script is absent. This increases the importance of auditing the dependency and enforcing an allowlist of trusted authentication endpoints. ### Attack Path 1. A user invokes the family-member Skill while ...[truncated 1618 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the installer and CareMax dependency to reviewed, immutable versions or repository commit hashes rather than relying on a mutable source.
- Verify downloaded content using cryptographic checksums or signed release metadata before executing it.
- Include reviewed authentication scripts in the audited package where practical, or audit and version them together with this Skill.
- Require explicit user confirmation before installing external dependencies or starting an authentication process.
- Restrict
base_urlto an allowlist of trusted HTTPS origins and reject malformed URLs, untrusted hosts, redirects to unapproved origins, and plaintext HTTP. - Run authentication and API scripts with least privilege in a sandbox that limits filesystem, environment-variable, credential, and network access.
- Document the exact dependency version, expected script hashes, permitted network endpoints, and credential-storage behavior.
- Re-audit
api-call.sh,auth-flow.sh, and their transitive dependencies before treating the Skill as trusted.
