Skip to content
View amin-ale's full-sized avatar

Block or report amin-ale

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
amin-ale/README.md

Amin Ale

Senior Python backend engineer for hire. I make AI-era and money-critical code production-safe.

Payments, MCP servers, and AI features that hold up under load, replay, and attack, well past the happy-path demo. Every repo below is inspectable: tests, CI, and a benchmark or exploit walkthrough that backs the claim.

Flagship work

YAML-driven governance and audit reverse-proxy for MCP. Every request runs the full pipeline: authenticate principal, verify HMAC signature, RBAC/tenant policy, per-tenant rate limit, route to the tenant's upstream, PII-redact the result, audit. Tenant isolation is structural (separate upstreams, credentials, and state per tenant) and the whole thing is dependency-light and offline-testable.

Before/after security hardening of an AI-generated SaaS. 19 findings (5 critical, 8 high, 4 medium, 2 low), each with an exploit walkthrough and a proving test. The exploit tests pass on the before branch (21 tests, demonstrating each hole) and flip green on main (52 tests, asserting closure). The diff is the pitch.

Test-mode SaaS billing where double-charging is structurally impossible: a single-writer webhook projection plus a DB-enforced one-charge-per-invoice guard. The chaos harness fires duplicate, out-of-order, dropped-then-redelivered, and shuffled multi-customer webhook batches at the live app: 5 scenarios, 45 deliveries, 0 double charges.

Benchmarked invoice/document extraction: PII redaction before any model call, field-level confidence scoring, a confidence-gated human review queue, and a correction-feedback loop. Macro-F1 0.902 vs 0.221 for the naive single-prompt baseline (synthetic dataset, mock backend, clearly labeled; the real-dataset/real-model run is a documented next step).

Production-shaped QuickBooks Online MCP server. Full OAuth 2.1 authorization-code + PKCE flow, automatic token refresh, dual token-bucket rate limiting honoring QBO throttles, Retry-After-aware backoff, SyncToken enforcement on writes, and structured error mapping. 18 tools plus 3 read-only resources, 55 offline tests.

Also in the toolbox

A static misconfiguration scanner for AI-generated apps, a HubSpot MCP server, a drop-in idempotent Stripe webhook handler, a zero-downtime billing-migration runbook with a parity harness, and AI-feature retrofits on real stacks. Browse the pinned repos.

Hire me

Portfolio and contact → · amin.ale.business@gmail.com

Sole proprietor, invoice-only. Available for MCP integrations, payment and billing systems, security hardening of AI-generated apps, and production-grade AI features.

Pinned Loading

  1. mcp-audit-gateway mcp-audit-gateway Public

    MCP gateway: a governance and audit reverse-proxy that sits in front of any MCP server. Per-tool RBAC, multi-tenant isolation, PII redaction on tool results, tamper-evident audit logging, per-tenan…

    Python

  2. vibe-hardening-case-study vibe-hardening-case-study Public

    Before/after security hardening of an AI-generated Supabase SaaS. 19 findings: service-role key in the browser, no row level security, broken object-level authorization, public storage bucket. Expl…

    JavaScript

  3. stripe-billing-reference stripe-billing-reference Public

    Test-mode Stripe billing reference on FastAPI: seat + metered pricing, trials, upgrade/downgrade proration, dunning, Stripe Tax, customer portal, Connect payouts. Webhooks survive duplicate, out-of…

    Python

  4. extraction-pipeline extraction-pipeline Public

    Benchmarked invoice and document extraction pipeline: PII redaction before any model call, layout-aware extraction into a strict schema, field-level confidence scoring, validation rules, a human re…

    HTML 1

  5. mcp-quickbooks mcp-quickbooks Public

    QuickBooks Online MCP server: 18 tools over invoices, customers and payments, real OAuth 2.1 authorization-code + PKCE with token refresh, client-side rate limiting that honors QBO throttles, stdio…

    Python

  6. ai-retrofit-django ai-retrofit-django Public

    AI copilot retrofitted into an existing multi-tenant Django SaaS without touching its schema or auth: semantic search, ask-your-data behind a SQL guardrail, summarization, each with a per-tenant co…

    Python 1