
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.
github-publish
Advanced tools
Publishes a file to a repository through the GitHub Contents API
npm install github-publish
Stable, but not feature complete
Currently missing support for deletes.
import { GitHubPublisher } from 'github-publish';
const publisher = new GitHubPublisher('token123', 'voxpelli', 'voxpelli.github.com');
const result = await publisher.publish('_post/2015-07-17-example-post.md', 'file content');
// If "result" is truthy then the post was successfully published
username
of the owner of the repository to publish to and the name of the repository itself as repo
.GitHubPublisher
methodsPromise
that resolves with either an object containing the content
and sha
of the existing file or with false
if no such file exists in the repositorycontent
as the filename
to the repo
of the publisher object. content
should be either a string
or a Buffer
. Returns a Promise
which resolves to the sha
of the created object on success and to false
on failure (failure is likely caused by a collision with a pre-existing file, as long as one haven't specified that it should be overridden).publish()
optionsnew content
6.0.0 (2024-06-25)
FAQs
Publishes a file to a repository through the GitHub Contents API
The npm package github-publish receives a total of 157 weekly downloads. As such, github-publish popularity was classified as not popular.
We found that github-publish demonstrated a healthy version release cadence and project activity because the last version was released less than 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 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.