Skip to content

Commit f65e200

Browse files
committed
add warnings on suspicious activity in RN bridge communication
1 parent c415153 commit f65e200

14 files changed

Lines changed: 1259 additions & 166 deletions

File tree

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ LOG_LEVEL_STATUS_GO=info
99
JSC_ENABLED=1
1010
QUEUE_MESSAGE_ENABLED=1
1111
MANY_WHISPER_TOPICS_ENABLED=0
12+
RN_BRIDGE_THRESHOLD_WARNINGS=1
1213

.env.jenkins

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ ETHEREUM_DEV_CLUSTER=1
44
MAINNET_NETWORKS_ENABLED=1
55
OFFLINE_INBOX_ENABLED=1
66
OFFLINE_INBOX_MANY_ENABLED=0
7-
LOG_LEVEL=debug
7+
LOG_LEVEL=info
88
LOG_LEVEL_STATUS_GO=info
99
JSC_ENABLED=1
1010
QUEUE_MESSAGE_ENABLED=1
11-
MANY_WHISPER_TOPICS_ENABLED=0
11+
MANY_WHISPER_TOPICS_ENABLED=0
12+
RN_BRIDGE_THRESHOLD_WARNINGS=0

.env.prod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ LOG_LEVEL_STATUS_GO=info
99
JSC_ENABLED=0
1010
QUEUE_MESSAGE_ENABLED=0
1111
MANY_WHISPER_TOPICS_ENABLED=0
12+
RN_BRIDGE_THRESHOLD_WARNINGS=0

.re-natal

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,12 @@
5050
"emojilib",
5151
"react-native-mapbox-gl",
5252
"react-native-config",
53-
"react-native-svg"
53+
"react-native-svg",
54+
"rn-snoopy",
55+
"rn-snoopy/stream/bars",
56+
"rn-snoopy/stream/filter",
57+
"rn-snoopy/stream/buffer",
58+
"react-native/Libraries/vendor/emitter/EventEmitter"
5459
],
5560
"imageDirs": [
5661
"resources/images"

modules/react-native-status/ios/RCTStatus/Jail.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ - (Cell *)createCell:(NSString *)chatId
110110

111111
Cell * cell = [Cell new];
112112
JSContext *context = [JSContext new];
113+
[context setName:chatId];
113114
cell.context = context;
114115

115116
HandlersJs *handlers = [HandlersJs new];

0 commit comments

Comments
 (0)