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.
Ruby command line application that
2.2.x
or 2.3.x
apt-get install ruby ruby-dev
(Ubuntu)brew install imagemagick && brew install pkg-config
(Mac OSX)apt-get install imagemagick libmagickcore-dev libmagickwand-dev
(Ubuntu)gem install bundler
There are three ways to install fccc:
First, create Gemfile
in your current directory.
Gemfile
should be like this.
# Gemfile
source 'https://rubygems.org'
gem 'fccc', :git => 'http://github.com/AkihikoITOH/fccc.git'
Then, run
$ bundle install
to install fccc.
You can also build gem and install it locally.
$ git clone https://github.com/AkihikoITOH/fccc.git
$ cd fccc && gem build fccc.gemspec
$ gem install fccc-0.1.0.gem
You can also use fccc by simply downloading file from Github.
$ git clone https://github.com/AkihikoITOH/fccc.git
$ cd fccc
$ ruby lib/fccc.rb
First, you need to put credentials.yml
containing api_key
and shared_secret
of Flickr API in your current directory(in which you will run fccc
command).
credentials.yml
should be like this.
api_key: yourapikeyhere
shared_secret: yoursecretkeyhere
# As a command line application
$ fccc collage [keyword1, keyword2, ..., keyword10] --output [output_filename]
# If it doesn't work, you can try another way
$ bundle exec fccc collage [keyword1, keyword2, ..., keyword10] --output [output_filename]
# As a Ruby script
$ cd fccc/
$ ruby lib/fccc.rb collage keyword1, keyword2, ..., keyword10 --output filename
# Basic
$ fccc collage dog, cat, lion, tiger, beetle, bee, salmon, mackerel, Kyoto, Hamburg --output mycollage
# If you have a list of keywords in a file, you can use it as input instead of giving them as arguments.
$ fccc collage --input keywords.txt --credential credentials.yml --output mycollage
keywords.txt
should be like this.
dog
cat
lion
tiger
beetle
bee
salmon
mackerel
Kyoto
Hamburg
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that fccc 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.