Scan your whole stack
Are you using strapi-plugin-magic-sessionmanager?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v4.16.0
strapi-plugin-magic-sessionmanager was last scanned on 24 Nov 2026 at version 4.16.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 4.16.0 LATEST | 24 Nov 2026 | No rules fired |
| 4.15.0 | 24 Nov 2026 | No rules fired |
| 4.14.3 | 24 Nov 2026 | No rules fired |
| 4.14.2 | 18 Nov 2026 | Not shown |
| 4.14.1 | 18 Nov 2026 | Not shown |
Findings for v4.16.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 4.16.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
See who is signed in to your Strapi 5 app, end any session in one click, and stop password guessing before it reaches your users.
Magic Session Manager records every sign-in through Users & Permissions as a session. Admins see who is online, end single sessions or all sessions of a user, block accounts and review sign-in history. Your app gets logout routes, a "my devices" list for users, failed-login lockout and optional country rules. It works with Strapi's native refresh-token sessions and with several server processes on one database. A separate Admin panel view shows who is signed in to the Strapi admin panel itself and signs an admin out of one browser or everywhere.
Free and open source under the MIT license. Every feature works without an account, key or activation, and the plugin sends nothing to its author.
Live docs: https://schero94.github.io/Magic-Sessionmanager/ · npm · Changelog · Report a bug · Discussions
session-required| Area | What you get |
|---|---|
| Overview | A sessions dashboard with Active, Idle and Ended counts, search, filters, CSV and JSON export, and a details dialog per session (device, browser, IP address, location, and a security score when a risk data source is set up). |
| Control | End one session, end all sessions of a user, delete a record, or block a user. Ended sessions are rejected on the next request with 401 and a reason header. |
| Your users | Content API routes for "my sessions", "current session", log out, log out everywhere and log out other devices. Each user only ever sees their own sessions. |
| Login protection | Temporary IP lockout after failed sign-ins, Content API rate limits, optional rejection of VPN, proxy or low-score sign-ins (needs a risk data source), and country allow or block lists. |
| Location | IP location from a local MaxMind GeoLite2 database (no third party in the sign-in path) or from ipapi.co, or turned off. |
| Alerts | Security emails to the user through Strapi's Email plugin and sign-in notifications to Discord or Slack. |
| Admin integration | A Sessions panel next to each user in the Content Manager and an Online users widget on the Strapi homepage. |
| Admin panel sessions | Who can use the Strapi admin panel, who is signed in, on which browser and since when. Sign an admin out of one browser or everywhere; it takes effect on their next click. |
| Admin activity | A sign-in history per admin (sign-ins, failed attempts, lockouts, sign-outs, who signed out whom) with IP address, browser and location, and optional Content Manager activity. |
| Native Strapi sessions | Works with jwtManagement: 'refresh' (Strapi's own sessions and refresh tokens) and with 'legacy-support'. |
| Several processes | Lockout, rate limits, jobs and settings stay consistent across pm2 workers and Railway replicas that share one database. |
| Privacy | Stored tokens are encrypted (AES-256-GCM) and never returned. Retention deletes old history automatically. No telemetry. |
npm install strapi-plugin-magic-sessionmanager
// config/plugins.ts
export default () => ({
'magic-sessionmanager': { enabled: true },
});
# a stable key for token encryption (startup fails without it in production)
echo "SESSION_ENCRYPTION_KEY=$(node -e "console.log(require('crypto').randomBytes(32).toString('base64'))")" >> .env
npm run build && npm run develop
Sign in to your app as an end user (POST /api/auth/local), open Session Manager in the admin menu and the new session is listed as Active. End it, and the same token gets 401 on its next request.
Yarn and pnpm work the same way (yarn add strapi-plugin-magic-sessionmanager, pnpm add strapi-plugin-magic-sessionmanager).
All screenshots use synthetic data: users *.example.test, IP addresses from the documentation range 203.0.113.0/24, Strapi 5.61. The full gallery on the project site also shows Analytics, dark mode, every settings tab, the untracked sign-in dialogs and more mobile views.
Strapi 5.62, synthetic admins *.example.test. The gallery also shows the sessions dialog, the sign-out confirmation, what the signed-out admin sees, dark mode and the phone layout.
Session. One sign-in of a user on one device, from sign-in until it ends. Every session has a session record with times, device, IP address and location.
A session is in one of three states:
| State | Meaning |
|---|---|
| Active | Open and used within the inactivity timeout. |
| Idle | Open, but not used for longer than the inactivity timeout. It ends on its next request or at the next idle check. A token refresh makes it active again. |
| Ended | The session can no longer be used. The user has to sign in again on this device. |
An ended session always shows its end reason:
| End reason | Stored value | Meaning |
|---|---|---|
| Logged out | logout |
The user signed out. |
| Timed out | idle |
Not used for longer than the inactivity timeout. |
| Expired | expired |
Reached the maximum session age. |
| Ended manually | manual |
Ended from the Strapi admin, or by the user from another of their devices. |
| User blocked | blocked |
Ended because the user account was blocked. |
| Reason not recorded | (none) | No end reason was stored, for example because the session ended in Strapi's own session store or was recorded by an older plugin version. |
Three verbs, three meanings:
Online describes users, never sessions: a user is online when at least one of their sessions is Active. The dashboard, the widget and the user panel all use this one rule, based on the configured inactivity timeout.
| Where | Name | Answers |
|---|---|---|
| Main menu | Session Manager (page title "Sessions") | Which sessions exist, and which need action? |
| Dialog on the dashboard | Session details | What is this session, and why is it in this state? |
| Content Manager, User edit view | Sessions panel | What access does this user have, and how do I cut it off? |
| Strapi homepage | Online users widget | Who is online right now? |
| Session Manager › Admin panel | Admin panel sessions | Who is signed in to this admin panel, and how do I sign someone out? |
| Settings › Session Manager | Configuration | How should sessions and sign-ins behave? |
| Settings › Session Manager | Analytics | How are sessions used over time and by device? |
?search=<email> is a shareable link.refresh mode, a notice above the cards counts untracked Strapi sign-ins: refresh tokens Strapi still accepts that have no session details from this plugin. They are not in the list and are not active or online sessions; each user's sessions panel lists them. The notice is neutral when all of them were created before this plugin started tracking, and a warning ("Possible tracking gap") when any was created afterwards. Why? opens a count-only summary; End these sessions ends them after a confirmation. See Untracked Strapi sessions.Open Session Manager and switch to Admin panel (the switch below the title; shown only to roles with "Read admin panel sessions"). The view lists Strapi admin accounts, not your app's users, and none of its numbers appear on the App users dashboard, the widget or Analytics.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.