Back to skill

Security audit

Fakturownia CLI

Security checks for vulnerabilities and agentic risk

Overview

This appears to be a legitimate Fakturownia CLI skill bundle, but it gives an agent broad access to invoicing, account, credential, webhook, and destructive business operations without enough safety guardrails.

Install only if you intend to let an agent operate a real Fakturownia account. Use a least-privilege token, verify the resolved profile and destination host before authenticated calls, avoid `--raw` unless you can protect stdout/logs, avoid putting passwords or tokens directly in command arguments, and require manual approval before delete, cancel, email, KSeF, webhook, self-update, or attachment-visibility actions.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T09 · Insecure Skill Coding Practices

Error
Location
subskills/auth/SKILL.md:61
Finding

Credentials Exposed Through Command-Line Arguments and Raw Output

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
subskills/auth/SKILL.md:43
Finding

Authenticated Requests Can Be Redirected to an Unrestricted Base URL

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Rogue AgentSelf-Modification, Session Persistence
  • YARA SignaturesMalware Match, Webshell Match, Cryptominer Match
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (128)

External Script Fetching

High
Category
Supply Chain
Confidence
90% confidence
Finding

Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.

Content

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

md
## 0.6.7 - 2026-04-20

- Removed binary installation instructions from the generated root and shared skills so agents no longer receive `curl | bash` bootstrap guidance.
- Kept the readiness flow focused on local verification, authentication, and an authenticated smoke test before API calls.

## 0.6.5 - 2026-04-17

Self-Modification

High
Category
Rogue Agent
Confidence
90% confidence
Finding

The bundle description advertises self-update capability, which is a form of self-modification and supply-chain risk in an agent context. If an agent is permitted to invoke update flows without strict integrity verification and approval gates, it could replace tooling or behavior during runtime, introducing unreviewed code or altered command semantics.

Content

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

md
---
name: "fakturownia"
description: "Fakturownia CLI bundle: shared guidance, auth, accounts, departments, issuers, users, categories, clients, payments, bank accounts, products, price lists, invoices, recurrings, warehouses, warehouse actions, warehouse documents, webhooks, self-update, schema discovery, diagnostics, and generated invoice recipes for the `fakturownia` command. Use when an agent needs to work with Fakturownia through this CLI."
metadata:
  category: "bundle"
  cli_help: "fakturownia --help"

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
- [fakturownia-invoices](subskills/invoices/SKILL.md): Fakturownia CLI invoices: list, fetch, create, update, delete, email, cancel, send to KSeF through the AP

YARA rule 'agent_skill_mcp_tool_poisoning_metadata': MCP/tool metadata poisoning indicators in tool schemas or skill manifests [agent_skills]

High
Category
YARA Match
Confidence
80% confidence
Finding

YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).

Content

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

md
---
name: "fakturownia-invoices"
description: "Fakturownia CLI invoices: list, fetch, create, update, delete, email, cancel, send to KSeF through the API-native `gov` flow, download invoice attachments, and discover invoice fields and payloads through schema output."
metadata:
  bundle: "fakturownia"
  category: "api-area"
  prerequisite: "fakturownia-shared"
  related_skills:
    - "fakturownia-shared"
    - "fakturownia-products"
    - "fakturownia-bank-accounts"
    - "fakturownia-price-lists"
    - "fakturownia-recurrings"
    - "fakturownia-schema"
    - "fakturownia-doctor"
  command_refs:
    - "invoice list"
    - "in

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill explicitly instructs the user to persist an API token and immediately perform authenticated API calls, but it provides no guardrails about secret handling, storage safety, shell history exposure, or the sensitivity of returned account data. In an agent setting, this omission can lead to credentials being logged, echoed, persisted insecurely, or used against the wrong tenant/profile.

Content

No source excerpt is available for this finding.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · manifest.json (reported line 21)May include surrounding context.

json
},
  "homepage": "https://github.com/sixers/fakturownia-cli/tree/master/skills/fakturownia",
  "documentation": {
    "entry": "https://github.com/sixers/fakturownia-cli/blob/master/skills/fakturownia/SKILL.md",
    "index": "https://github.com/sixers/fakturownia-cli/blob/master/skills/fakturownia/references/skills-index.md",
    "recipes": "https://github.com/sixers/fakturownia-cli/blob/master/skills/fakturownia/recipes/index.md"
  },

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill explicitly instructs users to set show_attachments to true, which can expose attached invoice files to customers, but it provides no warning about the sensitivity of those files or the access-control implications. In an invoicing context, attachments may contain scans, contracts, IDs, or internal documents, so enabling customer visibility without a cautionary note materially increases the risk of unintended external data disclosure.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill provides a non-interactive invoice cancel --yes command for a destructive operation without any warning about irreversibility, verification steps, or safeguards. In an agent-execution context, this increases the chance of accidental or automated cancellation of the wrong invoice, especially if parameters are populated from upstream data or user prompts without confirmation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill explicitly documents a destructive update payload using _destroy:1 to delete a recipient, but provides no warning, confirmation guidance, or rollback advice. In an agent-executed CLI context, this increases the chance of unintended destructive changes to invoice-related data, especially if an agent copies the example directly into automation.

