
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.
@springio/utils
Advanced tools
Javascript library with utilities for Spring documentation and websites.
<link rel="stylesheet" type="text/css" href="https://unpkg.com/@springio/utils/style.css" />
<script async src="https://unpkg.com/@springio/utils/index.js"></script>
Often used for switching code samples globally between different high level options (Java and Kotlin, Java and XML, YAML and Properties, etc.). If HTML is rendered with Asciidoctor then code snippets like this:
[source,xml,indent=0,role="primary"]
.Maven
----
<dependency>
<groupId>com.example</groupId>
<artifactId>some-library</artifactId>
<version>1.2.3</version>
</dependency>
----
[source,indent=0,role="secondary"]
.Gradle
----
compile 'com.example:some-library:1.2.3'
----
Then the HTML will be generated with "title" elements, like this:
<div class="content primary">
<div class="title">Maven</div>
<div class="content">
<pre>
<dependency>
<groupId>com.example</groupId>
<artifactId>some-library</artifactId>
<version>1.2.3</version>
</dependency>
</pre>
</div>
</div>
<div class="content secondary">
<div class="title">Gradle</div>
<div class="content">
<pre>
compile 'com.example:some-library:1.2.3'
</pre>
</div>
</div>
The script scans for this kind of structure and re-organizes it so that only one snippet is visible and the others are selectable by a click. It works for all blocks with "Maven|Gradle" choices in the whole document, on the assumption that the user only wants to select this once. It's a bit like classic navigation tabs, but applied to the whole content, not just navigation.
This library is published in NPMJS (following instructions here). That's how the unpkg.com links work above:
$ npm login
$ npm publish --access public
FAQs
Utilities for Spring documentation and websites
The npm package @springio/utils receives a total of 9 weekly downloads. As such, @springio/utils popularity was classified as not popular.
We found that @springio/utils 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.

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.