
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
node-steam-openid
Advanced tools
A wrapper package around Steam's Authentication API. Supports promises :)
A lightweight wrapper package around Steam's Authentication API, which supports promises :)
Install the package by typing npm i node-steam-openid in your project folder.
const SteamAuth = require("node-steam-openid");
const steam = new SteamAuth({
realm: "http://localhost:5000", // Site name displayed to users on logon
returnUrl: "http://localhost:5000/auth/steam/authenticate", // Your return route
apiKey: "XXXXXXXXXXXXXXXXXXXXXXXXXX", // Steam API key
});
app.get("/auth/steam", async (req, res) => {
const redirectUrl = await steam.getRedirectUrl();
return res.redirect(redirectUrl);
});
app.get("/auth/steam/authenticate", async (req, res) => {
try {
const user = await steam.authenticate(req);
//...do something with the data
} catch (error) {
console.error(error);
}
});
Gets the redirect URL to Steam.
None
steam.getRedirectUrl().then(url => {
//...do something with the url
});
Authenticates the user with oAuth.
steam.authenticate(req).then(user => {
//...do something with the user
});
Object which holds all the authenticated user's data. The key _json holds the raw response from Steam API.
{
_json: { ... },
steamid: "12345678912345678",
username: "Example Username",
name: "Example Name",
profile: {
url: "https://steamcommunity.com/id/Example",
background: {
static: "....jpg" | null,
movie: "....webm" | null,
},
background_mini: {
static: "....jpg" | null,
movie: "....webm" | null,
},
},
avatar: {
small: "...",
medium: "...",
large: "...",
animated: {
static: "....png" | null,
movie: "....webm" | null,
},
frame: {
static: "....png" | null,
movie: "....webm" | null,
},
}
}
See CONTRIBUTING.md for contributing guidelines.
See SECURITY.md for security practices.
MIT <3
FAQs
A wrapper package around Steam's Authentication API. Supports promises :)
The npm package node-steam-openid receives a total of 1,656 weekly downloads. As such, node-steam-openid popularity was classified as popular.
We found that node-steam-openid demonstrated a not healthy version release cadence and project activity because the last version was released 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.