Content

No source excerpt is available for this finding.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

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

md
# Send Invoice By Email

> Read [fakturownia-invoices](../../subskills/invoices/SKILL.md) first.

Use this when the invoice already exists and you want Fakturownia to send the email.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · recipes/invoice-attachment/SKILL.md (reported line 21)May include surrounding context.

md
# Send Invoice By Email

> Read [fakturownia-invoices](../../subskills/invoices/SKILL.md) first.

Use this when the invoice already exists and you want Fakturownia to send the email.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · recipes/invoice-attachment/SKILL.md (reported line 58)May include surrounding context.

md
# Send Invoice By Email

> Read [fakturownia-invoices](../../subskills/invoices/SKILL.md) first.

Use this when the invoice already exists and you want Fakturownia to send the email.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · recipes/invoice-cancel/SKILL.md (reported line 19)May include surrounding context.

md
# Send Invoice By Email

> Read [fakturownia-invoices](../../subskills/invoices/SKILL.md) first.

Use this when the invoice already exists and you want Fakturownia to send the email.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · recipes/invoice-cancel/SKILL.md (reported line 38)May include surrounding context.

md
# Send Invoice By Email

> Read [fakturownia-invoices](../../subskills/invoices/SKILL.md) first.

Use this when the invoice already exists and you want Fakturownia to send the email.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · recipes/invoice-copy/SKILL.md (reported line 19)May include surrounding context.

md
# Send Invoice By Email

> Read [fakturownia-invoices](../../subskills/invoices/SKILL.md) first.

Use this when the invoice already exists and you want Fakturownia to send the email.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · recipes/invoice-copy/SKILL.md (reported line 37)May include surrounding context.

md
# Send Invoice By Email

> Read [fakturownia-invoices](../../subskills/invoices/SKILL.md) first.

Use this when the invoice already exists and you want Fakturownia to send the email.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · recipes/invoice-correction/SKILL.md (reported line 20)May include surrounding context.

md
# Send Invoice By Email

> Read [fakturownia-invoices](../../subskills/invoices/SKILL.md) first.

Use this when the invoice already exists and you want Fakturownia to send the email.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · recipes/invoice-correction/SKILL.md (reported line 58)May include surrounding context.

md
# Send Invoice By Email

> Read [fakturownia-invoices](../../subskills/invoices/SKILL.md) first.

Use this when the invoice already exists and you want Fakturownia to send the email.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · recipes/invoice-fiscal-print/SKILL.md (reported line 18)May include surrounding context.

md
# Send Invoice By Email

> Read [fakturownia-invoices](../../subskills/invoices/SKILL.md) first.

Use this when the invoice already exists and you want Fakturownia to send the email.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · recipes/invoice-fiscal-print/SKILL.md (reported line 32)May include surrounding context.

md
# Send Invoice By Email

> Read [fakturownia-invoices](../../subskills/invoices/SKILL.md) first.

Use this when the invoice already exists and you want Fakturownia to send the email.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · recipes/invoice-ksef-correction-to-zero/SKILL.md (reported line 20)May include surrounding context.

md
# Send Invoice By Email

> Read [fakturownia-invoices](../../subskills/invoices/SKILL.md) first.

Use this when the invoice already exists and you want Fakturownia to send the email.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · recipes/invoice-ksef-correction-to-zero/SKILL.md (reported line 57)May include surrounding context.

md
# Send Invoice By Email

> Read [fakturownia-invoices](../../subskills/invoices/SKILL.md) first.

Use this when the invoice already exists and you want Fakturownia to send the email.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · recipes/invoice-ksef-create-send/SKILL.md (reported line 20)May include surrounding context.

md
# Send Invoice By Email

> Read [fakturownia-invoices](../../subskills/invoices/SKILL.md) first.

Use this when the invoice already exists and you want Fakturownia to send the email.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · recipes/invoice-ksef-create-send/SKILL.md (reported line 59)May include surrounding context.

md
# Send Invoice By Email

> Read [fakturownia-invoices](../../subskills/invoices/SKILL.md) first.

Use this when the invoice already exists and you want Fakturownia to send the email.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · recipes/invoice-ksef-download-documents/SKILL.md (reported line 18)May include surrounding context.

md
# Send Invoice By Email

> Read [fakturownia-invoices](../../subskills/invoices/SKILL.md) first.

Use this when the invoice already exists and you want Fakturownia to send the email.