
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@nrk/innlogging-dev
Advanced tools
A Connect-based middleware for authenticating test users in a local development environment.
npm install @nrk/innlogging-dev
It can be used as follows:
import { loginDev } from '@nrk/innlogging-dev/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [
loginDev({
clientId: '<CLIENT_ID>',
clientSecret: '<CLIENT_SECRET>',
issuer: '<ISSUER>',
}),
],
});
import connect from 'connect';
import { loginDevConnect } from '@nrk/innlogging-dev/connect';
const app = connect();
app.use(
'/_auth/web',
loginDevConnect({
clientId: '<CLIENT_ID>',
clientSecret: '<CLIENT_SECRET>',
issuer: '<ISSUER>',
})
);
app.listen(3000);
Both loginDev and loginDevConnect accept these additional options:
scopes — string[] of additional OAuth scopes to request alongside the defaults (openid, profile, email).testUsers — override the built-in list of selectable test users. Each entry needs { name, username, password }. When omitted, a set of NRK test accounts is used.loginDev({
clientId: '<CLIENT_ID>',
clientSecret: '<CLIENT_SECRET>',
issuer: '<ISSUER>',
testUsers: [
{
name: 'alice',
username: 'alice@example.test',
password: 'hunter2',
},
],
});
FAQs
Unknown package
We found that @nrk/innlogging-dev demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 200 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
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.