
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@technote-space/filter-github-action
Advanced tools
Read this in other languages: English, 日本語.
Helper to filter GitHub Actions.
npm i @technote-space/filter-github-action
import { Context } from '@actions/github/lib/context';
import { context } from '@actions/github';
import { isTargetEvent, isTargetLabels } from '@technote-space/filter-github-action';
console.log( isTargetEvent( {
'release': [
// or
'published',
'rerequested',
],
'push': [
// use context
(context: Context): boolean => /^refs\/tags\//.test(context.ref),
'rerequested',
],
'pull_request': [
// or
[
// and
(context: Context): boolean => /^refs\/tags\//.test(context.ref),
'rerequested',
],
],
// wildcard
'project_card': '*',
}, context ) );
const includes = ['label1', 'label2'];
const excludes = ['label3', 'label4'];
console.log( isTargetLabels( includes, excludes, context ) );
eventName | action | ref | result |
---|---|---|---|
release | published | * | true |
release | rerequested | * | true |
release | created | * | false |
push | * | refs/tags/v1.2.3 | true |
push | * | refs/heads/v1.2.3 | false |
push | rerequested | * | true |
pull_request | rerequested | refs/tags/v1.2.3 | true |
pull_request | created | refs/tags/v1.2.3 | false |
pull_request | rerequested | refs/heads/v1.2.3 | false |
project_card | * | * | true |
label | * | * | false |
eventName | context labels | includes | excludes | result |
---|---|---|---|---|
issues | --- | --- | --- | true |
pull_request | --- | --- | --- | true |
push | --- | --- | --- | true |
issues | label1 | --- | --- | true |
issues | --- | label1 | --- | false |
issues | label1 | label1 | --- | true |
issues | label1, label2 | label1 | --- | true |
issues | label1 | label1, label2 | --- | true |
issues | --- | --- | label1 | true |
issues | label1 | --- | label1 | false |
issues | label1, label2 | label1 | label2 | false |
issues | label1, label2 | label1 | label3 | true |
with:
IGNORE_CONTEXT_CHECK: 1
FAQs
Helper to filter GitHub Action.
We found that @technote-space/filter-github-action 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.