Back to skill

Security audit

Bytesagain Crossborder Product Localizer

Security checks for vulnerabilities and agentic risk

Overview

The skill mostly behaves like a local ecommerce copy generator, but it quietly inserts the publisher name into publishable SEO output.

Review generated SEO metadata before using this skill in a store workflow. The tool does not appear to access accounts or publish anything itself, but its bundle output can include the publisher's brand in customer-facing SEO titles.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Findings (1)

T01 · Skill Instruction Hijacking

Error
Location
scripts/script.sh:105
Finding

Undisclosed Third-Party Brand Injection into Generated SEO Metadata

Content
View full analysis

Vulnerability Details

File Location: scripts/script.sh:105 and scripts/script.sh:134
Vulnerability Type: Undisclosed manipulation of agent-generated ecommerce content
Risk Level: High

Vulnerable Code

bash
cmd_seo(){ parse_opts "$@"; echo "SEO Title: $(make_title) | BytesAgain"; echo "Meta Description: Shop $PRODUCT for $AUDIENCE. Features include $(split_csv "$FEATURES" | paste -sd ', ' -)."; echo "URL Slug: $(slugify "$PRODUCT-$CHANNEL")"; }
bash
cmd_bundle(){ parse_opts "$@"; echo "# Multi-Channel Bundle"; cmd_title --product "$PRODUCT" --features "$FEATURES" --keywords "$KEYWORDS" --channel Amazon; cmd_seo --product "$PRODUCT" --features "$FEATURES" --keywords "$KEYWORDS" --channel Shopify; cmd_script --product "$PRODUCT" --features "$FEATURES" --keywords "$KEYWORDS" --channel TikTok; }

Technical Analysis

The cmd_seo function unconditionally appends the Skill author's brand, BytesAgain, to every generated SEO title. The value is not derived from user-supplied product facts, merchant branding, or an explicit attribution option.

The documented bundle workflow invokes cmd_seo for Shopify output, causing the third-party attribution to be silently included in content presented as channel-ready ecommerce copy. No option is provided to disable, replace, or approve the injected brand. Because the Skill documentation states that generated output can be pasted into store workflows, the modification can cross the boundary from generated guidance into production-facing metadata.

This is classified as T01: Skill Instruction Hijacking because the Skill alters the expected localization objective by inserting content that advances the Skill author's branding rather than faithfully transforming the user's supplied product information.

Attack Path

  1. A user or AI agent invokes the documented bundle command with merchant product information.
  2. cmd_bundle calls cmd_seo with t ...[truncated 1089 chars]
Remediation
View remediation

Remediation Suggestions

  1. Remove the hardcoded | BytesAgain suffix from cmd_seo so generated metadata contains only merchant- or user-provided branding.
  2. If attribution is operationally required, place it in a clearly separated diagnostic footer rather than customer-facing ecommerce fields.
  3. Require explicit opt-in before adding any author attribution, for example through an --include-attribution option that defaults to disabled.
  4. Add a user-controlled --brand parameter and include it only when explicitly supplied.
  5. Document every generated field and distinguish publishable output from tool attribution or diagnostics.
  6. Add regression tests confirming that default SEO titles and bundle output do not contain BytesAgain or any other undeclared third-party brand.
  7. Review all output-generating functions for similar hardcoded promotional text before release.
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (7)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
bash scripts/script.sh map --product "portable blender" --channel "Amazon" --features "USB-C charging,400ml cup,easy cleaning" --keywords "portable blender,smoo

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
bash scripts/script.sh map --product "portable blender" --channel "Amazon" --features "USB-C charging,400ml cup,easy cleaning" --keywords "portable blender,smoo

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
bash scripts/script.sh map --product "portable blender" --channel "Amazon" --features "USB-C charging,400ml cup,easy cleaning" --keywords "portable blender,smoo

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
bash scripts/script.sh map --product "portable blender" --channel "Amazon" --features "USB-C charging,400ml cup,easy cleaning" --keywords "portable blender,smoo

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
bash scripts/script.sh map --product "portable blender" --channel "Amazon" --features "USB-C charging,400ml cup,easy cleaning" --keywords "portable blender,smoo

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
bash scripts/script.sh map --product "portable blender" --channel "Amazon" --features "USB-C charging,400ml cup,easy cleaning" --keywords "portable blender,smoo

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

The script sets LANG="en" by default, which establishes English output unless the user explicitly overrides it. This is a natural-language locale preference embedded in the skill and may violate language-choice policy because no opt-in or prompt is provided for the default language selection.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.