Affected by GO-2026-5113
and 3 other vulnerabilities
GO-2026-5113 : ShellHub has crash-DoS via field injection in filter and sort-by parameters in github.com/shellhub-io/shellhub
GO-2026-5302 : ShellHub has cross-tenant IDOR in `GET /api/sessions/:uid` that discloses SSH session data in github.com/shellhub-io/shellhub
GO-2026-5453 : ShellHub has cross-tenant IDOR in `GET /api/devices/:uid` that discloses device data of any namespace in github.com/shellhub-io/shellhub
GO-2026-5680 : ShellHub has cross-tenant IDOR in `GET /api/namespaces/:tenant` via API Key bypasses membership check in github.com/shellhub-io/shellhub
Discover Packages
github.com/shellhub-io/shellhub
pkg
envs
mocks
package
Version:
v0.18.0
Opens a new window with list of versions in this module.
Published: Jan 31, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Backend is an autogenerated mock type for the Backend type
func NewBackend(t mockConstructorTestingTNewBackend) *Backend
NewBackend creates a new instance of Backend. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
Get provides a mock function with given fields: key
Process provides a mock function with given fields: prefix, spec
Source Files
¶
Click to show internal directories.
Click to hide internal directories.