Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@line/liff-common-profile-plugin
Advanced tools
A LIFF Plugin to get and auto-fill forms _common profile data_ from Account Center.
A LIFF Plugin to get and auto-fill forms common profile data from Account Center.
CDN versions of packages is hosted in TBD and can be imported using the script tag as shown below.
index.html
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/src/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="TBD"></script>
<title>LIFF App</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/index.js"></script>
</body>
</html>
The package is then defined in the global object with the name liffCommonProfile
.
So you can use the package as a LIFF Plugin as follows in the js/ts file.
index.js
liff.use(new liffCommonProfile.LiffCommonProfilePlugin());
await liff.init({ liffId: "xxx" });
const profile = await liff.$commonProfile.get();
liff.$commonProfile.fill(profile);
npm install @line/liff-common-profile-plugin
import { LiffCommonProfilePlugin } from "@line/liff-common-profile-plugin";
liff.use(new LiffCommonProfilePlugin());
await liff.init({ liffId: "xxx" });
const profile = await liff.$commonProfile.get();
liff.$commonProfile.fill(profile);
FAQs
A LIFF Plugin to get and auto-fill forms _common profile data_ from Account Center.
The npm package @line/liff-common-profile-plugin receives a total of 6 weekly downloads. As such, @line/liff-common-profile-plugin popularity was classified as not popular.
We found that @line/liff-common-profile-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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 threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.