Buckets:

download
raw
2.97 kB
{
"role_mappings": [
{
"role": "Subject",
"status": "missing",
"symbol": "",
"file": "",
"lines": "",
"notes": "No in-repo client sends an identifier+password; callers (MCP clients) are outside the repo. src/tonmcp/ton_client.py:21 only sends the repo's own TON_API_KEY outbound to tonapi.io, which is out of direction."
},
{
"role": "Enforcer",
"status": "missing",
"symbol": "",
"file": "",
"lines": "",
"notes": "No login or password-checking enforcer exists; searched src/ and config/ for login/password/authenticate/hash. The only inbound check is get_api_key in src/tonmcp/mcp_server.py:116, a static Bearer API key compared in plaintext to env API_KEY (mcp_server.py:111, :120) for /tools routes; that is an opaque API-key check, not password-based authentication."
},
{
"role": "Verification manager",
"status": "missing",
"symbol": "",
"file": "",
"lines": "",
"notes": "No unit collects id+password for verification. The only inbound check is get_api_key in src/tonmcp/mcp_server.py:116, a static Bearer API key compared in plaintext to env API_KEY (mcp_server.py:111, :120) for /tools routes; that is an opaque API-key check, not password-based authentication."
},
{
"role": "Password store",
"status": "missing",
"symbol": "",
"file": "",
"lines": "",
"notes": "No user/credential store exists (no DB, no user model in src/tonmcp/models.py). config/config.py:85 holds only TON_API_KEY for outgoing calls."
},
{
"role": "Hasher",
"status": "missing",
"symbol": "",
"file": "",
"lines": "",
"notes": "No password hashing on any verification path. hashlib.sha256 in generate_transaction_hash (src/tonmcp/utils.py:414) hashes transaction data, unrelated to credentials."
},
{
"role": "Pepper store",
"status": "missing",
"symbol": "",
"file": "",
"lines": "",
"notes": "No pepper anywhere in the repo; searched for pepper/secret/HMAC."
},
{
"role": "Encrypter",
"status": "missing",
"symbol": "",
"file": "",
"lines": "",
"notes": "No encryption of password hashes; no cipher/HMAC usage in src/ or config/."
},
{
"role": "Comparator",
"status": "missing",
"symbol": "",
"file": "",
"lines": "",
"notes": "No password-hash comparison. The only credential comparison is `token != API_KEY` in get_api_key (src/tonmcp/mcp_server.py:120), a plaintext API-key check belonging to a different pattern."
},
{
"role": "System",
"status": "missing",
"symbol": "",
"file": "",
"lines": "",
"notes": "No password-authentication flow exists, so no System. The /tools handlers (list_tools, call_tool in src/tonmcp/mcp_server.py) are guarded only by the static API key."
}
]
}

Xet Storage Details

Size:
2.97 kB
·
Xet hash:
7158892419270bf99414edb96fb3baf54688c2715a76d3c6235f5715d7f967bc

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.