Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
csgo-gamestate-client
Advanced tools
A client to parse an interpret the data received from [CS:GO Game State Integration](https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Game_State_Integration)
A client to parse an interpret the data received from CS:GO Game State Integration
Parses the given game state JSON string. Returns the parsed GameState object or throws decoding error.
newGameState: string This is the string that the CS:GO client sends as a HTTP POST message.
Decodes the given game state object. Returns the decoded GameState object or throw decoding error.
newGameState: GameState This is the parsed game state that the CS:GO client sends as a HTTP POST message.
Returns the teams and their players. Check Teams
interface for details.
newGameState: GameState This is the parsed GameState return by parseGameState
function.
An example to create an endpoint to receive the CS:GO Game State Integration data and an endpoint the respond with the parsed data.
import express from 'express'
import { parseGameState, GameState } from 'csgo-gamestate-client'
let gameState = null
const app = express()
app.post('/gamestate', (req) => (gameState = parseGameState(req.body)))
app.get('/gamestate', (req, res) => res.json(gameState))
app.listen(3000)
FAQs
A client to parse an interpret the data received from [CS:GO Game State Integration](https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Game_State_Integration)
The npm package csgo-gamestate-client receives a total of 0 weekly downloads. As such, csgo-gamestate-client popularity was classified as not popular.
We found that csgo-gamestate-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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 found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.