Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@thesvg/astro

Latest version: v4.0.16

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: gdsks
3,039 Stars
262 Forks
11 Versions
2.6K Downloads
TypeScript Repo language

Scan summary

@thesvg/astro was last scanned on 25 Nov 2026 at version 4.0.16. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 11 versions; the latest 2 were published within 6 days (20–25 Nov 2026).
  • Findings: No rules fired in version 4.0.16.
  • Downloads: 2,638 downloads.

Versions

11 versions published
Versions and the rules that fired in each
VersionPublishedStatus
4.0.16 LATEST 25 Nov 2026 No rules fired
4.0.14 20 Nov 2026 No rules fired
4.0.9 13 Nov 2026 No rules fired
4.0.8 13 Nov 2026 Not shown
4.0.7 12 Nov 2026 Not shown

No rules fired in 4.0.16

Findings

Findings for v4.0.16. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 4.0.16; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@thesvg/astro

Typed Astro SVG components for all 7,600+ brand icons from thesvg.org.

  • Zero runtime dependencies (Astro is a peer dep)
  • Static markup: icons render to plain inline SVG at build time, no client JS
  • TypeScript support with full HTMLAttributes<"svg"> types
  • Tree-shakeable ESM - import only what you use
  • Individual icon imports for maximum bundle efficiency

Installation

npm install @thesvg/astro
# or
pnpm add @thesvg/astro
# or
yarn add @thesvg/astro

Astro 3 or later is required as a peer dependency.

Usage

Named import from barrel
---
import { Github, VisualStudioCode, Figma } from "@thesvg/astro";
---

<Github size={24} />
<VisualStudioCode size={24} class="text-blue-500" />
<Figma size={32} aria-label="Figma" role="img" />
Individual icon import (best for build speed)
---
import Github from "@thesvg/astro/github";
import VisualStudioCode from "@thesvg/astro/visual-studio-code";
---

<Github size={24} />

Each icon is a separate module, so importing one never loads the other 7,600.

Props

Prop Type Default Description
size number \| string "1em" Sets both width and height
color string - Sets CSS color. Single-color icons paint with currentColor
class string - CSS class name
aria-label string - Accessible label
... ... - Any other SVG attribute is passed through to the <svg>

color only changes icons that are drawn in a single inherited color. Icons with fixed brand colors keep their colors, and you can still tint single-color ones with a text color class on a parent.

Sizing example
<Github size={24} />
<Github size="2rem" />
<Github class="w-6 h-6" size="100%" />
Accessibility
<!-- Meaningful icon: label it -->
<Github aria-label="GitHub" role="img" size={24} />

<!-- Decorative icon: hide from screen readers -->
<Github aria-hidden="true" size={24} />

Component names

Slugs are converted to PascalCase component names:

Slug Component name
github Github
visual-studio-code VisualStudioCode
figma Figma
01dotai I01Dotai

Slugs that start with a digit are prefixed with I to produce a valid JavaScript identifier.

Gradients and ids

Internal SVG ids (gradients, masks, clip paths) are prefixed per icon at build time, so several icons on one page never overwrite each other's definitions.

Available icons

Over 7,600 brand icons are available. Browse the full list at thesvg.org.

Community

Questions, icon requests, or ideas? Join the GLINR Discord, where theSVG has its own forum.

Discord

License

MIT - see LICENSE.

Brand icons and logos are the property of their respective trademark holders. See thesvg.org for details.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @thesvg/astro

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229