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.
nepse-api-helper
Advanced tools
a wrapper to use nepse api easily since they set up weird restrictions
i haven't actually tested the library but doing something like following should work.
you can install from npm using npm install nepse-api-helper
import { UpdateSecurityBriefs, GetSecurityDetail, GetSecurityBriefs, GetMarketStatus } from "nepse-api-helper";
//at first before anything, call UpdateSecurityBriefs. This is required to get a cache of security id and symbol
await UpdateSecurityBriefs();
//now you can use the functions that you need. for example
const securityLists = await GetSecurityBriefs(); //this will return a list of all securities including active and inactive, with thier status.
//get the detials of a security
const securityDetail = await GetSecurityDetail('NIFRA');
//if you want to check if market is open or not, you can use, GetMarketStatus
const marketStatus = await GetMarketStatus();
this package is my first and was made rapidly so there might be many bad practices, I am happy to receive constructive criticism and pull requests.
FAQs
a wrapper to use nepse api easily since they set up weird restrictions
The npm package nepse-api-helper receives a total of 0 weekly downloads. As such, nepse-api-helper popularity was classified as not popular.
We found that nepse-api-helper 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.