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.
Support multiple platforms (Windows, OS X, etc.) and browsers (Chrome, Firefox, Safari, IE, etc.): - Chrome
The tool is able to run around the clock with report at least every hour. Run of the script can be done with any scheduler like cron.
Functions:
###Linux/MacOSX:
###Windows:
Add this line to your application's Gemfile:
gem 'watir-schema'
And then execute:
$ bundle
Or install it yourself as:
$ gem install watir-schema
Sample run: $ watir-schema -v 5 -s schema.yaml -d ~/ -e sample@gmail.com
This will set log level 5 (extremely excessive), surf the web using schema.yaml config, and store browser data in the '~/' folder, and then send report to collected log specified sample@gmail.com.
Help info on the tool:
$ watir-schema -h
This is a watir-schema script, how to use it see below
-v, --verbose 1 enable verbose output, values: 0 to 5
-s, --schema set schema YAML-file to proceed
-b, --browser firefox use browser to surf, values: msie|firefox|chrome|safari
-p, --[no-]proxy use proxy
-d, --dir set base dir to store results
-t, --store store web-browser state into a folder
-e, --email set an email to report test results
-l, --log set output flow to a file
-h, --help Show this message
-V, --version Print version
Sample schema.yaml is shewn below:
---
report:
server: smtp.gmail.com
port: 587
domain: networkadvertising.org
login: monitoring@networkadvertising.org
tls: true
password: '#rrrjjhdr@'
auth_type: :plain #or :plain or :login or :cram_md5
from: 'monitoring@networkadvertising.org'
from_name: 'NAI Monitoring'
body: ! "From: %from_name <%from>\n
Subject: Watir web-surfing report"
sites:
google.com:
schema:
- 'a:id:gb_70:%C'
- 't:id:Email:%S=monitoring@networkadvertising.org='
- 't:id:Passwd:%S=#rrrjjhdr@='
- 'i:id:signIn:C'
- 't:name:q:%S=2012 Audi A6='
- 'b:name:btnG:C'
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that watir-schema 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.