← All Results
Domain History

margaharjaya.co.id

Grade B · 76/100 · 6/7 security headers present

Security Score

B
76/ 100

Security Headers

6/ 7

CSP Violations

NoViolations

Issues Found

7Issues

Recommendations

5Available

Security

76 / 100

Good security foundation but some CSP hardening recommended.

Compliance

53 / 100

Several compliance gaps found in CSP implementation.

Best Practices

65 / 100

Basic practices followed but missing important optimizations.

CSP Analysis

Content Security PolicyHIGH
default-src 'self'; script-src 'self' 'nonce-{random}'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; frame-ancestors 'none'; base-uri 'self'; form-action 'self';
Directive Analysis
default-srcLOW
self
script-srcLOW
self nonce-{random}
style-srcHIGH
self unsafe-inline
•Unsafe inline execution allowed in style-src
img-srcHIGH
self data: https:
•Info: 'data:' URI in img-src
•CRITICAL: 'https:' in img-src allows scripts from ANY HTTPS domain
frame-ancestorsLOW
none
base-uriLOW
self
form-actionLOW
self
Missing Directives
⚠HIGHMissing HIGH directive object-src (Plugin control - should be 'none')
⚠MEDIUMMissing MEDIUM directive connect-src (API/XHR control - prevents data exfiltration)
⚠MEDIUMMissing MEDIUM directive font-src (Font source control)

Security Headers

✓Cross-Origin-Opener-PolicyPresent

same-origin

Isolates the browsing context to prevent Spectre-type side-channel attacks and cross-origin window manipulation.

✗Permissions-PolicyMissing

Restricts which browser features (camera, microphone, geolocation) the page can use, limiting attack surface.

How to add it:

nginx
add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always;
apache
Header always set Permissions-Policy "camera=(), microphone=(), geolocation=()"
cloudflare
Rules > Transform Rules > HTTP Response Header Modification > Set Permissions-Policy value
✓Referrer-PolicyPresent

same-origin

Controls how much referrer information is sent with requests, preventing data leaks to third parties.

✓Strict-Transport-SecurityPresent

max-age=15552000; includeSubDomains

Forces browsers to use HTTPS for all future requests, preventing man-in-the-middle attacks and SSL stripping.

✓X-Content-Type-OptionsPresent

nosniff

Prevents browsers from MIME-sniffing responses away from the declared Content-Type, blocking drive-by downloads.

✓X-Frame-OptionsPresent

SAMEORIGIN

Prevents the page from being embedded in iframes, protecting against clickjacking attacks.

✓X-XSS-ProtectionPresent

1; mode=block

Legacy XSS filter for older browsers. Modern browsers use CSP instead. Set to "0" to avoid false positives.

1 recommended security header is missing on margaharjaya.co.id.

Issues Found

  • •CRITICAL: 'https:' in img-src allows scripts from ANY HTTPS domaincritical
  • •Info: 'data:' URI in img-srcinfo
  • •Missing HIGH directive object-src (Plugin control - should be 'none')high
  • •Missing MEDIUM directive connect-src (API/XHR control - prevents data exfiltration)medium
  • •Missing MEDIUM directive font-src (Font source control)medium
  • •Missing security header: Permissions-Policymedium
  • •Unsafe inline execution allowed in style-srchigh

Recommendations

  • →Add connect-src directive with appropriate restrictions
  • →Add font-src directive with appropriate restrictions
  • →Add object-src directive with appropriate restrictions
  • →CSP is in Report-Only mode - policy violations are logged but NOT blocked. Deploy Content-Security-Policy header (not Report-Only) to enforce protection.
  • →Consider implementing a stricter Content Security Policy

Beyond headers: infrastructure exposure

via OSN, our sister project

Security headers protect the browser. OSN maps what's exposed underneath — servers, open ports, known CVEs, DNS and WHOIS.

See what the internet sees about margaharjaya.co.id

margaharjaya.co.id

1 scan since 8/7/2026

B

Latest: 76/100

Total Scans

1

Latest Score

76/100

First Scan

8/7/2026

Last Scan

8/7/2026

Security

76 / 100

Good security foundation but some CSP hardening recommended.

Compliance

53 / 100

Several compliance gaps found in CSP implementation.

Best Practices

65 / 100

Basic practices followed but missing important optimizations.

Scan History

DateScoreCSPHeadersIssuesAction
Aug 7, 2026
B (76)
Yes
6/77View →

Show off your security grade

Embed this badge on your site or README. It updates automatically after each scan and links back to this report.

HeaderTest security grade: B (76/100) for margaharjaya.co.id
HTML
<a href="https://headertest.com/results/margaharjaya.co.id" title="Security headers grade for margaharjaya.co.id — HeaderTest">
  <img src="https://headertest.com/api/badge/margaharjaya.co.id" alt="HeaderTest security grade: B (76/100) for margaharjaya.co.id" />
</a>
Markdown
[![HeaderTest security grade: B (76/100) for margaharjaya.co.id](https://headertest.com/api/badge/margaharjaya.co.id)](https://headertest.com/results/margaharjaya.co.id)
margaharjaya.co.id Security Headers — Scan History | HeaderTest