
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
atriusmaps-node-sdk
Advanced tools
This project provides an API to Atrius Personal Wayfinder maps within a Node environment. See the README.md for more information
npm install atriusmaps-node-sdk
Or with yarn:
yarn add atriusmaps-node-sdk
Then within your code, import the map initializer via:
import Init from 'atriusmaps-node-sdk'
or use require
const Init = require("atriusmaps-node-sdk")
The Init object contains 3 methods:
Init.setLogging(boolean logging) : To turn on/off the loggingInit.getVersion() : Returns the current version of the libraryInit.newMap(Object configuration) : This is how your initialize a new map. This returns a Promise that resolves to your map.The configuration object recognizes the following properties:
accountId: This is the customer account against which you wish to display a map. Each account is associated with a list of 1 or more venues that it is authorized to display.venueId: The venue ID you wish the map to render.agent (optional): An instance of the http.agent to handle network fetches. See https://github.com/node-fetch/node-fetch#custom-agent for more information.proxy (optional): An object containing a host and port property to utilize a forwarding proxy for all network requests. (see example below)At a minimum, a configuration would contain an accountId and a venueId:
const config = {
venueId: '<venueId>',
accountId: '<accountId>',
};
An example of utilizing a proxy:
const config = {
venueId: '<venueId>',
accountId: '<accountId>',
proxy: {
host: 'example.com',
port: 9108,
},
};
You then initialize your map:
const map = await Init.newMap(config);
Your map function is ready to receive commands – of which the following are currently supported:
help : Returns a string indicating all available commands and their argumentsgetDirections: Get time, distance and navigation steps from one point to anothergetPOIDetails: Get detailed information about a POI by IDgetAllPOIs: Get a list of all POIs for the venuegetStructures: Returns a list of structures (buildings) within the venue along with their propertiesgetVenueData: Returns a complete venue object containing all venue detailssearch: Performs a search against a term specifiedFor details on these commands, including their arguments, return value formats, and examples, see https://locusmapsjs.readme.io/docs/commands
Note that all these commands are asynchronous, and return a promise. So use them with await or a then clause.
Examples:
const poi = await map.getPOIDetails(11);
console.log(`Got POI details for ${poi.name}.`);
Or
map.getPOIDetails(11).then(poi => console.log(`Got POI Details for ${poi.name}.`));
For example:
node main.js
© 2024 ACUITY BRANDS, INC. ALL RIGHTS RESERVED
FAQs
This project provides an API to Atrius Personal Wayfinder maps within a Node environment. See the README.md for more information
The npm package atriusmaps-node-sdk receives a total of 3,624 weekly downloads. As such, atriusmaps-node-sdk popularity was classified as popular.
We found that atriusmaps-node-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.

Research
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.