
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
jquery-expire
Advanced tools
jQuery plugin to check to see whether a page has expired and, if so, performs an action.
Checks to see whether a page has expired or not. Checks current timestamp on load and at a specified interval (default 1 second) against specified start and end times. Can use client's local time or pull from atomic clock. Can use local timezone's for each client, or specified absolute timezone.
$.expire();
with startTime
, endTime
, and expireAction
startTime
date
required
Date when you want the page to become active. If timeStamp
is before startTime
, expireAction
will be called.
endTime
date
required
Date when you want the page to expire. If timeStamp
is on or after endTime
, expireAction
will be called.
expireAction
function
required
This function is called when timeStamp
is outside range of startTime
and endTime
. A common usage would be to redirect the page with window.location
.
updateInterval
integer
optional
default: 1000
Interval, in milliseconds, the script will check whether the page is expired or not. The script will automatically check on page load, then every updateInterval
.
useAtomicTime
boolean
optional
default: false
If true, the timeStamp
will be updated via AJAX to the atomic time in the timezone specified with the timeZone
option.
timeZone
string
optional
default: 'local'
Can be any timezone listed on http://json-time.appspot.com/timezones.json. If set to 'local'
(default), the timezone will be checked via AJAX based on the client's IP address geolocation information. Keep in mind that the page will expire for different clients depending on what timezone they are in. Setting an absolute timezone will expire the page for everyone at the same time globally.
checkExpiration()
doesn't seem to see the update when the time is updated to atomic time via AJAX; probably because setInterval
is called before the async action is completed.convertTZ()
function.FAQs
jQuery plugin to check to see whether a page has expired and, if so, performs an action.
We found that jquery-expire 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.