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
hash
mocks
package
Version:
v0.16.4
Opens a new window with list of versions in this module.
Published: Sep 27, 2024
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
¶
Hasher is an autogenerated mock type for the Hasher type
NewHasher creates a new instance of Hasher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
The first argument is typically a *testing.T value.
CompareWith provides a mock function with given fields: plain, _a1
Do provides a mock function with given fields: plain
Source Files
¶
Click to show internal directories.
Click to hide internal directories.