anaf.ro
anaf.ro holds a front-door login security grade of [D]. Points lost to: HSTS, script policy (CSP) and security.txt. Full marks for HTTPS only, framing and outside scripts.
Front door only: what any browser can see before someone signs in. Nothing after the password (app approval, SMS or token codes, card readers, risk checks, recovery) is rated.
How you sign in
- How you sign in: Username and password. Shown for information. Grades only rate what we can check from outside.
- Passkeys: Not offered. No points, but A+ needs passkeys.
- Bot protection: None we could see. Shown for information. Grades only rate what we can check from outside.
Findings
| Result | Finding | Check |
|---|---|---|
| Fail | HSTSWhat we saw No Strict-Transport-Security header. Why it matters. HSTS tells browsers never to load this site over plain HTTP. A short max-age means the protection runs out quickly between visits. We look for at least 6 months. How to fix. Send Strict-Transport-Security with max-age of at least 15552000 (6 months). Standard: RFC 6797 | tls.hsts |
| Fail | Script policy (CSP)What we saw No Content-Security-Policy. Why it matters. Limits where the page may load scripts from. 'unsafe-inline' lets any injected script run, which removes most of the protection. How to fix. Add a Content-Security-Policy to the login page that limits where scripts can load from. Standard: W3C Content Security Policy Level 3 | headers.csp |
| Fail | security.txtWhat we saw https://pfinternet.anaf.ro → no answer Why it matters. Tells researchers where to report a problem. Without it, reports get lost or go public. How to fix. Publish /.well-known/security.txt with a Contact and an Expires line (RFC 9116). Standard: RFC 9116 | wellknown.security_txt |
| Fail | Cookie flagsWhat we saw LastMRH_Session: Secure, no HttpOnly, no SameSite
MRHSession: Secure, no HttpOnly, no SameSite
MRHSHint: Secure, no HttpOnly, no SameSite Why it matters. Cookies set on the sign-in page should be Secure, HttpOnly, and carry a SameSite value. How to fix. Mark session cookies Secure and HttpOnly (LastMRH_Session, MRHSession, LastMRH_Session, MRHSession). Standard: RFC 6265 · MDN Set-Cookie | cookies.flags |
| Fail | AutofillWhat we saw Username field: autocomplete="off"
Password field: autocomplete="off" Why it matters. Fields marked autocomplete="username" and "current-password" let password managers fill the right site only, which helps against look-alike pages. How to fix. Add autocomplete="username" (or "email") to the user field and autocomplete="current-password" to the password field. Standard: WHATWG HTML autofill · NIST SP 800-63B §3.1.1.2 | form.password_manager_friendly |
| Pass | HTTPS onlyWhat we saw Sign-in page on HTTPS; plain HTTP not served. Why it matters. The sign-in page must load over HTTPS, and plain-HTTP requests must be sent to HTTPS. Standard: RFC 9110 · RFC 8446 (TLS 1.3) | tls.https_only |
| Pass | FramingWhat we saw x-frame-options: DENY Why it matters. Stops other sites from loading the sign-in page inside a hidden frame to trick people into clicking (clickjacking). Standard: CSP frame-ancestors (W3C CSP Level 3) · RFC 7034 | headers.framing |
| Pass | Change-password addressWhat we saw https://pfinternet.anaf.ro → https://pfinternet.anaf.ro/my.logout.php3?… → 200 Why it matters. Lets password managers send people straight to the change-password page after a leak. Standard: W3C draft: A Well-Known URL for Changing Passwords | wellknown.change_password |
| Pass | Outside scriptsWhat we saw 2 outside script origins: https://www.google-analytics.com, https://www.googletagmanager.com Why it matters. Every script from another company that runs on the sign-in page can read what people type. Fewer is better. Standard: OWASP Third Party JavaScript Management Cheat Sheet | page.third_party_scripts |
| Pass | Form posts to HTTPSWhat we saw Form posts to https://pfinternet.anaf.ro/my.policy Why it matters. The password form must send to an HTTPS address on a site you expect. Standard: WHATWG HTML form submission | form.secure_action |
| Pass | Paste allowedWhat we saw Paste into the password field works. Why it matters. Blocking paste pushes people toward short, reused passwords. Standard: NIST SP 800-63B §3.1.1.2 | form.paste_allowed |
| Not used here | Code flowWhat we saw No OAuth or OpenID Connect request before sign-in.
The password form sends to https://pfinternet.anaf.ro/my.policy Why it matters. The implicit flow hands the token to the browser in the URL. It stays in browser history, every script on the page can read it, and it can't be tied to the browser that asked for it. Current guidance says not to use it. Standard: RFC 9700 (OAuth 2.0 Security Best Current Practice) §2.1.2 | oidc.code_flow |
| Not used here | PKCEWhat we saw No OAuth or OpenID Connect request before sign-in.
The password form sends to https://pfinternet.anaf.ro/my.policy Why it matters. PKCE ties the sign-in response to the browser that started it, so a stolen code is useless. Standard: RFC 7636 · RFC 9700 §2.1.1 | oidc.pkce |
| Not used here | StateWhat we saw No OAuth or OpenID Connect request before sign-in.
The password form sends to https://pfinternet.anaf.ro/my.policy Why it matters. A random state value protects the sign-in redirect against cross-site request forgery. Standard: RFC 6749 §10.12 | oidc.state_nonce |
What it takes to move up
| Fix, biggest gain first | Points | Score after | Grade after |
|---|---|---|---|
| Send Strict-Transport-Security with max-age of at least 15552000 (6 months). | +8 | 64.1 | [D] |
| Add a Content-Security-Policy to the login page that limits where scripts can load from. | +8 | 74.4 | [C] |
| Publish /.well-known/security.txt with a Contact and an Expires line (RFC 9116). | +8 | 84.6 | [B] |
| Mark session cookies Secure and HttpOnly (LastMRH_Session, MRHSession, LastMRH_Session, MRHSession). | +6 | 92.3 | [A] |
| Add autocomplete="username" (or "email") to the user field and autocomplete="current-password" to the password field. | +6 | 100 | [A] |
| Offer passkeys on the sign-in page. | – | – | [A+] |
What we can't see
- Anything after the password: app approval, SMS or token codes, card readers, risk checks and account recovery.
Sources
- Check
tls.hsts, run - Check
headers.csp, run - Check
wellknown.security_txt, run - Check
cookies.flags, run - Check
form.password_manager_friendly, run - Check
tls.https_only, run - Check
headers.framing, run - Check
wellknown.change_password, run - Check
page.third_party_scripts, run - Check
form.secure_action, run - Check
form.paste_allowed, run - Sign-in page scanned: https://pfinternet.anaf.ro/my.policy
This record reflects the state observed at the time shown. This seal is valid only on anaf.ro. Request a re-check.