Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Ruby wrapper for the CareerBuilder V2 HTTP XML API. While the CareerBuilder::Client mimics the interface of the HTTP API, it also provides some convenience methods to make your life easier.
NOTE currently only the resume portion of the API is implemented, others are a work in progress.
gem install career_builder
require 'career_builder'
client = CareerBuilder.new('your_email', 'your_password')
session_token = client.authenticate
http://ws.careerbuilder.com/resumes/resumes.asmx
resumes = client.advanced_resume_search(:keywords => "Ruby",
:zip_code => "45140",
:search_radius_in_miles => 50)
partial_resume = resumes.first
resume = client.get_resume(:resume_id => partial_resume.id)
This method requires your AccountDID, I could not find an official way to find this identifier, but I followed these steps:
Sign into CareerBuilder with your email / password credentials
Click My CareerBuilder -> My Account Info
Copy the AccountDID URL parameter from your address bar
client.resume_actions_remaining_today(:account_did => "D7C10Q67ZKG123VCRMC") # => 42
fetch a lazy collection of resumes, nothing actually happens until you iterate.
resumes = client.resumes(:keywords => "Ruby",
:zip_code => "45140",
:search_radius_in_miles => 50)
iterate through the resumes, automatically paging through the result set.
resumes.each do |resume|
puts resume.id
end
resumes that are fetched from a Resume::LazyCollection are also lazy in the sense that they do not attempt to use the Client#get_resume method until you access one of the attributes that requires using an API credit.
resume = resumes.first
Client#get_resume is not called when retrieving the id
resume.id # => "42XXASDFJKLQWERTY"
Client#get_resume(:resume_id => "42XXASDFJKLQWERTY") is called behind the scenes in order to fetch the real email address associated with the resume.
resume.real_contact_email # => "michael@jordan.com"
Copyright (c) 2010 Michael Guterl. See LICENSE for details.
FAQs
Unknown package
We found that career_builder 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.