Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@nrfcloud/models
Advanced tools
Contains model definitions for the REST API.
Install dependencies
npm i
Run the tests
npm test
All entities require a 'context' which explicitly types their JSON representation. The version is used to express schema changes per entity. This is inspired by JSON-LD.
Describes entry points of an API.
{
"__context": "https://github.com/nRFCloud/models#ApiIndex",
"__contextVersion": 1,
"links": [
{
"__context": "https://github.com/nRFCloud/models#Link",
"__contextVersion": 1,
"href": "https://foo.iot.us-east-1.amazonaws.com",
"subject": "https://aws.amazon.com/iot-platform/",
"rel": "production"
},
{
"__context": "https://github.com/nRFCloud/models#Link",
"__contextVersion": 1,
"href": "https://bar.execute-api.us-east-1.amazonaws.com/prod",
"subject": "https://nrfcloud.com/",
"rel": "production"
}
]
}
JSON Schema: ApiIndex.schema.json
Source: ApiIndex.ts
Describes a link.
{
"__context": "https://github.com/nRFCloud/models#Link",
"__contextVersion": 1,
"href": "https://api.nrfcloud.com/stage/custom-cards/foo/some-id",
"subject": "https://github.com/nRFCloud/models#CustomCard",
"rel": "next"
}
JSON Schema: Link.schema.json
Source: Link.ts
Describes the status of the system.
{
"__context": "https://github.com/nRFCloud/models#Link",
"__contextVersion": 1,
"maintenance": false,
"version": "1.0.0-beta.1",
"time: "2017-10-02T11:05:46.793Z"
}
JSON Schema: Link.schema.json
Source: Link.ts
FAQs
Contains model definitions for the REST API
The npm package @nrfcloud/models receives a total of 58 weekly downloads. As such, @nrfcloud/models popularity was classified as not popular.
We found that @nrfcloud/models 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
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.