
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@blackglory/geyser-js
Advanced tools
```sh npm install --save @blackglory/geyser-js # or yarn add @blackglory/geyser-js ```
npm install --save @blackglory/geyser-js
# or
yarn add @blackglory/geyser-js
interface IRateLimiterConfig extends JSONObject {
duration: number | null
limit: number | null
}
interface IGeyserClientOptions {
server: string
timeout?: number
retryIntervalForReconnection?: number
}
class GeyserClient {
static create(options: IGeyserClientOptions): Promise<GeyserClient>
close(): Promise<void>
getAllRateLimiterIds(signal?: AbortSignal): Promise<string[]>
getRateLimiter(
rateLimiterId: string
, signal?: AbortSignal
): Promise<IRateLimiterConfig | null>
setRateLimiter(
rateLimiterId: string
, config: IRateLimiterConfig
, signal?: AbortSignal
): Promise<void>
removeRateLimiter(rateLimiterId: string, signal?: AbortSignal): Promise<void>
/**
* 重置速率限制器的状态.
*
* @throws {RateLimiterNotFound}
*/
resetRateLimiter(rateLimiterId: string, signal?: AbortSignal): Promise<void>
/**
* @throws {RateLimiterNotFound}
*/
acquireToken(rateLimiterId: string, signal?: AbortSignal): Promise<void>
}
/**
* 速率限制器在未经配置的情况下, 相当于不存在.
*/
class RateLimiterNotFound extends CustomError {}
FAQs
```sh npm install --save @blackglory/geyser-js # or yarn add @blackglory/geyser-js ```
The npm package @blackglory/geyser-js receives a total of 0 weekly downloads. As such, @blackglory/geyser-js popularity was classified as not popular.
We found that @blackglory/geyser-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.