T09 · Insecure Skill Coding Practices
- Location
bb-sites/gumtree/listing.js:65- Finding
Unrestricted Absolute URL Fetch Enables Server-Side Request Forgery
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly a Gumtree job-search helper, but its listing script can fetch arbitrary URLs and its install path adds persistent/global components, so users should review it before installing.
Install only if you are comfortable with a global bb-browser dependency and persistent adapter files. Prefer pinning the bb-browser version, reviewing the bundled JavaScript, and restricting listing lookups to Gumtree URLs or running the tool in a constrained environment.
bb-sites/gumtree/listing.js:65Unrestricted Absolute URL Fetch Enables Server-Side Request Forgery
SKILL.md:25Unpinned Global npm Dependency Creates a Supply-Chain Execution Risk
The skill claims specialization around jobs and part-time vacancies, but the analyzer indicates the underlying capability supports arbitrary classifieds queries and does not use or enforce a dedicated hours parameter. This kind of description-behavior mismatch can cause unsafe overtrust and policy bypass, since operators may allow the skill under the assumption it cannot access non-job content when it actually can.
The skill claims specialization around jobs and part-time vacancies, but the analyzer indicates the underlying capability supports arbitrary classifieds queries and does not use or enforce a dedicated hours parameter. This kind of description-behavior mismatch can cause unsafe overtrust and policy bypass, since operators may allow the skill under the assumption it cannot access non-job content when it actually can.
The skill requires and instructs use of bb-browser to perform live Gumtree queries, which is a network-capable action, yet the skill declares no explicit tool scope such as permissions or allowed-tools. Missing scope increases the chance the skill is run with broader-than-necessary capabilities and makes review harder because operators cannot tell from metadata what external access is intended.
The installation instructions copy site scripts into ~/.bb-browser/sites/gumtree, creating persistent behavior that survives the current session. Persistence is risky because modified or malicious scraper code placed in a user-scoped plugin directory can continue to run on future invocations, and the skill does not describe integrity verification or cleanup.
bb-sites/gumtree/search.js and bb-sites/gumtree/listing.js. Install:mkdir -p ~/.bb-browser/sites/gumtree
cp bb-sites/gumtree/search.js ~/.bb-browser/sites/gumtree/search.js
cp bb-sites/gumtree/listing.js ~/.bb-browser/sites/gumtree/listing.js
The request hard-codes Accept-Language: en-GB,en;q=0.9, which imposes a specific language/locale preference. Under the policy, locale constraints should be optional or clearly justified; this file does not offer user opt-in or explain why English (UK) is required.
This code performs an HTTP request to Gumtree using user-supplied search terms and location, which transmits potentially sensitive user intent or approximate location to an external site. Within this file there is no confirmation prompt, logging, comment, or docstring warning the user that their inputs will be sent over the network.
The request hard-codes the Accept-Language header to 'en-GB,en;q=0.9', which imposes a specific language/locale preference regardless of the user's settings or choice. This is a natural-language policy concern because the skill does not offer any language or locale opt-in, override, or documented justification for the constraint.