Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
mvcct-odata
Advanced tools
mvcct-odata is a alightweight JavaScript OData client. It supports just queries, with filter or free search, sorting, and gtouping+aggregation.
Queries are represented as nested objects with JavasCript methods to get their corresponding OData string representation. This way queries are easily built and modified by adding, removing substituting and editing plain JavaScript objects.
OData objects with all they methods can be easily extracted from their Json representations, so queries can be easily exchanged with the server and stored in all browser storage types (cookies, local storage, etc.).
Json representation is compatible with the query representation of the MvcControlsToolkit.Core.OData Asp.net core package.
Filter conditions may contain main entity properties and properties of entities directly or indirectly connected with the main entity through a chain of one-to-one or many-to-one relations.
Conditions may be nested not/and/or combinations of "leaf conditions" containing a relation between a property and a constant. The following relations are supported:
,<, >=, <=, ==, !=, startsWith, endsWith, contains.
No limitation.
Any sorting involving main entity properties and properties of entities directly or indirectly connected with the main entity through a chain of one-to-one or many-to-one relations is supported.
The library supports grouping of the type (see here for more infos on OData aggregations):
apply=groupby((properti1, property2, ...),
aggregate(aproperty1 with <operator1> as res1, aproperty2 with <operator2> as res2,...))
Where:
The distribution contains .js and TypeScript declaration files (d.ts) for three environments, namely:
Queries are prepared by building an object tree rooted in a QueryDescription
instance. Then one may call QueryDescription methods like toString()
to get the whole ODATA compatible Url of the server request, or toQuery
that returns a funtion from an array to a an array that executes the query on the JavaScript input array.
Under construction
Under construction
Under construction
Under construction
Under construction
FAQs
JavaScript OData client
The npm package mvcct-odata receives a total of 24 weekly downloads. As such, mvcct-odata popularity was classified as not popular.
We found that mvcct-odata 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.