ToolTrust
C40/100
Smithery

hegetiby-jwao-anaf-efactura-mcp

mcpsmithery

@Smithery

Stop wrestling with Romania's e-Factura portal. This MCP lets Claude upload, download, validate, and track electronic invoices directly through the ANAF SPV API — no browser required. Built for Romanian freelancers, accountants, and businesses tired of doing it manually. Works with UBL XML, handles OAuth2 auth, and speaks fluent ANAF. Tools included: - Upload invoices to SPV - Download received invoices - Check upload status - Validate XML before sending - List invoice history - Generate compliant UBL XML from scratch

By Smithery | 23 findings | Scanned 5/4/2026 | tooltrust-scanner/v0.3.9

4 High5 Medium4 Low10 Info

Risk Summary

Needs Approval

Dep Visibility plus Excessive Permissions raises enough risk that this tool should not be auto-trusted.

Potential impact: This finding indicates the tool should be reviewed before it is trusted.

Recommended action: Keep this tool behind manual approval and avoid unattended runs until the risky capabilities are narrowed or removed.

Suggested policy: keep this tool behind manual approval, do not allow unattended runs, and re-scan after narrowing risky permissions.

Security Findings (23)

  • HighAS-002

    ⚠️Excessive Permissions ×3

    tool declares network permission

    anaf_auth_startanaf_auth_callbackanaf_download

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • HighAS-010

    🔑Insecure Secret Handling

    anaf_auth_callback:input parameter "client_secret" appears to accept a secret or credential

    Fix: Avoid accepting raw credentials as input parameters. Use secret managers (e.g. 1Password CLI, AWS Secrets Manager) and ensure credentials are never logged or stored in agent traces.

  • MediumAS-002

    ⚠️Excessive Permissions ×5

    tool declares fs permission

    anaf_auth_startanaf_auth_callbackanaf_upload_invoiceanaf_create_and_upload_invoiceanaf_upload_status

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • LowAS-011

    ℹ️Missing Rate-Limit / Timeout ×3

    tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration

    anaf_auth_startanaf_auth_callbackanaf_download

    Fix: Declare explicit rate-limit, timeout, and retry configuration for all network and execution tools. Implement exponential back-off and surface resource state to the calling agent.

  • LowAS-002

    ⚠️Excessive Permissions

    anaf_create_and_upload_invoice:input schema exposes 11 properties (threshold: 10)

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • InfoAS-014

    ℹ️Dependency Inventory Unavailable ×10

    Tool did not expose metadata.dependencies or repo_url, so supply-chain coverage is limited.

    anaf_auth_startanaf_auth_callbackanaf_upload_invoiceanaf_create_and_upload_invoiceanaf_upload_statusanaf_downloadanaf_list_messagesanaf_validate_xmlanaf_generate_xmlanaf_company_lookup

    Fix: Review and remediate the identified issue.

Scan this tool yourself

Reproduce this audit locally, integrate into CI, or let your agent audit its own tools.

Install once, then scan any MCP server:

$ curl -sfL https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-scanner/main/install.sh | bash
$ tooltrust-scanner scan --server "npx -y hegetiby-jwao-anaf-efactura-mcp"

Adjust the package name if your npm registry name differs from the tool ID. View source

Add badge to your README

Copy this Markdown to show your ToolTrust grade on GitHub.

[![ToolTrust Grade C](https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-directory/main/docs/badges/grade-c.svg)](https://github.com/AgentSafe-AI/tooltrust-directory)