Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Duplicate to-dos between popular to-do tools.
Todoplicator currently copies issue titles, bodies (or descriptions), and state (closed or open).
Add to Gemfile:
gem "todoplicator"
Then bundle:
$ bundle
Or install in system gems:
$ gem install todoplicator
Below are the currently supported adapters. They are used to identify the source and destination for issues to be copied.
Class | Key | Target | Token |
---|---|---|---|
GitHubAdapter | github | username/repository | GITHUB_TOKEN |
GitLabAdapter | gitlab | username/repository | GITLAB_TOKEN |
For each adapter you plan on using you must have created a token that has permission to either read or write from the source or destination for issues to be copied.
Todoplicator must be installed and the appropriate authentication set via environment variable. There are multiple ways to set environment variables for applications.
The simplest approach is to export them before you run your script:
$ export GITHUB_TOKEN=abc123
Copy from one GitHub repository to another:
require "todoplicator"
Todoplicator.new("github/jfine/todo-source", "github/jfine/todo-destination").copy
Copy from GitLab to GitHub repository:
require "todoplicator"
Todoplicator.new("gitlab/jfine/todo-source", "github/jfine/todo-destination").copy
Display help:
$ todoplicator -h
Copy from one GitHub repository to another:
$ todoplicator github/jfine/todo-source github/jfine/todo-destination
Copy from GitLab to GitHub repository:
$ todoplicator gitlab/jfine/todo-source github/jfine/todo-destination
For an overview of considerations, thoughts, and general guidelines please see the issues below.
Although all commands can be run via bundle execute
several have been added as binstubs
for convenience and for use by tools such as RVM, direnv, etc.
bin/console
for starting an interactive promptbin/guard
for automatic running of specsbin/rake
for running other tasks including gem building and publishingbin/rspec
for running specsbin/rubocop
for code linting$ git clone git@github.com:jfine/todoplicator.git
$ cd todoplicator
$ bin/setup
Bug reports and pull requests are welcome on GitHub at https://github.com/jfine/todoplicator.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that todoplicator 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.