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.
clock-tickr
Advanced tools
A ticker that emits tick events at a clock-sychronised, self-adjusting interval.
A very simple ticker that emits tick
events at a clock-sychronised, self-adjusting interval.
npm install --save clock-tickr
Create a ClockTickr instance, with an optional tick interval in ms (default is 1000
) and start it. See below.
const ClockTickr = require('clock-tickr')
let tickr = new ClockTickr({ interval: 250 })
tickr.on('tick', (tick) => {
console.log(tick)
})
tickr.start()
results in (when you change the system time while running)
...
{ actual: 1539887917504, expected: 1539887917500, drift: 4 }
{ actual: 1539887917753, expected: 1539887917750, drift: 3 }
{ actual: 1539886920168, expected: 1539887918000, drift: -997832 }
Did you travel in time?
{ actual: 1539886920501, expected: 1539886920500, drift: 1 }
{ actual: 1539886920751, expected: 1539886920750, drift: 1 }
...
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
MIT
FAQs
A ticker that emits tick events at a clock-sychronised, self-adjusting interval.
The npm package clock-tickr receives a total of 6 weekly downloads. As such, clock-tickr popularity was classified as not popular.
We found that clock-tickr 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.