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.
Library for use with the The National Map - Elevation Point Query Service of the USGS (formerly known as NED).
The Elevation Point Query Service returns the elevation in international feet or meters for a specific latitude/longitude (NAD 1983) point from the USGS Elevation Service hosted at the NGTOC. Input parameters: x (longitude), y (latitude), units (Feet, Meters), output (XML, JSON). Latitude and longitude must be specified in decimal degrees with southern latitudes and western longitudes represented as negative values.
Use a package manager (e.g., NPM or Yarn) to install the package named usgs-ned.
npm install usgs-ned
import { getElevationData, MeasurementUnits, WKId } from "usgs-ned";
// Call the webs service.
const elevationData = await getElevationData({
x: -122.57539940320193,
y: 47.258260494342196,
units: MeasurementUnits.Feet,
wkid: WKId.gps,
includeDate: true,
});
// The expected result should be similar to this.
const expectedResult = {
location: {
x: -122.57539940320193,
y: 47.258260494342196,
spatialReference: {
wkid: 4326,
latestWkid: 4326,
},
},
locationId: 0,
value: 13.34829010234212,
rasterId: 42167,
resolution: 1,
attributes: {
AcquisitionDate: new Date(2020, 2, 1)
},
};
FAQs
A client library for the USGS NED Point Query Service.
The npm package usgs-ned receives a total of 5 weekly downloads. As such, usgs-ned popularity was classified as not popular.
We found that usgs-ned 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.