Inspiration

Credit card fraud and data breaches remain a critical security challenge for businesses worldwide. We wanted to build a practical, AI-powered tool that combines basic validation checks with intelligent risk analysis to help developers and security teams catch vulnerabilities early.

What it does

CardGuard AI validates card data through standard checks and then uses Google's Gemini AI to perform a deeper vulnerability assessment, returning a structured risk report. The entire workflow is orchestrated using UiPath Maestro BPMN, coordinating validation, AI analysis, and reporting into a clean, auditable end-to-end process.

How we built it

The core logic is built in Python with Flask, deployed on Google Cloud Run. We used UiPath Maestro BPMN to model the business process as a predictable sequence: receive card data, validate, AI risk analysis, generate report. Secrets are managed securely via Google Secret Manager.

Challenges we ran into

We hit several Google Cloud IAM permission issues during deployment, including Artifact Registry, Logging, and Secret Manager access, which required diagnosing build logs and granting the correct service account roles. We also fixed dependency versioning issues in requirements.txt.

Accomplishments that we're proud of

We successfully deployed a working, publicly accessible AI-powered security analysis tool end to end, from local code through Google Cloud Build to a live Cloud Run service, while integrating UiPath Maestro BPMN for process orchestration.

What we learned

We learned how UiPath Maestro BPMN can orchestrate AI-driven validation pipelines alongside cloud-native backend services, and how critical proper IAM configuration is for smooth CI/CD deployments on Cloud Run.

What's next for CardGuard AI

We plan to expand into the Maestro Case track to handle exception-heavy scenarios such as flagged cards routed to human review, and integrate UiPath Test Cloud for automated regression testing.

Built With

  • flask
  • gemini
  • google-cloud-build
  • google-cloud-run
  • google-gemini-api
  • google-secret-manager
  • python
  • uipath-maestro-bpmn
Share this project:

Updates