Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Dbsc Bundle Laravel Package

spomky-labs/dbsc-bundle

Symfony bundle for implementing Device Bound Session Credentials (DBSC), binding sessions to device-held keys to reduce cookie theft and session hijacking. Provides configuration, endpoints, and integration with Symfony security for stronger, phishing-resistant session protection.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for device-bound sessions: This package implements DBSC session registration, refresh, proof verification, cookie binding, and per-firewall configuration. Adopting it avoids building and maintaining a crypto/spec-heavy session-security layer in-house.
  • Shipping theft-resistant, long-lived sessions: Supports “remember me” or long-lived authenticated sessions where a stolen cookie alone is less useful because the session is bound to a device-backed key.
  • Binding registration to backend-vouched context: The new authorization round-trip lets registration be tied to values your backend controls or can verify—tenant ID, invite code, device posture, risk score, or enrollment context—without exposing them as loose client state.
  • Multi-subdomain and cross-origin deployment decisions: include_site and allowed_refresh_initiators make it possible to choose site-scoped sessions and explicitly control which origins may initiate refreshes, which matters for app suites, admin subdomains, and embedded flows.
  • Security operations and rollout monitoring: Secure-Session-Skipped logging gives a signal when browsers skip DBSC because refresh endpoints are unreachable, erroring, or over quota. That is directly useful for launch readiness and incident diagnosis.
  • Developer onboarding and supportability: The profiler overhaul exposes per-firewall configuration and the full registration/refresh exchange, making it easier to validate behavior in staging and reduce support burden during rollout.
  • Roadmap sequencing: 0.3.0 improves production readiness but does not change the core product risk: DBSC is an emerging browser capability. Treat adoption as a staged rollout behind flags, with browser-support and fallback decisions on the roadmap.

When to Consider This Package

  • You are building a Laravel application with high-value accounts, long-lived sessions, or elevated session-theft risk—admin consoles, financial accounts, healthcare portals, B2B SaaS with sensitive data.
  • You want to experiment with or adopt DBSC without implementing the protocol, proof verification, refresh endpoint behavior, and cookie lifecycle yourself.
  • You need per-firewall control over registration triggers, session lifetime, scope, cookie attributes, and refresh initiators.
  • You value built-in observability: skip logging, graceful session expiry, and a profiler panel that captures the registration/refresh exchange.
  • You can accept emerging-standard risk: browser support is limited and the specification may evolve. The release’s compatibility changes—jwk header first with legacy fallback, optional aud checking—show the area is still moving.
  • Look elsewhere or defer if you need a mature, universally supported standard today; if you cannot operate or monitor a refresh endpoint; if you require long-term API stability guarantees beyond a minor-release cadence; or if your architecture cannot tolerate browser-specific session behavior and fallback paths.

How to Pitch It (Stakeholders)

For executives: This package lets us add browser-backed device binding to login sessions, reducing the value of stolen cookies and strengthening account-takeover defenses. The 0.3.0 release is a minor feature update with no stated breaking changes, and it improves production readiness through backend-verifiable registration binding, safer session expiry behavior, and better operational visibility. It is best positioned as a security differentiator and staged rollout, not a universal replacement for existing session controls, because DBSC browser support is still emerging.

For engineering: We can avoid owning a complex, evolving security spec. The bundle handles DBSC registration, refresh, proof verification, cookie binding, and per-firewall configuration. 0.3.0 adds authorization binding, site-scoped sessions, allowed refresh initiators, skip logging, stricter proof checks, graceful expired-session handling, and a much stronger profiler for debugging headless fetch exchanges. Recommend a feature-flagged pilot with monitoring and fallback behavior.

For security and operations: The release improves auditability and failure handling: skipped DBSC is logged, expired sessions end gracefully with a cleared cookie, unknown sessions still return 401, and the profiler surfaces the full exchange. These are meaningful operational controls, but we should still threat-model browser coverage, refresh endpoint reliability, and cookie-prefix choices before broad rollout.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route