
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
An API that interacts with the Telescope web service.
Currently in testing, Telescope server isn't live yet
getStars(options, callback)
Returns JSON object of stars.
Options | Description | Default |
---|---|---|
limit | Limit the number of stars in the response. | 50 |
page | Define what page you want back. | 1 |
con | Filter the stars by their constellation. | All |
mag | Filter the stars by their magnitude. | All |
magparam | Changes how the mag query is interpreted. | lt |
search | Performs a text search. | none |
Example:
skyglass.getStars({
limit: 20,
page: 2,
con: 'Ori',
mag: 3,
magparam: gt,
})
This will return stars 21-40 that are in Orion with a magnitude of 3 or greater.
getConstellations(callback)
Invokes callback with data for all constellations.
getConstellation(con, callback)
This method accepts a constellation's abbreviation as an argument (good list here) and invokes the callback with its data.
Example: skyglass.getConstellation('Ori')
This will return JSON for the constellation of Orion.
addConnection(con, [starid1, starid2], callback)
This method accepts a constellation's abbreviation, an array of 2 star's ids, and a callback.
It will add a connection between these two stars to the constellation.
Example: skyglass.addConnections('Tau', [1234, 4321], ...)
removeConnection(con, [starid1, starid2], callback)
This method accepts a constellation's abbreviation, an array of 2 star's ids, and a callback.
It will remove a connection between these two stars to the constellation.
Example: skyglass.removeConnections('And', [1234, 4321], ...)
FAQs
An API that interacts with the Telescope service.
We found that skyglass 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 uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.