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.
@embedded-postgres/linux-x64
Advanced tools
A package containing the Postgres binaries for a particular architecture and operating system. See the embedded-postgres package.
This package contains the linux-x64
Postgres binaries for use with the embedded-postgres
package. See
embedded-postgres for a more
developer-friendly way of spawning PostgresQL clusters.
embedded-postgres
is available from NPM:
npm i embedded-postgres
If you just want to use the binaries, you can also just use this package
directly. It exports the paths to the
pg_ctl
,
initdb
and
postgres
binaries
for linux-x64
.
npm i @embedded-postgres/linux-x64
Follow the documentation to discover how to interface with the binaries. Any implementation is going to look something like this:
import { pg_ctl, initdb, postgres } from '@embedded-postgres/linux-x64'
import { execSync, spawn } from 'child_process';
execSync(initdb);
spawn(postgres);
[!IMPORTANT]
A more friendly wrapper for using these binaries is provided as the embedded-postgres package. Please use it if you're confused by the binaries.
Embedded Postgres was created by Lei Nelissen for BMD Studio. It is based on zonky's embedded-postgres-binaries. The binaries are made available under the Apache License 2.0, whereas the specific code in this package is made available under the MIT license.
FAQs
A package containing the Postgres binaries for a particular architecture and operating system. See the embedded-postgres package.
We found that @embedded-postgres/linux-x64 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.