Skip to content
Back to skills

Audit

ASecurity

Audit a codebase's BeeL API integration for compliance: idempotency, API key security, error handling, rate limits, webhook verification, invoice lifecycle rules and outdated patterns. Use when asked to audit, review or check a BeeL integration, or to verify it follows BeeL/VeriFactu rules.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 9, 2026
ai-agentsgoapisecurity

Works with

  • api

Security analysis

A92/100
  • mediumUses curl or wget to download content

Pro scans all 2 files and shows the line behind each finding

Scanned October 9, 2026

npx -y skills add beel-es/claude-plugins --skill audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/beel-es-audit/badge)](https://www.skillsdirectory.com/skills/beel-es-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: audit
description: >
  Audit a codebase's BeeL API integration for compliance: idempotency, API key
  security, error handling, rate limits, webhook verification, invoice
  lifecycle rules and outdated patterns. Use when asked to audit, review or
  check a BeeL integration, or to verify it follows BeeL/VeriFactu rules.
argument-hint: "[path to audit, defaults to whole project]"
---

# BeeL Integration Audit

Audit the project's BeeL API integration code against the current rules and report findings with severity and proposed fixes. **This is a report-only skill — do not modify code unless the user explicitly asks for fixes afterwards.**

## Procedure

### 1. Refresh the rules from live docs

The checklist in `checklist.md` (this folder) encodes the stable rules, but limits and details drift. Before auditing, fetch what's relevant to the code you find — discover pages via `curl -s https://docs.beel.es/llms.txt | grep -i <topic>`:

- The idempotency guide — current header name and rules
- The rate limits guide — current limits and headers
- The webhook signature/deduplication pages — only if the project receives webhooks
- The OpenAPI spec (`https://docs.beel.es/api/openapi`) — to confirm endpoints the project calls still exist

### 2. Locate the integration surface

Search the project for BeeL touchpoints (case-insensitive where sensible):

```
app.beel.es            # raw HTTP calls
@beel_es/sdk           # official SDK usage
Idempotency-Key        # manual idempotency (also matches legacy X- prefix)
BEEL_API_KEY           # env var convention
beel_sk_               # key prefix: hardcoded literals (instant CRITICAL) or auth code
X-API-Key              # not a BeeL header — a call sending it is unauthenticated, see checklist 2
BeeL-Signature / BeeL-Event-Id  # webhook handling
```

Map every file that calls the API, handles its responses, or receives its webhooks. If nothing is found, say so and stop — don't invent findings.

### 3. Run the checklist

Work through `checklist.md` category by category against the located code. For each check, record: **pass / fail / not applicable**, with `file:line` evidence for failures.

### 4. Report

Output a structured report:

1. **Summary** — one paragraph: overall state, count of findings by severity
2. **Findings** — ordered by severity (CRITICAL → HIGH → MEDIUM → LOW), each with:
   - What is wrong and where (`file:line`)
   - Why it matters (consequence: duplicate invoices, leaked key, rejected webhook…)
   - The concrete fix (code-level, ready to apply)
3. **Passed checks** — brief list, so the user knows what was verified, not just what failed
4. **Not applicable** — e.g. "no webhook receiver found, webhook checks skipped"

Severity guide:

| Severity | Meaning |
|----------|---------|
| CRITICAL | Legal/financial/security risk: hardcoded live key, mutating issued invoices, unverified webhooks accepted |
| HIGH | Will cause production incidents: missing idempotency, key regenerated per retry, no 429 handling |
| MEDIUM | Incorrect but survivable: envelope ignored, partial pagination, deprecated patterns |
| LOW | Improvement: raw fetch where the official SDK fits, missing replay detection |

Close by offering to apply the fixes — but only apply them if the user accepts.

Files in this skill

  • SKILL.md3.2 KB
  • checklist.md7.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.