@dexto/tools-process 1.5.6 → 1.5.8

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.
@@ -58,6 +58,8 @@ const DANGEROUS_PATTERNS = [
58
58
  /parted\s+\/dev\/sd[a-z]/,
59
59
  // Partition disk with parted
60
60
  // Download and execute patterns
61
+ // Note: curl | python and wget | python are intentionally NOT blocked
62
+ // as they are commonly used for legitimate data fetching and parsing
61
63
  /wget.*\|\s*sh/,
62
64
  // wget | sh
63
65
  /wget.*\|\s*bash/,
@@ -66,10 +68,6 @@ const DANGEROUS_PATTERNS = [
66
68
  // curl | sh
67
69
  /curl.*\|\s*bash/,
68
70
  // curl | bash
69
- /wget.*\|\s*python/,
70
- // wget | python
71
- /curl.*\|\s*python/,
72
- // curl | python
73
71
  // Shell execution
74
72
  /\|\s*bash/,
75
73
  // Pipe to bash
@@ -35,6 +35,8 @@ const DANGEROUS_PATTERNS = [
35
35
  /parted\s+\/dev\/sd[a-z]/,
36
36
  // Partition disk with parted
37
37
  // Download and execute patterns
38
+ // Note: curl | python and wget | python are intentionally NOT blocked
39
+ // as they are commonly used for legitimate data fetching and parsing
38
40
  /wget.*\|\s*sh/,
39
41
  // wget | sh
40
42
  /wget.*\|\s*bash/,
@@ -43,10 +45,6 @@ const DANGEROUS_PATTERNS = [
43
45
  // curl | sh
44
46
  /curl.*\|\s*bash/,
45
47
  // curl | bash
46
- /wget.*\|\s*python/,
47
- // wget | python
48
- /curl.*\|\s*python/,
49
- // curl | python
50
48
  // Shell execution
51
49
  /\|\s*bash/,
52
50
  // Pipe to bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexto/tools-process",
3
- "version": "1.5.6",
3
+ "version": "1.5.8",
4
4
  "description": "Process tools provider for Dexto agents",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "dependencies": {
22
22
  "zod": "^3.25.0",
23
- "@dexto/core": "1.5.6"
23
+ "@dexto/core": "1.5.8"
24
24
  },
25
25
  "devDependencies": {
26
26
  "tsup": "^8.0.0",