Back to skill

Security audit

Marktplaats

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent Marktplaats selling assistant, but it includes broad browser and network probing commands that can expose unrelated browser data or supplied credentials.

Review carefully before installing. Use it only for the intended Marktplaats workflow, keep Safari on the relevant Marktplaats page when probing, avoid --curl with --cookie/--cookie-file/--header, do not pass arbitrary --url values, and store generated snapshots/register files as private because they may contain ad or form data.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
Findings (5)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/marktplaats-place-probe.js:395
Finding

Authentication Material Can Be Forwarded to Arbitrary Network Destinations

Content
View full analysis
line.trim()).filter(Boolean); const cookieLine = lines.find((line) => !line.startsWith('#') && line.includes('\t')); if (!cookieLine) return content; const parts = cookieLine.split('\t'); const name = parts.at(-2); const value = parts.at(-1); return `${name}=${value}`; } async function curlProbe(options) { if (!options.url) { throw new Error('curl mode requires --url'); } const userAgent = resolveUserAgent(options.userAgent); const headers = new Headers({ 'User-Agent': userAgent, Accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', ...Object.fromEntries(options.header.map((value) => { const idx = value.indexOf(':'); if (idx === -1) return [value, '']; return [value.slice(0, idx).trim(), value.slice(idx + 1).trim()]; })), }); const cookie = options.cookie ?? loadCookieFile(options.cookieFile); if (cookie) { headers.set('Cookie', cookie); } const response = await fetch(options.url, { redirect: 'follow', headers, }); ``` ### Technical Analysis The command accepts an unrestricted destination through `--url` while also accepting a raw cookie, a cookie-export file, and arbitrary headers. It then sends those values to the supplied destination wit ...[truncated 1420 chars]
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Error
Location
scripts/marktplaats-place-probe.js:211
Finding

Default Safari Probe Reads Form Values from Any Active Browser Page

Content
View full analysis
{ const collectInputs = (root) => Array.from(root.querySelectorAll('input, textarea, select')).map((el) => { const record = { name: el.name || '', type: el.type || el.tagName.toLowerCase(), value: 'value' in el ? el.value : '', checked: Boolean(el.checked), disabled: Boolean(el.disabled), }; if (el.tagName === 'SELECT') { record.options = Array.from(el.options).map((opt) => ({ value: opt.value, text: opt.text, selected: Boolean(opt.selected), })); } return record; }); return { source: 'safari-dom', title: document.title, url: location.href, security: (() => { const text = document.body?.innerText || ''; // Security-signal detection omitted here for clarity. })(), forms: Array.from(document.forms).map((form) => ({ action: form.action, method: form.method, id: form.id, className: form.className, inputs: collectInputs(form), })), }; })()); `; const applescript = `tell application "Safari" set probeResult to do JavaScript ${JSON.stringify(js)} in front document return probeResult end tell`; const raw = execFileSync('osascript', ['-e', applescript], { encoding: 'utf8' }).trim(); return JSON.parse(raw); } ``` Relevant redaction logic: ```js function isSensitiveField(name) { return /(?:xsrf|token|auth|cookie|signature|tmsid|sellername|postcode|email|phone|telephone|address|street)/i.test(String(name || '')) ...[truncated 1772 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
scripts/marktplaats-place-probe.js:379
Finding

Place Probe Permits Server-Side Request Forgery to Internal Services

Content
View full analysis
{ const idx = value.indexOf(':'); if (idx === -1) return [value, '']; return [value.slice(0, idx).trim(), value.slice(idx + 1).trim()]; })), }); const cookie = options.cookie ?? loadCookieFile(options.cookieFile); if (cookie) { headers.set('Cookie', cookie); } const response = await fetch(options.url, { redirect: 'follow', headers, }); const body = await response.text(); const isLoginRedirect = /\/identity\/v2\/login\b/.test(response.url) || /Inloggen op uw account/i.test(body); const security = detectSecuritySignals(body, response.url); const bodyLimit = Number.isFinite(options.bodyLimit) ? options.bodyLimit : 0; const bodyPreview = bodyLimit === 0 ? '' : body.slice(0, bodyLimit); return { source: 'curl', url: response.url, status: response.status, ok: response.ok, isLoginRedirect, security, requestHeaders: { 'user-agent': userAgent, accept: headers.get('Accept'), }, headers: Object.fromEntries(response.headers.entries()), body: bodyPreview, bodyTruncated: bodyPreview.length < body.length, bodyLength: body.length, }; } ``` ### Technical Analysis The probe performs a network request to any supplied URL. There is no validation of the protocol, hostname, resolved IP address, port, or redirect chain. It can therefore reach: - Loopback services such as `127.0 ...[truncated 1290 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
scripts/marktplaats-live-verify.js:241
Finding

Live Verification Fetches Arbitrary URLs from CLI Input or Local Ad State

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
src/api.js:333
Finding

Public Listing-Details Function and CLI Accept Arbitrary HTTP URLs

Content
View full analysis
400 ? '…' : ''}`); } if (details.priceDisplay) { console.log(`Price (from page): ${details.priceDisplay}`); } if (details.images.length > 0) { console.log(`Images: ${details.images.slice(0, 3).join(', ')}${details.images.length > 3 ? ' ...' : ''}`); } console.log(`Source: ${details.url}`); } ``` ### Technical Analysis Any input beginning with the characters `http` is treated as a complete listing URL. The code does not parse or validate the destination and does not require a Marktplaats hostname. This behavior is publicly exported through `src/index.js` and directly reachable with the CLI's `--details` option. The response parser can disclose selected response content through: - The HTML descript ...[truncated 1076 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (15)

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The description says 'publisher' and references stricter gates, but the observed behaviors focus on searching listings, fetching categories/facets, parsing listing pages, and ID-mapping utilities, with no clear publishing function. Mislabeling operational capabilities undermines trust and makes it easier for a broad data-access tool to bypass scrutiny intended for a simple posting assistant.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The description says 'publisher' and references stricter gates, but the observed behaviors focus on searching listings, fetching categories/facets, parsing listing pages, and ID-mapping utilities, with no clear publishing function. Mislabeling operational capabilities undermines trust and makes it easier for a broad data-access tool to bypass scrutiny intended for a simple posting assistant.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The description says 'publisher' and references stricter gates, but the observed behaviors focus on searching listings, fetching categories/facets, parsing listing pages, and ID-mapping utilities, with no clear publishing function. Mislabeling operational capabilities undermines trust and makes it easier for a broad data-access tool to bypass scrutiny intended for a simple posting assistant.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The description says 'publisher' and references stricter gates, but the observed behaviors focus on searching listings, fetching categories/facets, parsing listing pages, and ID-mapping utilities, with no clear publishing function. Mislabeling operational capabilities undermines trust and makes it easier for a broad data-access tool to bypass scrutiny intended for a simple posting assistant.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The description says 'publisher' and references stricter gates, but the observed behaviors focus on searching listings, fetching categories/facets, parsing listing pages, and ID-mapping utilities, with no clear publishing function. Mislabeling operational capabilities undermines trust and makes it easier for a broad data-access tool to bypass scrutiny intended for a simple posting assistant.

Content

No source excerpt is available for this finding.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 16)May include surrounding context.

md
- Tightened `SKILL.md`, README, and references for smaller models: one phase, one verification, then next phase.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
83% confidence
Finding

The skill advertises no explicit tool scope or permissions, yet the described functionality implies shell and network-capable operations. This creates a transparency and governance gap: operators and downstream policy engines cannot accurately understand or constrain what the skill may do, increasing the chance of unexpected command execution or outbound requests.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
76% confidence
Finding

The title explicitly presents the skill as a Dutch-only guide ("Nederlandse Handleiding"), and the document consistently specifies Dutch-language output requirements such as writing a long SEO ad text in Dutch. There is no indication that the user can choose another language or locale, which may violate language/locale choice policy.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The curl mode permits fetching any user-supplied URL with optional custom headers and raw cookies, which effectively turns the skill into a general authenticated HTTP client. In a skill meant for Marktplaats publishing, this broad capability can be misused to send session cookies to arbitrary endpoints, scrape authenticated content, or access unrelated services under the user’s identity.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The script accepts an arbitrary URL via --open-background, opens it in Safari, and then executes JavaScript in the front document through AppleScript. That creates a general browser-automation primitive that can inspect or interact with whatever page is loaded in the user’s Safari session, exceeding the narrow scope of probing a Marktplaats placement page and increasing the risk of session abuse or collection of data from unrelated sites.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The getListingDetails function accepts any URL beginning with 'http' and fetches it directly, without restricting the hostname to marktplaats.nl or validating the scheme beyond a prefix check. In an agent or tool context, this enables server-side request forgery behavior: a caller can induce requests to arbitrary external or potentially internal endpoints, which can be used for network probing, data exfiltration from reachable services, or abuse of the runtime's network access.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

The metadata includes a Netherlands flag emoji, and the skill name/description are Dutch-specific, which suggests a locale constraint. In this file there is no explicit user opt-in or documented justification that the skill is intentionally region-specific, so this can be read as a language/locale policy issue.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest text uses Dutch exclusively ("Maak en controleer Marktplaats-advertenties...") and does not indicate that the user can choose a language or that the skill is intentionally limited to Dutch-speaking users. Under the policy, forcing a specific language without opt-in or documented justification is a natural-language policy concern.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill hard-codes 'nl-NL' in text normalization for both full-text and line normalization. This is a natural-language/locale policy concern because it imposes a specific locale behavior without offering user opt-in or explaining that the tool is intentionally Dutch-only.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
96% confidence
Finding

Price formatting is hardcoded to toLocaleString('nl-NL'), which imposes a specific locale regardless of user preference. This is a natural-language/locale policy concern because the skill does not offer a locale choice or document a justified locale restriction.

Content

No source excerpt is available for this finding.