Skip to content

[Low] Packaging hygiene: no npm files allowlist, inert uppercase .GITIGNORE, runtime CSS injection requiring style-src unsafe-inline #38

Open

Description

@primeobsession

What's wrong

.GITIGNORE is not consulted on Linux so 'build' is ignored in name only. style-loader injects CSS at runtime.

Where

opengraph-react + .GITIGNORE, package.json, webpack.config.js

Blame: Charles Wooley charleswooley@Charless-MBP.home 5e976392bf0a4732da2859377fe9ee0149d752da

Fix

Rename to .gitignore. Add files allowlist. Prefer a CSS file consumers can import.

Catalog

  • ARAD: ARAD-OGR-012
  • CWE: CWE-1188
  • CVSS: 3.7 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
  • Section: Supply chain
  • Ref: .GITIGNORE:1 (master)
  • Verification: verified

Activity

  1. added
    security
    arad
    on Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    aradsecurityseverity:low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions