Buckets:
AnonymousSpottedToad/candidate_bucket / preliminary_without_sequence /mappings /python /authentication_pwd /PascalNobereit_langserve.json
| { | |
| "role_mappings": [ | |
| { | |
| "role": "Subject", | |
| "status": "missing", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "No password flow exists in the production package langserve/, so there is no in-repo client that sends an id and password to it. RemoteRunnable in langserve/client.py only forwards a generic httpx auth object (docstring at langserve/client.py:288) and targets no in-repo password Enforcer." | |
| }, | |
| { | |
| "role": "Enforcer", | |
| "status": "missing", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "The production library langserve/ (server.py add_routes, api_handler.py APIHandler) contains no login or password check; it only passes user-supplied FastAPI dependencies through (dependencies param at langserve/server.py:274) and a per_req_config_modifier hook. The only password login is the out-of-scope tutorial example login in examples/auth/api_handler/server.py:112 (duplicated at examples/auth/per_req_config_modifier/server.py:113), which is an example and not the repo's main product." | |
| }, | |
| { | |
| "role": "Verification manager", | |
| "status": "missing", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "No Enforcer means no verify step in langserve/. In the excluded example, login in examples/auth/api_handler/server.py:112 does the lookup, fake hashing and comparison inline, and that code was not used because examples/ is out of scope." | |
| }, | |
| { | |
| "role": "Password store", | |
| "status": "missing", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "langserve/ has no user or credential store (searched for password, user, credential, db lookups). The only store is the hard-coded FAKE_USERS_DB dict in the excluded example examples/auth/api_handler/server.py:68." | |
| }, | |
| { | |
| "role": "Hasher", | |
| "status": "missing", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "No hashing library (hashlib, bcrypt, passlib, argon2) is used anywhere in langserve/. The excluded example's _fake_hash_password (examples/auth/api_handler/server.py:93) only prepends the string 'fakehashed', so it is not a hash even there." | |
| }, | |
| { | |
| "role": "Pepper store", | |
| "status": "missing", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "No pepper, secret or key material for password processing exists in langserve/ or in the auth examples (grep for pepper, secret, hmac returned nothing relevant)." | |
| }, | |
| { | |
| "role": "Encrypter", | |
| "status": "missing", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "No encryption or HMAC of password hashes exists anywhere in the repo (grep for hmac, Cipher, encrypt found nothing)." | |
| }, | |
| { | |
| "role": "Comparator", | |
| "status": "missing", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "No password comparison exists in langserve/. The excluded example compares with plain == inline in login at examples/auth/api_handler/server.py:118, and that code was not used because examples/ is out of scope." | |
| }, | |
| { | |
| "role": "System", | |
| "status": "missing", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "Every enforcement role is missing because no password flow exists in the production library, so there is no System either. In the excluded example, the success branch of login returns a fake bearer token (examples/auth/api_handler/server.py:121)." | |
| } | |
| ] | |
| } | |
Xet Storage Details
- Size:
- 3.52 kB
- Xet hash:
- c4e2a6736f718d7b8d41adc1975a6fbe14c9e4701800cfaeb4a268ac7f0dcc6b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.