Skip to main content

Security report for unpkg.co

Technology · N/a

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

Security score

65/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 with low latency, leveraging Cloudflare's edge network. It targets JavaScript developers and frontend engineers who want to load npm packages directly in the browser without build steps. The website provides comprehensive documentation and examples for usage, including support for modern package entry points and semantic versioning. Technically, the site uses modern JavaScript frameworks such as Preact and htm, and is hosted on Cloudflare infrastructure, ensuring fast performance and scalability. Security posture is strong with HTTPS enforced and no exposed sensitive data, but lacks published privacy and cookie policies, and security headers are not evident in the provided content. The domain registration is consistent and legitimate, registered with Cloudflare since 2016. Overall, the site is professional, trustworthy, and highly relevant to its developer audience, though improvements in privacy compliance and security headers are recommended.

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.co

This scan found 22 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. The full timeline opens with your unlock code.

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
70
Network security
100
GDPR outside view
35
Average
65

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

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 as a free, open source CDN for npm packages, providing a critical service to the JavaScript ecosystem. Its business model is service-oriented, relying on Cloudflare's infrastructure for delivery. The target customers are developers needing quick, no-build access to npm assets. The project is maintained openly on GitHub and promoted via social media channels. The lack of direct business contact information and formal policies suggests a community-driven or individual-maintained project rather than a commercial enterprise. The service benefits from Cloudflare's global network, enabling rapid scaling and high availability. Its competitive advantage lies in simplicity, open source nature, and integration with npm's package ecosystem. Growth potential is tied to the popularity of npm and frontend development trends.

Security posture

The website demonstrates a mature security posture with HTTPS enforced and use of Cloudflare Workers providing edge security and scalability. No sensitive data or forms are exposed, reducing attack surface. However, the absence of explicit security headers such as Content-Security-Policy and DNSSEC for the domain are areas for improvement. No incident response or vulnerability disclosure information is published, which could hinder coordinated security communication. The use of third-party analytics introduces moderate user tracking, but no cookie consent mechanism is present, indicating privacy compliance gaps. Overall, the security posture is good but could be enhanced by formalizing policies and adding security headers.

Recommendations

  1. Publish a clear privacy policy and cookie policy to improve GDPR and privacy compliance.
  2. Implement security headers including Content-Security-Policy, X-Content-Type-Options, and Strict-Transport-Security.
  3. Enable DNSSEC for the domain to enhance DNS security.
  4. Add a security.txt file and vulnerability disclosure policy to facilitate incident response.
  5. Provide contact information or a dedicated security contact channel for reporting issues.
Site observations

Automated reading of the public site. Ratings are indicative.

Business

Description
UNPKG is a fast, global content delivery network for everything on npm, allowing users to quickly and easily load any file on npm via URL. It supports semantic versioning, npm tags, and modern package entry points, targeting developers who want to load JavaScript modules and assets directly in the browser without a build step.
Key services
CDN delivery of npm package files, Metadata API for package file info, Support for modern package entry points and export conditions, No-build JavaScript module loading via import maps
Content quality
excellent
Branding
consistent

Technology

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

Security

Observed score
90/100
Good practices seen
  • HTTPS enforced (implied by Cloudflare hosting and script sources)
  • Use of Cloudflare Workers for edge security and scalability
  • No exposed sensitive data in HTML content
  • No forms or inputs present to be vulnerable

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 documentation.
  2. No privacy, cookie, or terms of service policies found on the main page.
  3. No contact emails, phone numbers, or physical addresses disclosed.
  4. No forms or user input fields present.
  5. Uses modern JavaScript frameworks and Cloudflare edge infrastructure.
  6. Includes Google Analytics and Tag Manager scripts indicating user tracking.
  7. No explicit security headers detected in the HTML content provided.
  8. WHOIS data shows domain is stable and registered with a reputable registrar.
  9. No suspicious or malicious content detected.
  10. Content is technical and targeted at developers.
Technical notes

Notes

The website uses a modern tech stack including Preact and htm for frontend rendering, served via Cloudflare Workers on Cloudflare's global edge network, ensuring fast performance and scalability. The site is mobile-optimized and accessible with good SEO practices. Google Analytics and Tag Manager are used for user tracking. The HTML is valid and well-structured with semantic markup. There are no CMS or backend platforms detected, indicating a static or serverless architecture. The domain is registered with Cloudflare, consistent with hosting. Technical risks are minimal, but the lack of security headers and DNSSEC are minor technical debts that could be addressed to improve security posture.
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

Reviews of this site

Share your experience with unpkg.co. 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.co.

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.