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.
geojson2pgsql
Advanced tools
When ogr2ogr
isn't enough. Imports GeoJSON into PostgreSQL, using features'
id
as the primary key, their geometry as a PostGIS geometry, and their
properties
as a JSON column.
Requires PostgreSQL 9.2 for JSON storage, 9.3 for meaningful query functionality.
Import data.json
into a data
table and display keys present in
properties
.
createdb json-test
psql -d json-test -c "create extension postgis"
DATABASE_URL=postgres://localhost/json-test geojson2pgsql data.json data
psql -d json-test -c "select json_object_keys(properties) from data"
DATABASE_URL
- Postgres connection info. Required.FAQs
Import GeoJSON into PostgreSQL
We found that geojson2pgsql demonstrated a not healthy version release cadence and project activity because the last version was released 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.