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.
## How to install
1. Install pip package
```
pip install Django-cbar-currency
```
2. Configure directory for file
In settings.py file set a directory
```
CBAR_CURRENCY_ROOT = os.path.join(BASE_DIR, 'media', 'cbar')
```
## How to import
```
from cbar_currency import Currency
```
## Functions
1. Currency.cron_script()
This function gets currency list with their values, differences and right them to file
2. Currency.get_list()
This function reads currency file and returns all currencies with their values and differencies as list
3. Currency.get_specific_currencies(currencyList)
This function returns specific currencies list which you give
You should give currency names as list, for example ['USD', 'EUR', 'RUB']
4. Currency.get_currencies_by_priority(currencyList)
This function returns all currencies list but currencies which you give will stay at the top of the list
You should give currency names as list, for example ['USD', 'EUR', 'RUB']
5. Currency.get_list_from_cbar(date)
This function returns all currencies list without differencies for the specific date
FAQs
Getting currencies and differencies from CBAR
We found that cbar-currency demonstrated a healthy version release cadence and project activity because the last version was released less than 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.