
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@cognite/geospatial-sdk-js
Advanced tools
Cognite Geospatial SDK - store and query spatial objects in 2D and 3D space
JavaScript (TypeScript) Cognite Geospatial SDK.
To build and compile the typescript sources to javascript use:
yarn install
yarn build
Navigate to the folder of your consuming project and run the following:
yarn install @cognite/geospatial-sdk-js
then initialize like:
import {
CogniteGeospatialClient
} from '@cognite/geospatial-sdk-js';
const getGeoSpatialSDKClient = (project: string, token: string) =>
CogniteGeospatialClient({
project, // eg: your tenant name
token, // eg: bearer token, (OR and api key)
api_key: process.env.REACT_APP_API_KEY,
api_url: 'api.cognitedata.com',
debug: true,
});
...
...
...
Eg, to search for wells:
findSpatial({
limit: 100,
layer: 'point',
source: 'wellmodel',
attributes: ['geometry'],
geometry_rel: {
geometry: {
wkt: SOME_GEOMETRY,
crs: 'EPSG:4326',
},
relation: SpatialRel.Within, // exposed from this package
},
outputCRS: 'epsg:4326',
})
limit - number - The max amount of results to return layer - string - source - string -
FAQs
Cognite Geospatial SDK - store and query spatial objects in 2D and 3D space
We found that @cognite/geospatial-sdk-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 199 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
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.