scripts: baseline the gguf 0.19.0 HF download helper for the studio scan shard
The studio dependency spec resolves gguf 0.19.0, whose gguf/utility.py legitimately sends an HF_TOKEN Authorization header from the authenticated Hugging Face download helper used by convert_hf_to_gguf; main's baseline entry covers a different gguf version so the evidence hash differs. Verified locally: the full studio shard scan exits 0 with the updated baseline and zero unsuppressed CRITICAL or HIGH findings.
This commit is contained in:
parent
e1fa4fec04
commit
1a2dc57c4a
1 changed files with 8 additions and 0 deletions
|
|
@ -130,6 +130,14 @@
|
|||
"evidence": "L1420: __import__(\"fontTools.ttLib.tables.\" + pyTag)",
|
||||
"evidence_hash": "512ecbb7539ddfd5296f8ea2d132ef4000a71033fd444d8a7539f6936dc9ad01"
|
||||
},
|
||||
{
|
||||
"package": "gguf",
|
||||
"file": "gguf/utility.py",
|
||||
"check": "Harvests environment variables/secrets AND makes network calls",
|
||||
"severity": "CRITICAL",
|
||||
"evidence": "Env: L268: if os.environ.get(\"HF_TOKEN\"): | L269: headers[\"Authorization\"] = f\"Bearer {os.environ['HF_TOKEN']}\"\nNetwork: L236: response = requests.get(url, allow_redirects=True, headers=headers) | L258: response = requests.head(url, allow_redirects=True, headers=headers)",
|
||||
"evidence_hash": "231235fe72f6c47331494b67dd0cba2bdb7b75b901f4fe59b434ce9a1ffbd50e"
|
||||
},
|
||||
{
|
||||
"package": "httpx",
|
||||
"file": "httpx/_models.py",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue