Skip to main content

Security report for unpkg.com

Cloudflare, Inc. · Technology · N/a

Medium risk. 7 critical or high findings in Security headers, GDPR outside view and 1 other check.

Security score

66/100

Risk levelMedium

0–100, higher is better. How it is calculated

UNPKG is an open source content delivery network specializing in serving files from npm packages globally. It leverages Cloudflare's edge network and Workers to provide fast, scalable, and reliable delivery of JavaScript libraries and assets. The service targets developers and frontend engineers who need quick access to npm package files without build steps, supporting semantic versioning and npm tags. The website is well designed, mobile optimized, and provides comprehensive technical documentation and examples for usage. Technically, UNPKG uses modern JavaScript frameworks such as Preact and HTM, and is hosted on Cloudflare's infrastructure, ensuring high performance and global availability. The site includes Google Analytics and Tag Manager for usage tracking but lacks visible privacy or cookie consent mechanisms. Security posture is strong with HTTPS and Cloudflare protections, but could be improved by adding explicit security headers and publishing security policies. From a security perspective, the site has no forms or user inputs, reducing attack surface. However, it lacks published incident response contacts and vulnerability disclosure information, which are recommended for transparency and trust. WHOIS data shows the domain is registered with Cloudflare, Inc. since 2016, consistent with the hosting provider and business model, indicating legitimacy. Overall, UNPKG is a technically mature and trustworthy service with excellent content quality and performance. To enhance compliance and security posture, it should add privacy and cookie policies, explicit security headers, and incident response information.

Scanned

NIS2 and GDPR posture

GDPR outside view
35/ 100 · High
Checks completed
7of 7

NIS2 Art. 21(2)

  1. (a) Risk analysis and security policies: Not visible from outside
  2. (b) Incident handling: One indicator
  3. (c) Business continuity, backups and crisis management: Not visible from outside
  4. (d) Supply chain security: Not visible from outside
  5. (e) Secure acquisition, development and maintenance, including vulnerability handling: Partly checked
  6. (f) Assessing the effectiveness of security measures: Not visible from outside
  7. (g) Cyber hygiene and security training: Not visible from outside
  8. (h) Cryptography and encryption: Partly checked
  9. (i) HR security, access control and asset management: One indicator
  10. (j) Multi-factor authentication and secured communications: Not visible from outside

This scan rated NIS2 with an earlier keyword method that is no longer shown; rescan for the per-article view. Risk management, continuity, supply chain, training, MFA, management oversight (Art. 20) and incident reporting (Art. 23) need internal evidence, and Guard cannot tell whether NIS2 applies to this organisation.

GDPR is indicative only, based on publicly visible signals: Articles 7, 12, 13 and 32 of Regulation (EU) 2016/679 and Article 5(3) of the ePrivacy Directive. Not a certification or legal assessment.

Priority findings

7 findings rated critical or high. Fix these first.

  1. Security headers

    Security headers are instructions your web server sends to every visitor’s browser. Missing ones leave visitors more exposed to attacks such as clickjacking and injected scripts.

    • High

      Missing X-Frame-Options header

      Prevents clickjacking attacks

      What to do: Add "X-Frame-Options: DENY" or "X-Frame-Options: SAMEORIGIN"

    • High

      Missing Content-Security-Policy header

      Controls resources the browser is allowed to load

      What to do: Implement a Content-Security-Policy appropriate for your application

      • ASVS V3.4.3
      • OWASP Secure Headers: OWASP Secure Headers Project recommends Content-Security-Policy: default-src 'self'; form-action 'self'; base-uri 'self'; object-src 'none';…
  2. GDPR outside view

    These are the privacy signals visitors and data protection authorities look for under GDPR.

    • High

      No Privacy Policy found

      GDPR requires a clear and accessible privacy policy

      What to do: Add a comprehensive privacy policy page and link to it prominently

    • High

      No Cookie Policy found

      GDPR requires clear information about cookie usage

      What to do: Add a dedicated cookie policy explaining cookie usage and purposes

    • High

      No Cookie Consent Banner found

      GDPR requires explicit consent for non-essential cookies

      What to do: Implement a cookie consent banner that appears on first visit

Need hands-on remediation? Email guard@offseq.com

Keep watching unpkg.com

This scan found 21 issues across 6 checks. Monitoring re-runs those checks daily, emails you when something material changes and records each fix, so you can show progress.

Daily monitoring

Recommended

€25per month

  • TLS certificates and expiry
  • DNS records
  • SPF, DKIM and DMARC
  • Security headers
  • GDPR and NIS2 posture
  • Exposed services
  • Third-party trackers
  • Security score drift

Email alerts on material changes and an exportable JSON history of every change.

Billed monthly to your card. Cancel anytime. See sample alerts.

Full report

€39.90one-time

  • The complete analysis as a PDF you can cite
  • Email delivery with an unlock code
  • Lifetime access to this report

Prices incl. 21% VAT. Secure checkout by Mollie; sold by SEQ SIA, Latvia.

Results by check

Each check with its score, findings and the evidence it collected.

How this score is calculated

The security score runs 0–100, higher is better. It is the plain average of the security checks that completed in this scan, each counted equally. A check that could not run is left out: it counts neither as a pass nor as a fail.

Counted in this score

SSL/TLS
75
Security headers
40
Email security
70
DNS health
75
Network security
100
GDPR outside view
35
Average
66

Not counted

  • NIS2 outside view: Re-weights evidence from the TLS, email, DNS, network and hygiene checks, so counting it would count that evidence twice. Shown on its own.
  • OffSeq Observations: An AI reading of the site, useful context but not reproducible evidence. Shown on its own.

Findings that cap the score at 49

Each of these is serious on its own, so while any is present the site cannot rate better than high risk, however good the other checks are.

  • The certificate is not trusted by browsers
  • The website is not served over HTTPS
  • A database, remote desktop, file-sharing or Telnet service is reachable from the internet
  • The page loads a script from a compromised source
  • The domain registration has expired
  • SPF authorises every server to send mail as the domain

Partial scans

When the site blocks Guard or most checks cannot run, the score covers only the checks that ran (usually DNS and email), is capped at 75 and is shown as partial, without a risk level.

Risk levels

  • Critical0–25
  • High26–49
  • Medium50–75
  • Low76–100

Breach exposure

Leaked credentials and lookalike domains from OffSeq Breach. The counts are free; the detailed lists are paid add-ons.

Dark web exposure

Add-on

Leaked records that mention unpkg.com, from OffSeq Breach.

Total records
5
Employees
0
Customers
5
Third parties
0
Weak passwords
40%

1 subdomain affected

See the 10 newest leaked credentials

A one-off add-on to this report that lists the most recent identifier and password pairs OffSeq Breach holds for unpkg.com.

Select it in the checkout above.

Breach keeps ingesting new leaks, so these numbers can grow between scans.

Technical appendix

Business context, site observations and technical notes gathered during the scan, and the standards behind each reference.

Business context

Business profile

UNPKG occupies a niche market as a CDN for npm packages, serving a critical role in the JavaScript ecosystem by enabling developers to load dependencies directly from URLs. Its open source nature and reliance on Cloudflare's infrastructure provide competitive advantages in scalability and reliability. The business model is service-oriented, focusing on developer convenience and rapid prototyping without build tools. The target customers are frontend developers and small projects needing quick dependency loading. The project is relatively small but well positioned in the developer tools sector. Partnerships with Cloudflare and integration with npm ecosystem enhance its market presence. Growth potential lies in expanding features and improving compliance and security transparency.

Security posture

The security maturity of UNPKG is moderate to high. The use of HTTPS and Cloudflare Workers provides strong baseline protections and scalability. The absence of user input forms reduces risk exposure. However, the lack of explicit security headers such as Content-Security-Policy and Strict-Transport-Security is a gap. No published security policy or incident response contacts limit transparency and trust. No vulnerability disclosure or security.txt file is present, which is a best practice for open source projects. Analytics tracking is implemented without visible consent mechanisms, which may raise privacy concerns. Overall, the security posture is good but can be improved by adopting additional security headers, publishing policies, and providing clear incident response channels.

