
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
reddit-api-generator
Advanced tools
Transforms the auto generated Reddit API into structured formats for consumption by anyone looking to write a wrapper for the Reddit API.
The dist
folder contains the various outputs that can be consumed.
The data format is a flat array of endpoints.
Every endpoint has enough data with it to create a call to the Reddit API. Here is a sample of one endpoint [/r/subreddit]/new
:
[
{
"path": "/r/$subreddit/new",
"url": {
"oauth": "https://oauth.reddit.com/r/$subreddit/new",
"standard": "http://www.reddit.com/r/$subreddit/new"
},
"oauth": [
"read"
],
"extensions": [
".json",
".xml"
],
"method": "GET",
"describe": "This endpoint is a listing.",
"args": {
"after": {
"describe": "fullname of a thing"
},
"before": {
"describe": "fullname of a thing"
},
"count": {
"describe": "a positive integer (default: 0)"
},
"limit": {
"describe": "the maximum number of items desired (default: 25, maximum: 100)"
},
"show": {
"describe": "(optional) the string all"
}
}
},
{/* another endpoint */},
{/* and another... */}
]
Sometimes there are parameters in the url. These are represented with a "$
" prepending the name of the variable. Given this path, the path in the endpoint will look like:
/api/multi/$multipath/r/$srname
Without a package manager
Pull out the files you need from the dist folder.
npm
npm install reddit-api-generator
bower
bower install reddit-api-generator
JSON
Raw JSON can be used in any language.
Node.js
var redditApi = require('reddit-api-generator');
AMD
requirejs(['reddit-api-generator'], function(redditApi) {
});
npm test
Run the command bin/buildAll.sh
FAQs
Converts Reddit's API into structured formats
The npm package reddit-api-generator receives a total of 2 weekly downloads. As such, reddit-api-generator popularity was classified as not popular.
We found that reddit-api-generator 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.