reviews/deepseek__deepseek-v4-pro.md

Review by deepseek/deepseek-v4-pro

commit: 765b6710b621474e53c575a0ae3f02b76643355d
usage: {'prompt_tokens': 100787, 'completion_tokens': 22202, 'total_tokens': 122989, 'cost': 0.12631617, 'is_byok': False, 'prompt_tokens_details': {'cached_tokens': 0, 'cache_write_tokens': 0, 'audio_tokens': 0, 'video_tokens': 0}, 'cost_details': {'upstream_inference_cost': 0.12631617, 'upstream_inference_prompt_cost': 0.08768469, 'upstream_inference_completions_cost': 0.03863148}, 'completion_tokens_details': {'reasoning_tokens': 20191, 'image_tokens': 0, 'audio_tokens': 0}}
time: 543s


Critical: Operator can bypass the seven-day time‑lock by manipulating the host clock and blocking drand beacon updates.


Medium: Slow request bodies allow an attacker to exhaust in‑flight slots for up to an hour, causing denial of service.


Low: Potential panic via unwrap() on HTTP response builders.


Info / No higher‑severity findings (items reviewed without discovering a vulnerability):


Overall verdict:
I would not trust this deployment to enforce its stated time‑lock property in the presence of an operator‑controlled parent instance. The critical flaw allows the operator to set the host clock backwards and block drand beacons, making records decryptable immediately. Before trust could be placed, the time‑lock calculation must be changed to rely exclusively on verified drand beacons (refusing service when they are stale), removing any dependency on the host‑derived NSM timestamp. The rest of the design appears sound for confidentiality, integrity, and sender verification.