
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.
applinks-metatag
Advanced tools
Express JS AppLinks injection middleware
##Installation
npm install --save applinks-metatag
##Usage
var express = require('express');
var AppLinks = require('applinks-metatag');
var app = Express();
app.use(AppLinks([{
platform: "ios",
url: "myApp://",
app_name: "My Awesome app"
}, {
platform: "android",
url: "myApp://",
package: "com.example.awesomeapp"
}]));
That will inject in all your pages :
<head>
...
<meta property="al:ios">
<meta property="al:ios:url" content="myApp://">
<meta property="al:ios:app_name" content="My Awesome app">
<meta property="al:android">
<meta property="al:android:url" content="myApp://">
<meta property="al:android:package" content="com.example.awesomeapp">
</head>
Or you can use at page scope:
app.get("/home", AppLinks([{
platform: "ios",
url: "myApp://",
app_name: "My Awesome app"
}], function(req, res){
res.render("home.ejs");
});
Or Based on request parameters:
app.get("/profile/:profile_id", AppLinks(function(req, res){
return {
platform: "ios",
url: "myApp://profile/"+req.params.profile_id,
app_name: "My Awesome app"
},
}),function(req, res){
res.render('profile.ejs');
})
FAQs
ExpressJS AppLinks injection
The npm package applinks-metatag receives a total of 1 weekly downloads. As such, applinks-metatag popularity was classified as not popular.
We found that applinks-metatag 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.