
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
viaf-entity-lookup
Advanced tools

Finds entities (people, places, organizations, titles) in VIAF. Meant to be used with cwrc-public-entity-dialogs where it runs in the browser.
Although it will not work in node.js as-is, it does use the Fetch API for http requests, and so could likely therefore use a browser/node.js compatible fetch implementation like: isomorphic-fetch.
npm i viaf-entity-lookup -S
import viafLookup from 'viaf-entity-lookup';
where the 'query' argument is an object:
{
entity: "The name of the thing the user wants to find.";
options: "TBD";
}
and all find methods return promises that resolve to an object like the following:
{
"id": "http://viaf.org/viaf/9447148209321300460003/",
"name": "Fay Jones School of Architecture and Design",
"nameType": "Corporate",
"originalQueryString": "jones",
"repository": "VIAF",
"uri": "http://viaf.org/viaf/9447148209321300460003/",
"uriForDisplay": "https://viaf.org/viaf/9447148209321300460003/"
}
There are a further four methods that are mainly made available to facilitate testing (to make it easier to mock calls to the VIAF service):
where the 'query' argument is the entity name to find and the methods return the VIAF URL that in turn returns results for the query.
CWRC-Writer-Dev-Docs describes general development practices for CWRC-Writer GitHub repositories, including this one.
We use fetch-mock to mock http calls (which we make using the Fetch API rather than XMLHttpRequest).
We use Travis.
We follow SemVer, which Semantic Release makes easy. Semantic Release also writes our commit messages, sets the version number, publishes to NPM, and finally generates a changelog and a release (including a git tag) on GitHub.
FAQs
Find entities (people, places, organizations) in VIAF.
The npm package viaf-entity-lookup receives a total of 2 weekly downloads. As such, viaf-entity-lookup popularity was classified as not popular.
We found that viaf-entity-lookup demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.