Back to skill

Security audit

Crossly OAUTH apps

Security checks for vulnerabilities and agentic risk

Overview

The scanners report a benign verdict: this skill describes building and managing Crossly OAuth integrations, and the flagged examples appear related to that purpose, though some referenced local paths were not resolved.

The verdict is benign with medium confidence, not a guarantee of safety. Skillspector coverage is partial: although it inspected the sole Markdown component, several local references could not be resolved, so consider that evidence incomplete before installing.

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
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (8)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
---
name: crossly-oauth-apps
description: Build a third-party app on Crossly. Register an OAuth app for a store (POST /v1/developer/apps, clientSecret shown once), pick confidential vs public, exact-match redirect URIs, request only grantable scopes (never *, billing:write, team:*, payouts:write, funding:*, apps:*), run the Atlas authorization-code + PKCE S256 flow (issuer https://crossly.net/atlas, resource=https://crossly.net/api/v1, 8 h JWT access tokens, rotating refresh tokens, revoke), register app-owned webhooks filtered by granted scopes, link app-managed listings (POST /v1/listings/link, listings:manage, listing commands, orders:manage), set revenue share, read app health (GET /v1/developer/apps/{appId}/health) and list the app in the directory (PUT /v1/developer/apps/{appId}/listing). Use when building an integration other Crossly sellers install, debugging OAuth errors (invalid_scope, owner_only, app_not_verified), or managing an app's profile, review, earnings or sandbox.
-

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
# Build a third-party OAuth app on Crossly

A personal access token is for your own scripts. Software that **other** sellers install is an OAuth app: the seller clicks Connect, sees Crossly's consent screen, and your app gets scoped tokens for their account. Every app belongs to one of your stores, which is paid what the app earns. For the token basics and base URLs see **crossly-api-setup**; for pagination, errors, rate limits and idempotency see **crossly-api-conventions**.

## Setup

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
## Setup

1. Create a free Crossly account: https://crossly.net/register
2. Create a personal access token at https://crossly.net/settings/api/tokens/new (guide: https://crossly.net/guides/personal-access-tokens). Use a `crossly_pat_test_` token against the sandbox while building.
3. Export it as `CROSSLY_PAT` and send it as `Authorization: Bearer $CROSSLY_PAT` to `https://crossly.net/api/v1/*`. Full docs: https://crossly.net/docs

## 1. Register the app

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

  • Managing-app webhooks: listing.linked, listing.unlinked, listing.updated, listing.delist_requested, listing.update_requested, listing.relist_requested, listing.command_expired.
ts
const crossly = createClient({ pat: accessToken }); // the seller's Atlas access token
const link = await crossly.appManaged.link(
  { platform: 'ebay', externalId: '1234567890', snapshot: { title: 'Vintage tee', price: 24.5, quantity: 1, status: 'active' } },
  { idempotencyKey: crypto.randomUUID() },

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
| | |
|---|---|
| Access token | a JWT (`eyJ…`), `aud` = `https://crossly.net/api/v1`, lives **8 hours**. Send `Authorization: Bearer <jwt>` to `https://crossly.net/api/v1/...` |
| Refresh | `grant_type=refresh_token` at the same token endpoint. The refresh token **rotates**: store the new one every time. A retry with the previous one within 30 s returns the same new token; after that, reuse ends the whole grant |
| Revoke | `POST https://crossly.net/atlas/oauth2/revoke` |
| Who the user is | `GET https://crossly.net/atlas/oauth2/userinfo` (needs `openid`) |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
| Who | Where | Effect |
|---|---|---|
| Seller | Settings → API & developers → Connected apps, or `DELETE /v1/connected-apps/{grantId}` (`accounts:write`; list with `GET /v1/connected-apps`, `accounts:read`) | The grant, its access and refresh tokens, and **the webhooks your app registered for that seller** are gone at once |
| You | Revoke the app on its card | Every seller's grant |
| You | Rotate the secret | Nothing is disconnected |

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

Other SDK methods: crossly.apps.mine(), mineOne(appId), update(appId, input), setStore(appId, storefrontId).

bash
curl -X POST https://crossly.net/api/v1/developer/apps \
  -H "Authorization: Bearer $CROSSLY_PAT" -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"name":"LabelBot","redirectUris":["https://labelbot.example/oauth/callback"],"scopes":["openid","offline_access","orders:read","fulfillment:write"]}'

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

Exchange the code.

bash
curl -X POST https://crossly.net/atlas/oauth2/token -u "$APP_ID:$APP_SECRET" \
  -d grant_type=authorization_code -d code="$CODE" -d code_verifier="$VERIFIER" \
  -d redirect_uri=https://labelbot.example/oauth/callback -d resource=https://crossly.net/api/v1
# { access_token, token_type: "Bearer", expires_in, refresh_token, scope }