
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
trifid-handler-fetch
Advanced tools
This Trifid plugin exposes an endpoint where you can perform SPARQL queries against a dataset which is loaded from a URL.
The URL can be a local file or a remote resource.
At the start of the server, the dataset is loaded from the URL and stored in memory, using Oxigraph. The dataset is not updated automatically when the resource changes.
Add the trifid-handler-fetch package to your dependencies:
npm install trifid-handler-fetch
And update the Trifid configuration to something similar as shown in the example below.
This example config uses The Big Bang Theory dataset:
plugins:
# […]
handler-fetch:
module: "trifid-handler-fetch"
paths: /query
config:
url: https://raw.githubusercontent.com/zazuko/tbbt-ld/master/dist/tbbt.nt
contentType: application/n-triples
baseIRI: http://example.com
graphName: http://example.com/graph
url: URL to the resource which contains the datasetcontentType: the format of the serialization. See below for the supported formats.baseIRI: the base IRI to use to resolve the relative IRIs in the serialization.graphName: for triple serialization formats, the name of the named graph the triple should be loaded to.unionDefaultGraph: for triple serialization formats, if the triples should be loaded to the default graph or to the named graph specified in graphName. This impacts also the need or not to query a specific graph in SPARQL queries. Defaults to false.queryLogLevel: the log level for the queries. Defaults to debug.Supported formats:
FAQs
Fetch handler for Trifid
We found that trifid-handler-fetch demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.