T08 · Insecure Dependencies
- Location
SKILL.md:5- Finding
Unverified Third-Party CLI Installed Globally from a Custom Registry
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This FreshBooks skill is purpose-aligned, but it needs review because it globally installs an unpinned third-party CLI that handles FreshBooks credentials and billing data.
Install only if you trust the @haseebuchiha/freshbooks-cli publisher and are comfortable giving that CLI access to FreshBooks credentials, tokens, clients, and invoices. Prefer a pinned, reviewed version or an isolated environment, and confirm every create, update, archive, or share-link action before it runs.
SKILL.md:5Unverified Third-Party CLI Installed Globally from a Custom Registry
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
npm install -g @haseebuchiha/freshbooks-cli
Requires `.npmrc` with `@haseebuchiha:registry=https://npm.pkg.github.com` for GitHub Package Registry.
## Setup (once)
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- `freshbooks auth login --client-id <id> --client-secret <secret> --manual` -- authenticate via OAuth2 OOB flow
- `freshbooks auth logout` -- clear stored tokens and credentials
- `freshbooks auth status` -- show account ID, token expiry, and auth state
- `freshbooks auth refresh` -- manually refresh the access token
## Clients commands
The description says to use the skill when the user mentions "freshbooks, invoicing, billing, clients, or accounting." While "freshbooks" is specific, terms like "billing," "clients," and especially "accounting" are broad and common across many contexts, which can cause the skill to activate outside the intended FreshBooks-specific workflow. The file does not provide narrowing constraints or negative examples to limit invocation scope.
No suspicious patterns detected.