Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@snyk/rpm-parser
Advanced tools
Snyk helps you find, fix and monitor for known vulnerabilities in your dependencies, both on an ad hoc basis and as part of your CI (Build) system.
A library that reads the list of packages inside an RPM database file.
import { getPackages } from '@snyk/rpm-parser';
import { readFileSync } from 'fs';
// ...
const rpmDatabase = readFileSync('/var/lib/rpm/Packages');
const result = await getPackages(rpmDatabase);
console.log(result.response);
The parser currently reads only BerkeleyDB version 5.x as the supported database backend. There are plans within RPM to use SQLite as the database backend but the parser currently does not work with SQLite.
Please file an Issue under this repository, providing as much information as you can to reproduce the issue.
If possible, provide the RPM database file (/var/lib/rpm/Packages
) or the Operating System used and the packaged installed using the package manager.
Refer to the BerkeleyDB module README for a breakdown of the BerkeleyDB version 5.x database.
Refer to the RPM module README for details on the package extraction.
FAQs
Produce a list of dependencies from an RPM database file.
We found that @snyk/rpm-parser 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.