Back to skill

Security audit

Amazon After Sales Flow Luoqianchenguni Max

Security checks for vulnerabilities and agentic risk

Overview

This skill is mostly a disclosed Amazon after-sales automation tool, but it exposes live-account browser automation with under-scoped controls that could run an arbitrary browser executable or navigate to attacker-controlled lookalike pages.

Install only if you are comfortable giving this skill control of an authenticated browser session for Amazon. Use it interactively, avoid untrusted JSON inputs, do not pass browser.executablePath or browser.userDataDir, keep auto_send off unless you deliberately intend to send, and review generated messages/screenshots before sharing or retaining them.

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 (3)

T09 · Insecure Skill Coding Practices

Error
Location
skills/_easybuy_browser_runtime.js:56
Finding

Weak Amazon Hostname Validation Permits Navigation to Attacker-Controlled Domains

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
skills/_easybuy_browser_runtime.js:364
Finding

Contact Flow Follows Unvalidated DOM Links and Cross-Origin Pages

Content
View full analysis
{}; const isContactLikeUrl = (url) => /\/gp\/help\/contact|\/messaging|\/message-us|\/contact-us/i.test(String(url || "")); // ... const findContactUrl = async (p) => { return p.evaluate(() => { const links = Array.from(document.querySelectorAll("a[href]")); const target = links.find((a) => /\/gp\/help\/contact|contact-us|messaging/i.test(String(a.getAttribute("href") || ""))); return target ? target.href : null; }).catch(() => null); }; const maybeSwitchPage = async () => { if (!context) return; const pages = context.pages(); const target = pages.find((p) => isContactLikeUrl(p.url())) || null; if (target && target !== page) { const from = page.url(); page = target; await page.bringToFront().catch(() => {}); logEvt("contact.switch_page", { from, to: page.url() }); } }; ``` The discovered URL is subsequently navigated without passing through `sanitizeAmazonUrl`: ```javascript if (!isContactLikeUrl(page.url())) { const contactUrl = await findContactUrl(page); logEvt("contact.goto_contact_url.try", { contactUrl: contactUrl || null, currentUrl: page.url() }); if (contactUrl) { await page.goto(contactUrl, { waitUntil: "domcontentloaded" }).catch(() => {}); await wait(1400); await maybeSwitchPage(); log.push({ name: "goto contact url", ok: true, url: page.url(), ts: Date.now() }); logEvt("contact.goto_contact_url.done", { u ...[truncated 2864 chars]
Remediation
View remediation
{ const candidate = await page.evaluate(() => { const links = Array.from(document.querySelectorAll("a[href]")); const target = links.find((a) => /\/gp\/help\/contact|contact-us|messaging/i.test( String(a.getAttribute("href") || "") ) ); return target ? target.href : null; }); return candidate && isTrustedContactUrl(candidate) ? candidate : null; }; ``` Before message entry: ```javascript if (!isTrustedContactUrl(page.url())) { throw new Error("untrusted_contact_origin"); } ``` ]]>

T05 · Unauthorized Access and Privilege Escalation

Error
Location
skills/_easybuy_browser_runtime.js:117
Finding

Untrusted Input Controls Browser Executable and Persistent Profile Paths

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
Findings (57)

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

runFullFlow automates opening orders, selecting an order, traversing Amazon contact workflows, typing a message, and conditionally sending it. This is an end-to-end transactional workflow operating in the user's live account session, so misuse could cause unauthorized seller contact, privacy leakage in messages, and hard-to-detect account actions.

Content

No source excerpt is available for this finding.

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · scripts/validate-skills.mjs (reported line 1)May include surrounding context.

js
This wrapper proxies EasyBuy skill \"price_alert_manager\".

Input:
- Prefer a JSON object string matching dist/skills/price_alert_manager.json input_schema.

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · skills/amazon_contact_flow/prompt.md (reported line 1)May include surrounding context.

md
This wrapper proxies EasyBuy skill \"price_alert_manager\".

Input:
- Prefer a JSON object string matching dist/skills/price_alert_manager.json input_schema.

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · skills/amazon_order_details_fetcher/prompt.md (reported line 1)May include surrounding context.

md
This wrapper proxies EasyBuy skill \"price_alert_manager\".

Input:
- Prefer a JSON object string matching dist/skills/price_alert_manager.json input_schema.

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · skills/amazon_orders_opener/prompt.md (reported line 1)May include surrounding context.

md
This wrapper proxies EasyBuy skill \"price_alert_manager\".

Input:
- Prefer a JSON object string matching dist/skills/price_alert_manager.json input_schema.

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · skills/amazon_orders_scraper/prompt.md (reported line 1)May include surrounding context.

md
This wrapper proxies EasyBuy skill \"price_alert_manager\".

Input:
- Prefer a JSON object string matching dist/skills/price_alert_manager.json input_schema.

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · skills/amazon_price_checker/prompt.md (reported line 1)May include surrounding context.

md
This wrapper proxies EasyBuy skill \"price_alert_manager\".

Input:
- Prefer a JSON object string matching dist/skills/price_alert_manager.json input_schema.

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · skills/amazon_product_detector/prompt.md (reported line 1)May include surrounding context.

md
This wrapper proxies EasyBuy skill \"price_alert_manager\".

Input:
- Prefer a JSON object string matching dist/skills/price_alert_manager.json input_schema.

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · skills/amazon_review_scraper/prompt.md (reported line 1)May include surrounding context.

md
This wrapper proxies EasyBuy skill \"price_alert_manager\".

Input:
- Prefer a JSON object string matching dist/skills/price_alert_manager.json input_schema.

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · skills/case_exporter/prompt.md (reported line 1)May include surrounding context.

md
This wrapper proxies EasyBuy skill \"price_alert_manager\".

Input:
- Prefer a JSON object string matching dist/skills/price_alert_manager.json input_schema.

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · skills/evidence_builder/prompt.md (reported line 1)May include surrounding context.

md
This wrapper proxies EasyBuy skill \"price_alert_manager\".

Input:
- Prefer a JSON object string matching dist/skills/price_alert_manager.json input_schema.

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · skills/form_filler/prompt.md (reported line 1)May include surrounding context.

md
This wrapper proxies EasyBuy skill \"price_alert_manager\".

Input:
- Prefer a JSON object string matching dist/skills/price_alert_manager.json input_schema.

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · skills/message_drafter/prompt.md (reported line 1)May include surrounding context.

md
This wrapper proxies EasyBuy skill \"price_alert_manager\".

Input:
- Prefer a JSON object string matching dist/skills/price_alert_manager.json input_schema.

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · skills/message_monitor/prompt.md (reported line 1)May include surrounding context.

md
This wrapper proxies EasyBuy skill \"price_alert_manager\".

Input:
- Prefer a JSON object string matching dist/skills/price_alert_manager.json input_schema.

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · skills/order_reader/prompt.md (reported line 1)May include surrounding context.

md
This wrapper proxies EasyBuy skill \"price_alert_manager\".

Input:
- Prefer a JSON object string matching dist/skills/price_alert_manager.json input_schema.

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · skills/price_alert_manager/prompt.md (reported line 1)May include surrounding context.

md
This wrapper proxies EasyBuy skill \"price_alert_manager\".

Input:
- Prefer a JSON object string matching dist/skills/price_alert_manager.json input_schema.

Rp1

Medium
Category
MCP Rug Pull
Confidence
91% confidence
Finding

The README instructs users to run npx playwright install chromium without pinning the Playwright package version. npx may resolve and execute whatever version is available at install time, which creates a supply-chain risk and can lead to unexpected code execution or behavior changes if a compromised or incompatible package version is fetched.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The README claims an after-sales workflow purpose, but the included skills extend into broader scraping, monitoring, price checking, review scraping, and case exporting capabilities. This scope expansion increases the attack surface and creates a mismatch between stated purpose and actual data-handling behavior, which can hide higher-risk collection or automation functions from reviewers and operators.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

The skill instructs users to run npx playwright, which resolves and executes a package from the registry without pinning an exact version. This creates a supply-chain risk: a newer compromised release or unexpected dependency change could be pulled at install time and executed in the user's environment. In this skill's context, that risk is meaningful because the package is required to enable browser automation over Amazon pages, so users are likely to follow the setup instructions directly.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The manifest describes a scraper for Amazon orders and exposes inputs like a generic rootSelector plus a note that it can open the first order details link, but it does not define when the skill is allowed to run or constrain it to a verified Amazon orders context. In an agent setting, broad activation semantics can cause the skill to be invoked on unintended pages or with attacker-influenced selectors, leading to collection of sensitive purchase history or navigation to pages the user did not clearly authorize.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The description says the skill extracts order cards but omits the materially different behavior that it may open the first order details page when openFirstDetails is true. That hidden navigation can surprise users and agents, potentially exposing more detailed order information than expected or causing unintended interaction with a sensitive account page.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

This skill is designed to collect screenshots and DOM snippets, both of which can capture sensitive information such as personal data, session content, hidden UI state, or internal application details. Because the description provides no warning or usage constraint, users and downstream agents may invoke it without understanding the privacy and data-handling risk, increasing the chance of inadvertent sensitive data collection.

Content

No source excerpt is available for this finding.

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · dist/skills/form_filler.json (reported line 18)May include surrounding context.

json
"items":  {
                                                                         "type":  "object",
                                                                         "properties":  {
                                                                                            "selector":  {
                                                                                                             "type":  "string"
                                                                                                         },
                                                                                            "value":  {

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · dist/skills/form_filler.json (reported line 21)May include surrounding context.

json
"items":  {
                                                                         "type":  "object",
                                                                         "properties":  {
                                                                                            "selector":  {
                                                                                                             "type":  "string"
                                                                                                         },
                                                                                            "value":  {

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · dist/skills/form_filler.json (reported line 24)May include surrounding context.

json
"items":  {
                                                                         "type":  "object",
                                                                         "properties":  {
                                                                                            "selector":  {
                                                                                                             "type":  "string"
                                                                                                         },
                                                                                            "value":  {