Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions icons/nuxt-csp-report.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions modules/nuxt-csp-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: nuxt-csp-report
description: >-
A Nuxt module for collecting, normalizing, and persisting Content Security
Policy (CSP) reports.
repo: Gonzo17/nuxt-csp-report
npm: nuxt-csp-report
icon: nuxt-csp-report.svg
Comment on lines +6 to +7
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | πŸ”΄ Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check if npm package exists
echo "Checking npm package 'nuxt-csp-report'..."
npm_status=$(curl -s -o /dev/null -w "%{http_code}" https://registry.npmjs.org/nuxt-csp-report)
echo "HTTP Status: $npm_status"

# Check if icon file exists in the icons directory
echo -e "\n\nSearching for icon file 'nuxt-csp-report.svg'..."
fd -t f "nuxt-csp-report.svg"

# Also search for any svg icons directory
echo -e "\n\nListing icon directory structure..."
fd -t d "icon" -t d "icons" | head -20
fd -t f "\.svg$" | grep -i icon | head -20

Repository: nuxt/modules

Length of output: 168


🌐 Web query:

npm package nuxt-csp-report registry

πŸ’‘ Result:

I couldn’t find any package named nuxt-csp-report published on the public npm registry (npmjs.com) (i.e., no npmjs package page / listing turned up in search results), so there isn’t a public β€œregistry URL” to point to for that exact name.

If you expected it to be public, it may be published under a different name, or only available via a private registry (GitHub Packages, Verdaccio, Artifactory, etc.). To confirm what registry your environment is using, run:

npm config get registry
npm view nuxt-csp-report --json

For reference, common Nuxt security/CSP-related packages that are on the public npm registry include nuxt-security and nuxt-helmet. [1] [2]

Sources: [1] [2]


The npm package nuxt-csp-report does not exist on the public npm registry.

This module descriptor references a non-existent npm package. Verify that the package name is correct or that the npm package has been published before adding this module descriptor to the registry. Icon file verification could not be completed due to repository access limitations.

πŸ€– Prompt for AI Agents
In `@modules/nuxt-csp-report.yml` around lines 4 - 5, The module descriptor
references a non-existent npm package name "nuxt-csp-report" (and an icon
"nuxt-csp-report.svg"); to fix, verify and correct the package name in the
descriptor (replace "nuxt-csp-report" with the actual published npm package
name) or publish the package to npm under that name, and ensure the icon file
"nuxt-csp-report.svg" is present/accessible in the repo; update the descriptor's
npm and icon fields accordingly and rerun validation.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify the npm package exists
echo "Checking if nuxt-csp-report package exists on npm..."
npm_response=$(curl -s https://registry.npmjs.org/nuxt-csp-report)

if echo "$npm_response" | jq -e '.name' > /dev/null 2>&1; then
    echo "βœ“ Package EXISTS"
    echo ""
    echo "Package details:"
    echo "$npm_response" | jq -r '{
        name: .name,
        description: .description,
        latest_version: ."dist-tags".latest,
        repository: .repository.url,
        homepage: .homepage
    }'
else
    echo "βœ— Package NOT FOUND"
fi

Length of output: 388


@Flo0806, you're absolutely right, and I apologize for the error. The npm package nuxt-csp-report does exist on the registry. I've verified:

The module descriptor is correct. My initial check was faulty, and I apologize for the confusion. Thank you for the correction!

    (\_(\ 
    (o.o)  Oops, my mistake!
    (> <)  Sorry about that.

github: https://github.com/Gonzo17/nuxt-csp-report
website: https://github.com/Gonzo17/nuxt-csp-report
learn_more: ''
category: Security
type: 3rd-party
maintainers:
- name: David Gonzalez Casin
github: Gonzo17
compatibility:
nuxt: '>=3.12.0'
requires: {}