
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
curve-utils
Advanced tools
npm install curve-utils --save
<script src="js/curveUtils.js"></script>
curve functions.you can get the little step of the given path,so you can draw the animated curve. 贝塞尔曲线函数,画贝塞尔曲线动画
inputString: "M0 0L100 0";
inputArray: [
["M", 0, 0],
["L", 100, 0]
];
path2Curve
: format the path to curve.path2Curve(path: inputContent): inputArray;
getTotalLength
: get total length of the curvegetTotalLength(path: inputContent): number;
getPointAtLength
: get point at the given length along the given pathgetPointAtLength(path: inputContent, length: number): {
x: number;
y: number;
};
getSubpathsAtLength
:get the subpath of a given path at the given range[0,1];getSubpathsAtLength(path: string|CurveObject[], ratio: number,justStart:boolean);
justStart:true; returns {start:string like "M0 0 C0 0 100 0 100 0",end:""}
justStart:false; returns string like "M0 0 C0 0 100 0 100 0"
let mat = martix | new Martix(1, 0, 0, 1, 0, 0);
FAQs
## Installation
The npm package curve-utils receives a total of 1 weekly downloads. As such, curve-utils popularity was classified as not popular.
We found that curve-utils 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.