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.
First, install the quillsql package by running:
$ pip install quillsql
Then, add a /quill
endpoint to your existing python server. For example, if
you were running a FASTAPI app, you would just add the endpoint like this:
from quillsql import Quill
from fastapi import FastAPI, Request
app = FastAPI()
quill = Quill(
private_key=<YOUR_PRIVATE_KEY_HERE>,
database_connection_string=<YOUR_DB_CONNECTION_STRING_HERE>,
)
# ... your existing endpoints here ...
@app.post("/quill")
async def quill_post(data: Request):
body = await data.json()
return quill.query(org_id="2", data=body)
Then you can run your app like normally. Pass in this route to our react library on the frontend and you all set!
pipenv install
pipenv shell
uvicorn examples.fastapi-server.app:app --reload --port 3000
You are now ready to ping your local server at http://localhost:3000.
If you run into issues with Library not loaded: @rpath/libpq.5.dylib
or no LC_RPATH's found
, try uninstalling and reinstalling postgres on your machine. For example, using homebrew:
$ brew uninstall c
$ brew update
$ brew install postgresql
If you're still having this issue, this resource might also be useful for you: https://www.psycopg.org/docs/install.html.
FAQs
Quill SDK for Python.
We found that quillsql 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.