
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
GOogle SHeets DataBase - Python client to key-value database based on Google Sheets
Sheet works as a table and has the following look & structure:
Features
Advantages
Limitations
pip install goshdb
See this video for step-by-step instruction & demo
Table
uses only provided spreadsheet, credentials technically
allow to read/write all the spreadsheets in the account.Table
with a special service (non-personal)
account that doesn't have critical/secret spreadsheets that might be compromised.credentials.json
and put it in secret_dir
.Table
it'll open a browser window, ask you to sign in
the target test account.token.json
file will be generated automatically and put in secret_dir
.token.json
file will be used automatically for further access to the
target spreadsheet.token.json
to access the spreadsheet from another machine without completing the
steps abovefrom goshdb import authenticate, Table
from pathlib import Path
# Take spreadsheet ID from your spreadsheet URL:
# https://docs.google.com/spreadsheets/d/[SPREADSHEET_ID]/edit#gid=0
SPREADSHEET_ID = '...'
# Provide a sheet name. It should be either new sheet or existing one that follows the required structure.
SHEET_NAME = '...'
# Authenticate
creds = authenticate(Path('path/to/secret_dir'))
# Create a Table object. If you do this for the first time - it'll open a browser window (see Step 3 details)
table = Table(
creds=creds,
spreadsheet_id=SPREADSHEET_ID,
table_name=SHEET_NAME
)
# Write a key-value pair
table.set_string('city', 'London')
print(table.get_string('city')) # London
table.set_object('person_1', {'name': 'John', 'age': 30})
print(table.get_object('person_1')) # {'name': 'John', 'age': 30}
FAQs
GOogle SHeets DataBase - Python client to key-value database based on Google Sheets
We found that goshdb 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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.