
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
npm install cias
//Required Dependencies
npm install mysql
npm install tmi.js
This library is meant to act as a twitch bot extension to allow for the smooth management and performance of Games in a Snap and other E-Sport events. It originally was written for the "Cities in a Snap" event, which Games in a Snap grew out of.
Reserved.
const mysql = require(`mysql`); // Requirement
const tmi = require('tmi.js'); // Recommended for chat functionality, though not strictly necessary to function.
const config = require('./config'); // Recommended to store variables safely
const ciasOPTS = {
initialize: true, // Required true/false to initialize DB and Table automatically using the parameters given. Recommended for first use.
MYSQLhost: `path.to.host`, // Required
MYSQLuser: `sqlUser`, // Required
MYSQLpassword: `sqlPassword`, // Required
MYSQLdatabase: `<db_name>`, // Required
EventsTable: `<events_table>`, // Required
CompetitorsTable: `<competitors_table>`, // Required
UsersTable: `<UsersRegistration_table>`, // Required
channel: `<YourChannel>` // Required
}
Announces the input text to all participants in an event.
cias.announce(channel, msg);
Announces the input text to a single participant as specified.
cias.announce(participant, msg);
Same as tmi.js client.join(), but cycles through current participants.
cias.join();
Same as tmi.js client.part(), but cycles through current participants.
cias.part();
Returns single Participant object based on the number given for the event in question.
cias.participant(participant, callback);
Returns All Participants as objects based on the event in question.
cias.participants(callback);
Refreshes Participants list.
cias.refresh(callback);
Runs the CiaS Module's Error Module. (mostly for internal use)
cias.error(err);
Sets the event number (integer) for the rest of the module to operate on. See the example for details on how to implement.
cias.setEvent(event, callback);
Manually runs the CiaS Module's Timer for a length of time (in minutes, float).
cias.timer(channel, length);
Calls the final 10 seconds sequence.
cias.tenseconds(channel);
Starts the event. Length (optional) is a value in minutes.
cias.starting(channel, length);
Notes: A length of 0 will result in the starting countdown running on its' own. A valid, non-zero integer (or decimal) will result in the starting countdown followed by the event timer starting. A length of 0 will result in the starting countdown running on its' own.
Developed by Cazgem (https://cazgem.com) for use as part of cities in a snap, and Games in a Snap (https://twitch.tv/gamesinasnap) specifically for his chatbot, Polyphony.
FAQs
Tools for helping run the Games in a Snap event on twitch.tv
The npm package cias receives a total of 1 weekly downloads. As such, cias popularity was classified as not popular.
We found that cias 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.