Back to Home
samreensami icon

mcp_server

by samreensami

Overview

A simple bank system API that allows users to create accounts, authenticate, deposit/transfer funds, and view transaction history, along with unprotected administrative endpoints to view all accounts and transactions.

Installation

Run Command
uvicorn main:app --host 0.0.0.0 --port 8000 --reload

Security Notes

Critical authorization bypass: All core financial operations (deposit, transfer, view balance, view transactions) and administrative endpoints (view all accounts, view all transactions) are exposed without any authentication or authorization. An attacker merely needs to know an `account_id` (which is returned upon initial login) to perform unauthorized transactions or view all sensitive data. No proper session management, JWT, or OAuth is implemented. The authentication endpoint also distinguishes between 'account not found' and 'invalid PIN', which aids in account enumeration. No rate limiting is present.

Similar Servers

Stats

Interest Score0
Security Score1
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2025-11-23

Tags

FastAPISQLAlchemySQLiteBankingAPIFinancialREST