Back to skill

Security audit

airwallex-xero-reconciliation

Security checks for vulnerabilities and agentic risk

Overview

This skill gives narrow, disclosed accounting-reconciliation guidance for Airwallex and Xero, with appropriate cautions around credentials, private data, and posting controls.

Before installing, be aware this skill may guide work with sensitive financial records and Xero posting authority. Use scoped credentials, keep .env and exports private, preview bulk changes, confirm entries in Xero after writes, and involve an accountant or authorized owner for final posting decisions.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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
Findings (3)

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
Use CSV for a small historical backlog or an API connector for recurring volume. Airwallex balance-history access should use a scoped read-only key; Xero access uses OAuth with only the needed granular scopes. API access cannot bypass Xero's multicurrency subscription restrictions.

For a connector, create a local `.env.example` with placeholder variable names and an ignored local `.env` for actual credentials. Ask the user to enter Airwallex client ID/API key and Xero OAuth client secret in their local `.env`; store refresh tokens there too, or in an operating-system secret store when available. Never ask the user to paste a secret into chat or commit it to the skill, repository, examples, logs, URLs, command arguments, or exported evidence. Do not print the contents of `.env` or token files while validating setup. If a secret was exposed, stop using it and have its owner rotate it.

Keep company statements, transaction exports, source IDs, personal names, and account-specific mappings outside the publishable skill folder. A published skill should contain generic instructions and placeholders only; user data belongs in the user's private workspace. Preview and reconcile before any bulk posting, use stable idempotency references, and confirm the final Xero state after writes.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · references/reconciliation-playbook.md (reported line 3)May include surrounding context.

md
# Reconciliation playbook

Read this reference when preparing or posting Airwallex-to-Xero entries. Apply it to the organisation's actual base currency, chart of accounts, period, and evidence. Never carry account codes or names from a previous organisation into a new one without checking its chart of accounts.

## Source inventory and cutoff

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · LICENSE (reported line 7)May include surrounding context.

text
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Static analysis

No suspicious patterns detected.