Recommendations

  1. Enable DNSSEC on the domain to enhance DNS security and prevent spoofing.
  2. Implement and publish a comprehensive privacy policy and cookie consent mechanism to improve GDPR and privacy compliance.
  3. Add explicit security headers such as Content-Security-Policy, X-Content-Type-Options, and Strict-Transport-Security to harden security posture.
  4. Publish a security policy and incident response contact information, including a security.txt file, to increase transparency and trust.
  5. Review analytics usage and implement user consent mechanisms to align with privacy best practices.
Site observations

Automated reading of the public site. Ratings are indicative.

Business

Company
Cloudflare, Inc.
Description
UNPKG is a fast, global content delivery network for everything on npm. It allows users to quickly and easily load any file on npm using URLs. It supports semantic versioning, npm tags, and directory listings. It is ideal for loading dependencies in browser-only apps without a build step and provides a metadata API for package files.
Key services
CDN delivery of npm package files, Metadata API for package contents, Support for semantic versioning and npm tags, No-build app support via import maps
Content quality
excellent
Branding
consistent

Technology

Stack
Cloudflare Workers, JavaScript, Preact, HTM, Google Analytics, Google Tag Manager
Frameworks
Preact
Platforms
Cloudflare CDN
Performance
fast
Mobile
excellent
Accessibility
good
SEO
good

Security

Observed score
90/100
Good practices seen
  • HTTPS enforced
  • Use of Cloudflare edge network and Workers for scalability and security
  • No forms or user input fields detected to reduce attack surface

Analytics and tracking

Services
Google Analytics, Google Tag Manager
Tracking level
moderate
Privacy practices
poor

Advertising

Transparency
basic

Site quality

Design
excellent
User experience
excellent
Content relevance
excellent
Navigation
excellent
Professionalism
excellent
Trustworthiness
high

Key observations

  1. Website is fully accessible with rich content and no blocking mechanisms.
  2. No privacy, cookie, or terms of service policies are present on the main page.
  3. No contact emails, phone numbers, or physical addresses are provided.
  4. The site uses modern JavaScript frameworks and Cloudflare Workers for performance and scalability.
  5. Security best practices are partially implemented but could be improved with explicit headers and policies.
  6. Analytics tracking is present via Google Analytics and Tag Manager without visible consent mechanisms.
  7. The site is an open source project with clear technical documentation and examples.
  8. No forms or user input fields reduce attack surface and privacy concerns.
  9. No vulnerability disclosure or incident response information is provided.
  10. WHOIS data is transparent and consistent with the hosting provider.
Technical notes

Notes

UNPKG is built on a modern and scalable technical infrastructure leveraging Cloudflare Workers and CDN edge network for global low-latency delivery. The frontend uses Preact and HTM for lightweight, efficient UI rendering. The site is mobile optimized and accessible with good SEO practices. The absence of a CMS indicates a custom or static site approach. Performance is fast due to CDN and serverless architecture. Technical debt appears low with modern frameworks and minimal complexity. Opportunities exist to improve security headers and privacy compliance. The technical risks are minimal but include potential privacy compliance gaps and lack of published security policies.
Standards and sources

Reference chips under each finding point to the standard, regulation or specification the finding relates to. They are taken from the official datasets below and mapped conservatively: a finding with no defensible link shows none. NIS2 and GDPR references mark where a finding is relevant evidence, not a compliance verdict. Implementing Regulation (EU) 2024/2690 binds digital infrastructure and digital service providers; for other entities it is the most detailed public reading of the Article 21 measures. WCAG, EN 301 549, European Accessibility Act and Web Accessibility Directive references name the requirement an automated accessibility rule relates to; they are not a conformance verdict.

Retrieved 2026-10-25

Earlier scans of this domain

  1. 65/100 −3Medium31 findingsView report
  2. 68/100Medium24 findingsView report
Reviews of this site

Share your experience with unpkg.com. Every review is verified by email and published after moderation.

Overall rating
Select a rating
4000 characters remaining

We’ll email you to confirm your review and keep your details private.

Community rating

No published reviews yet. Be the first to review unpkg.com.

Feedback on this report

Rate this report, add an optional comment, and tell us if you want a security specialist to follow up.

Overall report quality
Select a rating
2000 characters remaining

We only use your feedback to improve Guard reports. Contact details are never shared.