You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: popup.js
+57-19Lines changed: 57 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -148,46 +148,56 @@ function getAlertInsights(alert, severity) {
148
148
149
149
if(alert.type==="unexpected_token_change"){
150
150
return{
151
-
reason: `SessionSentinel observed ${token} changing repeatedly within a short time window on ${site}.`,
151
+
reason: `The ${source} token "${token}" on ${site} changed multiple times within a short window.`,
152
152
severityReason:
153
-
severity==="high"
154
-
? "Marked high because rapid token churn strongly suggests active session instability or tampering."
155
-
: "Marked medium because repeated token changes can indicate unusual authentication behavior.",
153
+
severity==="medium"
154
+
? "Rated medium because this was detected at high sensitivity. Frequent changes may still be normal for this site."
155
+
: "Rated low because many websites routinely rotate session tokens as a security measure to prevent theft. This is usually expected behavior.",
156
156
plainMeaning:
157
-
"Your signed-in state may be getting replaced repeatedly. This can happen during risky account activity or aggressive re-authentication."
157
+
"Your session token was refreshed several times in quick succession. Most sites do this intentionally to protect your account — it's a standard security practice called token rotation.",
158
+
recommendation:
159
+
"No action needed. This is almost always normal. Only investigate if you also see unexpected account activity (e.g. password change emails, unfamiliar logins) or if you were not actively using the site at the time."
158
160
};
159
161
}
160
162
161
163
if(alert.type==="possible_replay"){
162
164
return{
163
-
reason: `A previously seen ${token} value for ${site}appeared again in ${source}.`,
165
+
reason: `A previously used value for "${token}" on ${site}has reappeared in ${source}. This means a token that was already replaced is now active again.`,
164
166
severityReason:
165
-
"Marked high because replayed session values are a strong indicator of token reuse risk.",
167
+
"Rated high because a replayed token can indicate that someone captured an old session value and is attempting to reuse it to gain access to your account.",
166
168
plainMeaning:
167
-
"An old sign-in token seems to be active again. That can mean someone reused a prior session."
169
+
"An old login token that should have been expired or replaced is being used again. This is a potential sign of session hijacking — someone may have stolen a previous token and is replaying it.",
170
+
recommendation:
171
+
"Take action: Log out of the affected site and log back in to force a new session. If available, revoke all active sessions from the site's security settings. Change your password if you suspect unauthorized access."
168
172
};
169
173
}
170
174
171
175
if(alert.type==="concurrent_session_usage"){
172
176
return{
173
-
reason: `${token}was detected in multiple browser stores/profiles for ${site}.`,
177
+
reason: `The token "${token}" for ${site}was found active in multiple browser cookie stores simultaneously. This means the same session credential exists in more than one browser profile or container.`,
174
178
severityReason:
175
-
"Marked high because simultaneous reuse across stores can indicate session sharing or hijacking.",
179
+
"Rated high because a legitimate session token should only exist in one browser context. Duplication across stores can indicate the token was copied or exported.",
176
180
plainMeaning:
177
-
"The same login session appears in more than one browser profile at once, which can be suspicious."
181
+
"Your login session for this site is active in multiple browser profiles at the same time. This could mean someone copied your session cookie to another browser to impersonate you.",
182
+
recommendation:
183
+
"Take action: Log out of the affected site across all profiles. Revoke active sessions from the site's security settings if available. If you intentionally use multiple profiles on the same site, you can dismiss this alert."
178
184
};
179
185
}
180
186
181
187
return{
182
188
reason: alert.message||`SessionSentinel flagged ${prettifyType(alert.type)} on ${site}.`,
183
189
severityReason:
184
190
severity==="high"
185
-
? "Marked high because this event matches a high-risk session behavior pattern."
191
+
? "Rated high because this event matches a pattern strongly associated with session compromise."
186
192
: severity==="medium"
187
-
? "Marked medium because this event is suspicious but less conclusive."
188
-
: "Marked low because this is informational or lower-confidence suspicious behavior.",
193
+
? "Rated medium because this event is suspicious but not conclusive on its own."
194
+
: "Rated low — this is informational. The detected behavior is likely normal but was logged for your awareness.",
189
195
plainMeaning:
190
-
"Something unusual was detected in your session activity. Review where and when this happened."
196
+
"Something unusual was detected in your session activity. Review the details to determine if this aligns with your recent actions on the site.",
197
+
recommendation:
198
+
severity==="high"
199
+
? "Take action: Review your account activity on the affected site and consider logging out and back in."
200
+
: "No action needed unless you notice other suspicious activity on the affected site."
191
201
};
192
202
}
193
203
@@ -293,9 +303,10 @@ function renderAlert(alert) {
0 commit comments