Skip to content

Commit 999b475

Browse files
authored
fix: resolve security alerts (#464)
1 parent 8301f82 commit 999b475

7 files changed

Lines changed: 366 additions & 488 deletions

File tree

android-snapshot-helper/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="36" />
55

66
<application
7-
android:debuggable="true"
7+
android:debuggable="false"
88
android:label="Agent Device Snapshot Helper"
9+
android:testOnly="true"
910
android:theme="@android:style/Theme.NoDisplay" />
1011

1112
<instrumentation

android-snapshot-helper/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ adb shell am instrument -w \
3636
```
3737

3838
`maxDepth` also caps recursive traversal depth inside the helper.
39-
The `-t` install flag is required because the helper is a debuggable instrumentation/test APK.
39+
The `-t` install flag is required because the helper is a test-only instrumentation APK.
4040
Devices or providers that block test-package installs must allow this package before helper capture
4141
can run.
4242

examples/test-app/package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,12 @@
2525
"devDependencies": {
2626
"@types/react": "~19.2.2",
2727
"typescript": "~5.9.2"
28+
},
29+
"pnpm": {
30+
"overrides": {
31+
"@xmldom/xmldom": "0.8.13",
32+
"postcss": "8.5.12",
33+
"uuid": "14.0.0"
34+
}
2835
}
2936
}

examples/test-app/pnpm-lock.yaml

Lines changed: 22 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
"performance"
152152
],
153153
"dependencies": {
154-
"fast-xml-parser": "^5.5.10",
154+
"fast-xml-parser": "^5.7.2",
155155
"pngjs": "^7.0.0"
156156
},
157157
"devDependencies": {
@@ -164,6 +164,6 @@
164164
"oxlint": "^1.57.0",
165165
"skillgym": "^0.5.0",
166166
"typescript": "^6.0.2",
167-
"vite": "^8.0.7"
167+
"vite": "^8.0.10"
168168
}
169169
}

0 commit comments

Comments
 (0)