
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
next-tinacms-github
Advanced tools
This package provides helpers for managing the github auth token on the server. When used with Next.js in the `pages/api` directory, these functions are mapped to `/api/*` endpoints.
This package provides helpers for managing the github auth token on the server.
When used with Next.js in the pages/api
directory, these functions are mapped to /api/*
endpoints.
createCreateAccessTokenFn
Helper for creating a createCreateAccessToken server function.
// pages/api/create-github-access-token.ts
import { createCreateAccessTokenFn } from 'next-tinacms-github'
export default createCreateAccessTokenFn(
process.env.GITHUB_CLIENT_ID,
process.env.GITHUB_CLIENT_SECRET
)
createProxy
Helper for creating a proxy which attaches this Github access token to the request
// pages/api/proxy-github.ts
import { createProxy } from 'next-tinacms-github'
import { GITHUB_ACCESS_TOKEN_COOKIE_KEY } from './constants'
export default createProxy(GITHUB_ACCESS_TOKEN_COOKIE_KEY)
createPreviewFn
Helper for creating a preview function which will set the preview data from Github cookies
// pages/api/preview.ts
import { createPreviewFn } from 'next-tinacms-github'
export default createPreviewFn(
'fork_full_name',
'head_branch',
'github_access_token'
)
FAQs
Unknown package
The npm package next-tinacms-github receives a total of 24 weekly downloads. As such, next-tinacms-github popularity was classified as not popular.
We found that next-tinacms-github demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.